--- layout: documentation title: 'Source/Urho3D/AngelScript/Script.h File Reference' group: HEAD ---
{% comment %}{% endcomment %}
Classes | Enumerations | Functions | Variables
Script.h File Reference
#include "../Core/Mutex.h"
#include "../Core/Object.h"

Classes

class  Urho3D::Script
 Scripting subsystem. Allows execution of AngelScript. More...
 

Enumerations

enum  Urho3D::DumpMode { DOXYGEN = 0, C_HEADER, MAX_DUMP_MODES }
 Output mode for DumpAPI method.
 

Functions

void Urho3D::RegisterScriptLibrary (Context *context)
 Register Script library objects.
 

Variables

const char * Urho3D::LOGIC_CATEGORY = "Logic"
 
Urho3D::RemoteEvent::inOrder_
bool inOrder_
In order flag.
Definition: Connection.h:64
Urho3D::ScriptInstance::GetScriptAttributes
void GetScriptAttributes()
Check for script attributes.
Definition: ScriptInstance.cpp:632
Urho3D::Text3D::SetHorizontalAlignment
void SetHorizontalAlignment(HorizontalAlignment align)
Set horizontal alignment.
Definition: Text3D.cpp:240
Urho3D::ResourceCache::GetMemoryBudget
unsigned long long GetMemoryBudget(StringHash type) const
Return memory budget for a resource type.
Definition: ResourceCache.cpp:765
Urho3D::CrowdAgent::GetDesiredVelocity
Vector3 GetDesiredVelocity() const
Return the agent's desired velocity.
Definition: CrowdAgent.cpp:479
Urho3D::Graphics::ClearParameterSource
void ClearParameterSource(ShaderParameterGroup group)
Clear remembered shader parameter source group.
Definition: OGLGraphics.cpp:1472
Urho3D::TmxLayer2D::GetType
TileMapLayerType2D GetType() const
Return type.
Definition: TmxFile2D.h:48
Urho3D::Rect
Two-dimensional bounding rectangle.
Definition: Rect.h:31
Urho3D::RenderTargetInfo::filtered_
bool filtered_
Filtering flag.
Definition: RenderPath.h:92
Urho3D::UI::ConvertSystemToUI
IntVector2 ConvertSystemToUI(const IntVector2 &systemPos) const
Convert system mouse position (or offset) to scaled UI position (or offset).
Definition: UI.cpp:852
Urho3D::RenderPathCommand
Rendering path command.
Definition: RenderPath.h:100
Urho3D::Node::GetNetPositionAttr
const Vector3 & GetNetPositionAttr() const
Return network position attribute.
Definition: Node.cpp:1512
Urho3D::AnimationControl::targetWeight_
float targetWeight_
Animation target weight.
Definition: AnimationController.h:62
Urho3D::Texture2DArray::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Texture2DArray.cpp:61
Urho3D::Sound::IsCompressed
bool IsCompressed() const
Return whether is compressed.
Definition: Sound.h:106
Urho3D::TmxFile2D::TmxFile2D
TmxFile2D(Context *context)
Construct.
Definition: TmxFile2D.cpp:376
Urho3D::DirtyBits::ClearAll
void ClearAll()
Clear all bits.
Definition: ReplicationState.h:92
Urho3D::DropDownList::SetResizePopup
void SetResizePopup(bool enable)
Set whether popup should be automatically resized to match the dropdown button width.
Definition: DropDownList.cpp:193
Urho3D::CustomVariantValue::GetValuePtr
T * GetValuePtr()
Return pointer to value of the specified type. Return null pointer if type does not match.
Definition: Variant.h:1551
Urho3D::ParticleEffect::GetAnimationLodBias
float GetAnimationLodBias() const
Return animation Lod bias.
Definition: ParticleEffect.h:248
Urho3D::Text::rowHeight_
float rowHeight_
Row height.
Definition: Text.h:251
Urho3D::Controls::~Controls
~Controls()
Destruct.
Urho3D::Graphics::GetHardwareShadowSupport
bool GetHardwareShadowSupport() const
Return whether shadow map depth compare is done in hardware.
Definition: Graphics.h:429
Urho3D::String::AppendWithFormat
String & AppendWithFormat(const char *formatString,...)
Append to string using formatting.
Definition: Str.cpp:1078
Urho3D::ScriptFile::AddEventHandler
void AddEventHandler(StringHash eventType, const String &handlerName) override
Add a scripted event handler.
Definition: ScriptFile.cpp:190
Urho3D::Scene::threadedUpdate_
bool threadedUpdate_
Threaded update flag.
Definition: Scene.h:338
Urho3D::CollisionEventMode
CollisionEventMode
Rigid body collision event signaling mode.
Definition: RigidBody.h:44
Urho3D::TmxLayer2D::LoadPropertySet
void LoadPropertySet(const XMLElement &element)
Load property set.
Definition: TmxFile2D.cpp:80
Urho3D::AnimationController::Stop
bool Stop(const String &name, float fadeOutTime=0.0f)
Stop an animation. Zero fadetime is instant. Return true on success.
Definition: AnimationController.cpp:208
Urho3D::StoredLogMessage::error_
bool error_
Error flag for raw messages.
Definition: Log.h:69
Urho3D::View::scene_
Scene * scene_
Scene to use.
Definition: View.h:316
Urho3D::DD_DISABLED
@ DD_DISABLED
Drag and drop disabled.
Definition: UIElement.h:107
Urho3D::DecalSet::bones_
Vector< Bone > bones_
Bones used for skinned decals.
Definition: DecalSet.h:227
Urho3D::DropDownList::GetListView
ListView * GetListView() const
Return listview element.
Definition: DropDownList.h:85
Urho3D::SmoothingType
SmoothingType
Definition: SmoothedTransform.h:32
Urho3D::AnimationState::GetModel
AnimatedModel * GetModel() const
Return animated model this state belongs to (model mode).
Definition: AnimationState.cpp:374
Urho3D::Graphics::GetRGFloat32Format
static unsigned GetRGFloat32Format()
Return the API-specific RG 32-bit float texture format.
Definition: OGLGraphics.cpp:2634
Urho3D::ConstraintWeld2D::GetDampingRatio
float GetDampingRatio() const
Return damping ratio.
Definition: ConstraintWeld2D.h:57
Urho3D::Terrain::lightMask_
unsigned lightMask_
Light mask.
Definition: Terrain.h:303
Urho3D::JSONValue::IsObject
bool IsObject() const
Check is object.
Definition: JSONValue.h:189
Urho3D::LuaFile::size_
unsigned size_
File size.
Definition: LuaFile.h:58
Urho3D::ParticleEmitter::sendFinishedEvent_
bool sendFinishedEvent_
Ready to send effect finish event flag.
Definition: ParticleEmitter.h:152
Urho3D::Scene::BeginThreadedUpdate
void BeginThreadedUpdate()
Begin a threaded update. During threaded update components can choose to delay dirty processing.
Definition: Scene.cpp:812
Urho3D::ScrollBar::upRect_
IntRect upRect_
Up button image rect.
Definition: ScrollBar.h:116
Urho3D::Bone::animated_
bool animated_
Animation enable flag.
Definition: Skeleton.h:74
Urho3D::Scene::checksum_
unsigned checksum_
Scene source file checksum.
Definition: Scene.h:322
Urho3D::HashMap::ConstIterator
Hash map node const iterator.
Definition: HashMap.h:156
Urho3D::Animation::SetNumTriggers
void SetNumTriggers(unsigned num)
Resize trigger point vector.
Definition: Animation.cpp:369
Urho3D::RenderPathCommand::GetOutputName
const String & GetOutputName(unsigned index) const
Return output rendertarget name.
Definition: RenderPath.cpp:299
Urho3D::Vector::Empty
bool Empty() const
Return whether vector is empty.
Definition: Vector.h:538
Urho3D::CollisionCircle2D::CollisionCircle2D
CollisionCircle2D(Context *context)
Construct.
Definition: CollisionCircle2D.cpp:37
Urho3D::Terrain::GetSourceHeight
float GetSourceHeight(int x, int z) const
Return a source terrain height value, clamping to edges. The source data is used for smoothing.
Definition: Terrain.cpp:1307
Urho3D::Renderer::SetVSMMultiSample
void SetVSMMultiSample(int multiSample)
Set VSM shadow map multisampling level. Default 1 (no multisampling).
Definition: Renderer.cpp:425
Urho3D::ParticleEffect::SetMaxParticleSize
void SetMaxParticleSize(const Vector2 &size)
Set particle maximum size.
Definition: ParticleEffect.cpp:535
Urho3D::RibbonTrail::width_
float width_
Width of trail.
Definition: RibbonTrail.h:219
Urho3D::File::readBufferOffset_
unsigned readBufferOffset_
Read buffer position.
Definition: File.h:135
Urho3D::Terrain::SetCastShadows
void SetCastShadows(bool enable)
Set shadowcaster flag for patches.
Definition: Terrain.cpp:476
Urho3D::Renderer::GetMaxOccluderTriangles
int GetMaxOccluderTriangles() const
Return maximum number of occluder triangles.
Definition: Renderer.h:322
Urho3D::Light::GetEffectiveColor
Color GetEffectiveColor() const
Return effective color, multiplied by brightness and affected by temperature when "use physical value...
Definition: Light.cpp:439
Urho3D::AbsMod
T AbsMod(T x, T y)
Return always positive remainder of X/Y.
Definition: MathDefs.h:178
Urho3D::GPUObject::HasPendingData
bool HasPendingData() const
Return whether has pending data assigned while graphics context was lost.
Definition: GPUObject.h:69
Urho3D::PListValue::GetBool
bool GetBool() const
Return boolean.
Definition: PListFile.cpp:197
Urho3D::IndexBuffer::shadowData_
SharedArrayPtr< unsigned char > shadowData_
Shadow data.
Definition: IndexBuffer.h:99
Urho3D::Graphics::Close
void Close()
Close the window.
Definition: OGLGraphics.cpp:548
Urho3D::IKEffector
Definition: IKEffector.h:36
Urho3D::LinkedList::Last
T * Last() const
Return last element, or null if empty.
Definition: LinkedList.h:172
Urho3D::ConstraintRevolute2D::SetUpperAngle
void SetUpperAngle(float upperAngle)
Set upper angle.
Definition: ConstraintRevolute2D.cpp:101
Urho3D::Texture::backupTexture_
SharedPtr< Texture > backupTexture_
Backup texture.
Definition: Texture.h:247
Urho3D::AreaAllocator::size_
IntVector2 size_
Current size.
Definition: AreaAllocator.h:64
Urho3D::Vector2::ONE
static const Vector2 ONE
(1,1) vector.
Definition: Vector2.h:389
Urho3D::RefCount::RefCount
RefCount()
Construct.
Definition: RefCounted.h:38
Urho3D::Renderer::textureAnisotropy_
int textureAnisotropy_
Texture anisotropy level.
Definition: Renderer.h:538
Urho3D::Node::RemoveAllChildren
void RemoveAllChildren()
Remove all child scene nodes.
Definition: Node.cpp:881
Urho3D::WorkQueue::maxNonThreadedWorkMs_
int maxNonThreadedWorkMs_
Maximum milliseconds per frame to spend on low-priority work, when there are no worker threads.
Definition: WorkQueue.h:152
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23) noexcept
Construct from values.
Definition: Matrix3x4.h:107
Urho3D::Vector4::w_
float w_
W coordinate.
Definition: Vector4.h:231
Urho3D::GPUObject::Release
virtual void Release()
Unconditionally release the GPU resource.
Definition: GPUObject.cpp:64
Urho3D::StaticModel
Static model component.
Definition: StaticModel.h:42
Urho3D::Variant::IsCustom
bool IsCustom() const
Return true when the variant stores custom type.
Definition: Variant.h:1342
Urho3D::ResourceRef
Typed resource reference.
Definition: Variant.h:89
Urho3D::AnimatedModel::animationLodBias_
float animationLodBias_
Animation LOD bias.
Definition: AnimatedModel.h:237
Urho3D::Deserializer::ReadNetID
unsigned ReadNetID()
Read a 24-bit network object ID.
Definition: Deserializer.cpp:453
Urho3D::Zone::SetAmbientColor
void SetAmbientColor(const Color &color)
Set ambient color.
Definition: Zone.cpp:106
Urho3D::TouchState::position_
IntVector2 position_
Position in screen coordinates.
Definition: Input.h:65
Urho3D::ParticleEmitter::GetSerializeParticles
bool GetSerializeParticles() const
Return whether particles are to be serialized.
Definition: ParticleEmitter.h:100
Urho3D::Script::objectTypes_
HashMap< const char *, asITypeInfo * > objectTypes_
Search cache for inbuilt object types.
Definition: Script.h:139
Urho3D::ResourceWithMetadata::metadataKeys_
StringVector metadataKeys_
Animation metadata keys.
Definition: Resource.h:147
Urho3D::Skybox::lastFrame_
unsigned lastFrame_
Last frame counter for knowing when to erase the custom world transforms of previous frame.
Definition: Skybox.h:55
Urho3D::BillboardSet::attrBuffer_
VectorBuffer attrBuffer_
Attribute buffer for network replication.
Definition: BillboardSet.h:209
Urho3D::IntRect::Height
int Height() const
Return height.
Definition: Rect.h:406
Urho3D::FileSystem::HandleConsoleCommand
void HandleConsoleCommand(StringHash eventType, VariantMap &eventData)
Handle a console command event.
Definition: FileSystem.cpp:927
Urho3D::Cursor
Mouse cursor UI element.
Definition: Cursor.h:94
Urho3D::SMOOTH_NONE
@ SMOOTH_NONE
No ongoing smoothing.
Definition: SmoothedTransform.h:35
Urho3D::Scene::UnregisterVar
void UnregisterVar(const String &name)
Unregister a node user variable hash reverse mapping.
Definition: Scene.cpp:696
Urho3D::PODVector::Pop
void Pop()
Remove the last element.
Definition: Vector.h:861
Urho3D::Connection::controls_
Controls controls_
Current controls.
Definition: Connection.h:250
Urho3D::BoundingBox::BoundingBox
BoundingBox(const Polyhedron &poly)
Construct from a polyhedron.
Definition: BoundingBox.h:106
Urho3D::ShaderVariation::type_
ShaderType type_
Shader type.
Definition: ShaderVariation.h:158
Urho3D::CScriptArray
Script array class.
Definition: Addons.h:46
Urho3D::TextureCube::renderSurfaces_
SharedPtr< RenderSurface > renderSurfaces_[MAX_CUBEMAP_FACES]
Render surfaces.
Definition: TextureCube.h:85
Urho3D::VariantType
VariantType
Variant's supported types.
Definition: Variant.h:41
Urho3D::Sprite::SetTexture
void SetTexture(Texture *texture)
Set texture.
Definition: Sprite.cpp:194
Urho3D::MouseMode
MouseMode
Input Mouse Modes.
Definition: Input.h:39
Urho3D::CollisionShape2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionShape2D.cpp:54
Urho3D::Vector2::Vector2
Vector2(float x, float y) noexcept
Construct from coordinates.
Definition: Vector2.h:196
Urho3D::Graphics::SetDefaultWindowModes
bool SetDefaultWindowModes(int width, int height, const ScreenModeParams &params)
Set default window modes. Return true if successful.
Definition: Graphics.cpp:118
Urho3D::Engine::SetMinFps
void SetMinFps(int fps)
Set minimum frames per second. If FPS goes lower than this, time will appear to slow down.
Definition: Engine.cpp:563
Urho3D::TileMapInfo2D::GetMapWidth
float GetMapWidth() const
Return map width.
Definition: TileMapDefs2D.cpp:35
Urho3D::IKEffector::SetTargetNode
void SetTargetNode(Node *targetNode)
The position of the target node provides the target position of the effector node.
Definition: IKEffector.cpp:84
Urho3D::Text::stringId_
String stringId_
Localization string id storage. Used when autoLocalizable flag is set.
Definition: Text.h:267
Urho3D::Octree::octreeMutex_
Mutex octreeMutex_
Mutex for octree reinsertions.
Definition: Octree.h:212
Urho3D::ListNodeBase::prev_
ListNodeBase * prev_
Previous node.
Definition: ListBase.h:48
Urho3D::RigidBody::GetCollisionLayer
unsigned GetCollisionLayer() const
Return collision layer.
Definition: RigidBody.h:220
Urho3D::OcclusionBuffer::batches_
PODVector< OcclusionBatch > batches_
Submitted render jobs.
Definition: OcclusionBuffer.h:187
Urho3D::NamedPipe
Named pipe for interprocess communication.
Definition: NamedPipe.h:37
Urho3D::Rect::Rect
Rect(const Vector4 &vector) noexcept
Construct from a Vector4.
Definition: Rect.h:56
Urho3D::View::QuantizeDirLightShadowCamera
void QuantizeDirLightShadowCamera(Camera *shadowCamera, Light *light, const IntRect &shadowViewport, const BoundingBox &viewBox)
Quantize a directional light shadow camera view to eliminate swimming.
Definition: View.cpp:2729
Urho3D::LightQueryResult::shadowCasterBox_
BoundingBox shadowCasterBox_[MAX_LIGHT_SPLITS]
Combined bounding box of shadow casters in light projection space. Only used for focused spot lights.
Definition: View.h:70
Urho3D::Drawable2D::UpdateSourceBatches
virtual void UpdateSourceBatches()=0
Update source batches.
Urho3D::Drawable::occludee_
bool occludee_
Occludee flag.
Definition: Drawable.h:343
Urho3D::GraphicsImpl::vertexAttributes_
const HashMap< Pair< unsigned char, unsigned char >, unsigned > * vertexAttributes_
Current mapping of vertex attribute locations by semantic. The map is owned by the shader program,...
Definition: OGLGraphicsImpl.h:124
Urho3D::BiasParameters::constantBias_
float constantBias_
Constant bias.
Definition: Light.h:73
Urho3D::DropDownList::GetResizePopup
bool GetResizePopup() const
Return whether popup should be automatically resized.
Definition: DropDownList.h:94
Urho3D::DynamicNavigationMesh::GetMaxLayers
unsigned GetMaxLayers() const
Return the maximum number of layers permitted to build.
Definition: DynamicNavigationMesh.h:93
Urho3D::XMLElement::HasAttribute
bool HasAttribute(const String &name) const
Return whether has an attribute.
Definition: XMLElement.cpp:666
Urho3D::TmxObjectGroup2D::objects_
Vector< SharedPtr< TileMapObject2D > > objects_
Objects.
Definition: TmxFile2D.h:126
Urho3D::Window::SetCursorShape
void SetCursorShape(WindowDragMode mode, Cursor *cursor) const
Set cursor shape based on drag mode.
Definition: Window.cpp:369
Urho3D::Terrain::sourceHeightData_
SharedArrayPtr< float > sourceHeightData_
Source height data for smoothing.
Definition: Terrain.h:251
Urho3D::IKSolver::MarkTreeNeedsRebuild
void MarkTreeNeedsRebuild()
Indicates that the tree structure has changed in some way and needs updating (nodes added or removed,...
Definition: IKSolver.cpp:495
Urho3D::HashSet::ConstIterator::operator++
ConstIterator & operator++()
Preincrement the pointer.
Definition: HashSet.h:138
Urho3D::WeakArrayPtr::operator<
bool operator<(const WeakArrayPtr< T > &rhs) const
Test for less than with another weak array pointer.
Definition: ArrayPtr.h:340
Urho3D::Vector2::RIGHT
static const Vector2 RIGHT
(1,0) vector.
Definition: Vector2.h:383
Urho3D::Text::GetEffectShadowOffset
const IntVector2 & GetEffectShadowOffset() const
Return effect shadow offset.
Definition: Text.h:160
Urho3D::Material::BeginLoadXML
bool BeginLoadXML(Deserializer &source)
Helper function for loading XML files.
Definition: Material.cpp:272
Urho3D::AnimationController::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: AnimationController.cpp:839
Urho3D::ParticleEmitter2D::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: ParticleEmitter2D.cpp:75
Urho3D::UIElement::GetHorizontalAlignment
HorizontalAlignment GetHorizontalAlignment() const
Return horizontal alignment. If pivot has been adjusted to a custom horizontal setting,...
Definition: UIElement.cpp:1495
Urho3D::RaycastVehicle::GetContactPosition
Vector3 GetContactPosition(int wheel) const
Get wheel contact position.
Definition: RaycastVehicle.cpp:529
Urho3D::AnimationTrack::channelMask_
AnimationChannelFlags channelMask_
Bitmask of included data (position, rotation, scale).
Definition: Animation.h:96
Urho3D::Octree::Octree
Octree(Context *context)
Construct.
Definition: Octree.cpp:311
Urho3D::UIElement::SetVisible
void SetVisible(bool enable)
Set whether is visible. Visibility propagates to child elements.
Definition: UIElement.cpp:957
Urho3D::Sprite::SetRotation
void SetRotation(float angle)
Set rotation angle.
Definition: Sprite.cpp:185
Urho3D::UIElement::GetNumChildren
unsigned GetNumChildren(bool recursive=false) const
Return number of child elements.
Definition: UIElement.cpp:1617
Urho3D::RenderPathCommand::textureNames_
String textureNames_[MAX_TEXTURE_UNITS]
Textures.
Definition: RenderPath.h:158
Urho3D::CollisionPolygon2D::GetVertexCount
unsigned GetVertexCount() const
Return vertex count.
Definition: CollisionPolygon2D.h:51
Urho3D::Octant::halfSize_
Vector3 halfSize_
World bounding box half size.
Definition: Octree.h:146
Urho3D::BatchQueue::psExtraDefinesHash_
StringHash psExtraDefinesHash_
Hash for pixel shader extra defines.
Definition: Batch.h:273
Urho3D::RigidBody2D::CreateBody
void CreateBody()
Create body.
Definition: RigidBody2D.cpp:365
Urho3D::WString::~WString
~WString()
Destruct.
Definition: Str.cpp:1275
Urho3D::Graphics::GetSize
IntVector2 GetSize() const
Return window size in pixels.
Definition: Graphics.h:357
Urho3D::Texture3D::loadParameters_
SharedPtr< XMLFile > loadParameters_
Parameter file acquired during BeginLoad.
Definition: Texture3D.h:75
Urho3D::Frustum::Projected
Rect Projected(const Matrix4 &projection) const
Return projected by a 4x4 projection matrix.
Definition: Frustum.cpp:209
Urho3D::Drawable::zoneDirty_
bool zoneDirty_
Zone inconclusive or dirtied flag.
Definition: Drawable.h:347
Urho3D::StaticSprite2D
Static sprite component.
Definition: StaticSprite2D.h:33
Urho3D::CustomGeometry::SetGeometryDataAttr
void SetGeometryDataAttr(const PODVector< unsigned char > &value)
Set geometry data attribute.
Definition: CustomGeometry.cpp:734
Urho3D::NavArea::GetBoundingBox
BoundingBox GetBoundingBox() const
Get the bounding box of this navigation area, in local space.
Definition: NavArea.h:53
Urho3D::ResourceRef::ResourceRef
ResourceRef(StringHash type, const String &name)
Construct with type and resource name.
Definition: Variant.h:101
Urho3D::Drawable::GetBoundingBox
const BoundingBox & GetBoundingBox() const
Return local space bounding box. May not be applicable or properly updated on all drawables.
Definition: Drawable.h:177
Urho3D::Input::SetToggleFullscreen
void SetToggleFullscreen(bool enable)
Set whether ALT-ENTER fullscreen toggle is enabled.
Definition: Input.cpp:928
Urho3D::Button::SetPressedOffset
void SetPressedOffset(const IntVector2 &offset)
Set offset to image rectangle used when pressed.
Definition: Button.cpp:157
Urho3D::Constraint::erp_
float erp_
Error reduction parameter.
Definition: Constraint.h:195
Urho3D::Vector::operator!=
bool operator!=(const Vector< T > &rhs) const
Test for inequality with another vector.
Definition: Vector.h:178
Urho3D::Quaternion::FromAngleAxis
void FromAngleAxis(float angle, const Vector3 &axis)
Define from an angle (in degrees) and axis.
Definition: Quaternion.cpp:36
Urho3D::Technique::Technique
Technique(Context *context)
Construct.
Definition: Technique.cpp:240
Urho3D::Console::HandleTextChanged
void HandleTextChanged(StringHash eventType, VariantMap &eventData)
Handle text change in the line edit.
Definition: Console.cpp:361
Urho3D::SoundSource::StopLockless
void StopLockless()
Stop sound without locking the audio mutex. Called internally.
Definition: SoundSource.cpp:576
Urho3D::Material::SetShaderParameterAnimationSpeed
void SetShaderParameterAnimationSpeed(const String &name, float speed)
Set shader parameter animation speed.
Definition: Material.cpp:1025
Urho3D::ParticleEffect2D::SetFinishParticleSizeVariance
void SetFinishParticleSizeVariance(float finishParticleSizeVariance)
Set finish particle size variance.
Definition: ParticleEffect2D.cpp:404
Urho3D::RenderSurface
Color or depth-stencil surface that can be rendered into.
Definition: RenderSurface.h:34
Urho3D::Spriter::SpriterInstance::animation_
Animation * animation_
Current animation.
Definition: SpriterInstance2D.h:99
Urho3D::Time::GetTimerPeriod
unsigned GetTimerPeriod() const
Return current low-resolution timer period in milliseconds.
Definition: Timer.h:102
Urho3D::Animation::GetAnimationNameHash
StringHash GetAnimationNameHash() const
Return animation name hash.
Definition: Animation.h:163
Urho3D::Variant::EMPTY
static const Variant EMPTY
Empty variant.
Definition: Variant.h:1381
Urho3D::Input::mouseGrabbed_
bool mouseGrabbed_
Flag to indicate the mouse is being grabbed by an operation. Subsystems like UI that uses mouse shoul...
Definition: Input.h:406
Urho3D::SplinePath::GetControlledIdAttr
unsigned GetControlledIdAttr() const
Get Controlled Node ID attribute.
Definition: SplinePath.h:111
Urho3D::UIElement::IsChildOf
bool IsChildOf(UIElement *element) const
Return whether is a direct or indirect child of specified element.
Definition: UIElement.cpp:1547
Urho3D::Material::UpdateEventSubscription
void UpdateEventSubscription()
Update whether should be subscribed to scene or global update events for shader parameter animation.
Definition: Material.cpp:1322
Urho3D::UIElement::GetDragButtonCount
unsigned GetDragButtonCount() const
Return the number of buttons dragging this element.
Definition: UIElement.h:607
Urho3D::Zone::lastAmbientStartZone_
WeakPtr< Zone > lastAmbientStartZone_
Last zone used for ambient gradient start color.
Definition: Zone.h:168
Urho3D::Scene::smoothingData_
VariantMap smoothingData_
Preallocated event data map for smoothing update events.
Definition: Scene.h:312
Urho3D::Input::GetMouseMode
MouseMode GetMouseMode() const
Return the mouse mode.
Definition: Input.h:295
Urho3D::ScrollBar::leftRect_
IntRect leftRect_
Left button image rect.
Definition: ScrollBar.h:112
Urho3D::CrowdAgent::SetTargetPosition
void SetTargetPosition(const Vector3 &position)
Submit a new target position request for this agent.
Definition: CrowdAgent.cpp:326
Urho3D::Scene::PrepareNetworkUpdate
void PrepareNetworkUpdate()
Prepare network update by comparing attributes and marking replication states dirty as necessary.
Definition: Scene.cpp:1091
Urho3D::TerrainPatch::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: TerrainPatch.cpp:209
Urho3D::UniquePtr::Get
T * Get() const
Return the raw pointer.
Definition: Ptr.h:649
Urho3D::Geometry::IsEmpty
bool IsEmpty() const
Return whether has empty draw range.
Definition: Geometry.h:113
Urho3D::StaticSprite2D::drawRect_
Rect drawRect_
Draw rectangle.
Definition: StaticSprite2D.h:164
Urho3D::DelayedCall::delay_
float delay_
Delay time remaining until execution.
Definition: ScriptEventListener.h:42
Urho3D::Text3D
3D text component.
Definition: Text3D.h:36
Urho3D::Graphics::colorWrite_
bool colorWrite_
Color write enable.
Definition: Graphics.h:807
Urho3D::List
Doubly-linked list template class.
Definition: List.h:32
Urho3D::Obstacle::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned, identify our DynamicNavigationMesh.
Definition: Obstacle.cpp:95
Urho3D::ParticleEffect2D::SetMaxRadius
void SetMaxRadius(float maxRadius)
Set max radius.
Definition: ParticleEffect2D.cpp:419
Urho3D::Texture::filterMode_
TextureFilterMode filterMode_
Filtering mode.
Definition: Texture.h:225
Urho3D::HashMap::ConstIterator::operator->
const KeyValue * operator->() const
Point to the pair.
Definition: HashMap.h:211
Urho3D::CollisionEdge2D::~CollisionEdge2D
~CollisionEdge2D() override
Destruct.
Urho3D::ProgressBar::value_
float value_
ProgressBar current value.
Definition: ProgressBar.h:104
Urho3D::RandomAccessConstIterator::RandomAccessConstIterator
constexpr RandomAccessConstIterator()
Construct.
Definition: Iter.h:130
Urho3D::Color::Data
const float * Data() const
Return float data.
Definition: Color.h:142
Urho3D::Camera
Camera component.
Definition: Camera.h:50
Urho3D::Drawable2D::renderer_
WeakPtr< Renderer2D > renderer_
Renderer2D.
Definition: Drawable2D.h:120
Urho3D::UIElement::GetTags
const StringVector & GetTags() const
Return all tags.
Definition: UIElement.h:595
Urho3D::RayOctreeQuery::maxDistance_
float maxDistance_
Maximum ray distance.
Definition: OctreeQuery.h:252
Urho3D::CrowdManager::crowd_
dtCrowd * crowd_
Internal Detour crowd object.
Definition: CrowdManager.h:183
Urho3D::VertexBuffer::OnDeviceLost
void OnDeviceLost() override
Mark the buffer destroyed on graphics context destruction. May be a no-op depending on the API.
Definition: OGLVertexBuffer.cpp:35
Urho3D::Text::fontSize_
float fontSize_
Font size.
Definition: Text.h:223
Urho3D::RibbonTrail::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: RibbonTrail.cpp:430
Urho3D::FileSystem::HasRegisteredPaths
bool HasRegisteredPaths() const
Return whether paths have been registered.
Definition: FileSystem.h:86
Urho3D::ResourceCache::SetMemoryBudget
void SetMemoryBudget(StringHash type, unsigned long long budget)
Set memory budget for a specific resource type, default 0 is unlimited.
Definition: ResourceCache.cpp:436
Urho3D::Model::SetIndexBuffers
bool SetIndexBuffers(const Vector< SharedPtr< IndexBuffer > > &buffers)
Set index buffers.
Definition: Model.cpp:522
Urho3D::RefCounted::RefCountPtr
RefCount * RefCountPtr()
Return pointer to the reference count structure.
Definition: RefCounted.h:82
Urho3D::HashSet::Hash
unsigned Hash(const T &key) const
Compute a hash based on the key and the bucket size.
Definition: HashSet.h:641
Urho3D::SoundSource::MixMonoToStereoIP
void MixMonoToStereoIP(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix mono sample to stereo buffer interpolated.
Definition: SoundSource.cpp:832
Urho3D::ScriptEventInvoker::object_
asIScriptObject * object_
Script object that the handler method belongs to. Null for procedural event handling.
Definition: ScriptFile.h:182
Urho3D::StaticModel::GetModelAttr
ResourceRef GetModelAttr() const
Return model attribute.
Definition: StaticModel.cpp:386
Urho3D::AnimationState::AnimationState
AnimationState(AnimatedModel *model, Animation *animation)
Construct with animated model and animation pointers.
Definition: AnimationState.cpp:46
Urho3D::ResourceCache::ReloadResourceWithDependencies
void ReloadResourceWithDependencies(const String &fileName)
Reload a resource based on filename. Causes also reload of dependent resources if necessary.
Definition: ResourceCache.cpp:398
Urho3D::Vector::Insert
void Insert(unsigned pos, T &&value)
Insert an element at position.
Definition: Vector.h:292
Urho3D::Audio::GetInterpolation
bool GetInterpolation() const
Return whether output is interpolated.
Definition: Audio.h:78
Urho3D::View3D::SetAutoUpdate
void SetAutoUpdate(bool enable)
Set render target auto update mode. Default is true.
Definition: View3D.cpp:119
Urho3D::Ray::ClosestPoint
Vector3 ClosestPoint(const Ray &ray) const
Return closest point to another ray.
Definition: Ray.cpp:34
Urho3D::DecalSet::SetMaxIndices
void SetMaxIndices(unsigned num)
Set maximum number of decal vertex indices.
Definition: DecalSet.cpp:272
Urho3D::TmxFile2D::GetNumLayers
unsigned GetNumLayers() const
Return number of layers.
Definition: TmxFile2D.h:196
Urho3D::AnimationSet2D::GetSprite
Sprite2D * GetSprite() const
Return sprite.
Definition: AnimationSet2D.cpp:207
Urho3D::Renderer::SetDynamicInstancing
void SetDynamicInstancing(bool enable)
Set dynamic instancing on/off. When on (default), drawables using the same static-type geometry and m...
Definition: Renderer.cpp:459
Urho3D::RaycastVehicle::SetWheelAxle
void SetWheelAxle(int wheel, Vector3 axle)
Set wheel axle vector.
Definition: RaycastVehicle.cpp:635
Urho3D::Terrain::SetMaxLodLevelsAttr
void SetMaxLodLevelsAttr(unsigned value)
Set max LOD levels attribute.
Definition: Terrain.cpp:816
Urho3D::UIElement::SetMinSize
void SetMinSize(const IntVector2 &minSize)
Set minimum size.
Definition: UIElement.cpp:603
Urho3D::Tan
T Tan(T angle)
Return tangent of an angle in degrees.
Definition: MathDefs.h:145
Urho3D::JoystickState::GetButtonDown
bool GetButtonDown(unsigned index) const
Check if a button is held down.
Definition: Input.h:97
Urho3D::Quaternion::FromRotationTo
void FromRotationTo(const Vector3 &start, const Vector3 &end)
Define from the rotation difference between two direction vectors.
Definition: Quaternion.cpp:68
Urho3D::Engine::autoExit_
bool autoExit_
Auto-exit flag.
Definition: Engine.h:150
Urho3D::RenderPath::GetNumCommands
unsigned GetNumCommands() const
Return number of commands.
Definition: RenderPath.h:239
Urho3D::LightQueryResult::shadowCameras_
Camera * shadowCameras_[MAX_LIGHT_SPLITS]
Shadow cameras.
Definition: View.h:64
Urho3D::RaycastVehicle::GetWheelMaxSuspensionForce
float GetWheelMaxSuspensionForce(int wheel) const
Get wheel max suspension force.
Definition: RaycastVehicle.cpp:473
Urho3D::Menu::HandlePressedReleased
void HandlePressedReleased(StringHash eventType, VariantMap &eventData)
Handle press and release for selection and toggling popup visibility.
Definition: Menu.cpp:356
Urho3D::Quaternion::x_
float x_
X coordinate.
Definition: Quaternion.h:463
Urho3D::WorkQueue::RemoveWorkItem
bool RemoveWorkItem(SharedPtr< WorkItem > item)
Remove a work item before it has started executing. Return true if successfully removed.
Definition: WorkQueue.cpp:173
Urho3D::Node::SetOwner
void SetOwner(Connection *owner)
Set owner connection for networking.
Definition: Node.cpp:738
Urho3D::CollisionShape::UpdateDerivedShape
virtual btCollisionShape * UpdateDerivedShape(int shapeType, const Vector3 &newWorldScale)
Definition: CollisionShape.cpp:1194
Urho3D::Zone::UpdateAmbientGradient
void UpdateAmbientGradient()
Recalculate the ambient gradient colors from neighbor zones. Not safe to call from worker threads due...
Definition: Zone.cpp:252
Urho3D::StaticModelGroup::RegisterObject
static void RegisterObject(Context *context)
Register object factory. StaticModel must be registered first.
Definition: StaticModelGroup.cpp:58
Urho3D::Camera::SetUseClipping
void SetUseClipping(bool enable)
Set whether to use a custom clip plane.
Definition: Camera.cpp:233
Urho3D::Slider::SetOrientation
void SetOrientation(Orientation orientation)
Set orientation type.
Definition: Slider.cpp:166
Urho3D::LuaFunction::PushDouble
void PushDouble(double value)
Push double to stack.
Definition: LuaFunction.cpp:123
Urho3D::ParticleEffect::GetColorFrame
const ColorFrame * GetColorFrame(unsigned index) const
Return a color animation frame, or null if outside range.
Definition: ParticleEffect.cpp:780
Urho3D::AnimatedModel
Animated model component.
Definition: AnimatedModel.h:36
Urho3D::CustomGeometry::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: CustomGeometry.cpp:61
Urho3D::UI::initialized_
bool initialized_
Initialized flag.
Definition: UI.h:393
Urho3D::ParticleEffect2D::GetFinishColorVariance
const Color & GetFinishColorVariance() const
Return finish color variance.
Definition: ParticleEffect2D.h:185
Urho3D::AnimatedModel::Load
bool Load(Deserializer &source) override
Load from binary data. Return true if successful.
Definition: AnimatedModel.cpp:128
Urho3D::Light::SetLightType
void SetLightType(LightType type)
Set light type.
Definition: Light.cpp:271
Urho3D::ParticleEffect2D::maxParticles_
int maxParticles_
Max particles.
Definition: ParticleEffect2D.h:294
Urho3D::Camera::GetGPUProjection
Matrix4 GetGPUProjection() const
Return projection matrix converted to API-specific format for use as a shader parameter.
Definition: Camera.cpp:448
Urho3D::WeakPtr::Get
T * Get() const
Return raw pointer. If expired, return null.
Definition: Ptr.h:400
Urho3D::Animatable::GetAttributeAnimationTime
float GetAttributeAnimationTime(const String &name) const
Return attribute animation time position.
Definition: Animatable.cpp:446
Urho3D::Zone::GetFogStart
float GetFogStart() const
Return fog start distance.
Definition: Zone.h:88
Urho3D::ParticleEffect2D::ReadFloat
float ReadFloat(const XMLElement &element, const String &name) const
Read float.
Definition: ParticleEffect2D.cpp:525
Urho3D::UIElement::IsWithinScissor
virtual bool IsWithinScissor(const IntRect &currentScissor)
Return whether is visible and inside a scissor rectangle and should be rendered.
Definition: UIElement.cpp:385
Urho3D::Animatable
Base class for animatable object, an animatable object can be set animation on it's attributes,...
Definition: Animatable.h:63
Urho3D::DbConnection::GetConnectionString
const String & GetConnectionString() const
Return database connection string. The connection string for SQLite3 is using the URI format describe...
Definition: ODBCConnection.h:50
Urho3D::SharedArrayPtr::WeakRefs
int WeakRefs() const
Return the array's weak reference count, or 0 if the pointer is null.
Definition: ArrayPtr.h:165
Urho3D::RigidBody::HandleTargetRotation
void HandleTargetRotation(StringHash eventType, VariantMap &eventData)
Handle SmoothedTransform target rotation update.
Definition: RigidBody.cpp:1045
Urho3D::Constraint::GetERP
float GetERP() const
Return constraint error reduction parameter.
Definition: Constraint.h:137
Urho3D::ToolTip::delay_
float delay_
Delay from hover start to displaying the tooltip.
Definition: ToolTip.h:65
Urho3D::SharedArrayPtr::AddRef
void AddRef()
Add a reference to the array pointed to.
Definition: ArrayPtr.h:178
Urho3D::DecalSet::decals_
List< Decal > decals_
Decals.
Definition: DecalSet.h:225
Urho3D::Renderer::ResetShadowMaps
void ResetShadowMaps()
Remove all shadow maps. Called when global shadow map resolution or format is changed.
Definition: Renderer.cpp:1898
Urho3D::ParticleEffect::ParticleEffect
ParticleEffect(Context *context)
Construct.
Definition: ParticleEffect.cpp:59
Urho3D::ParticleEffect2D::GetTangentialAcceleration
float GetTangentialAcceleration() const
Return tangential acceleration.
Definition: ParticleEffect2D.h:167
Urho3D::SmoothedTransform::subscribed_
bool subscribed_
Subscribed to smoothing update event flag.
Definition: SmoothedTransform.h:96
Urho3D::JoystickState::GetButtonPress
bool GetButtonPress(unsigned index) const
Check if a button has been pressed on this frame.
Definition: Input.h:100
Urho3D::Octant::root_
Octree * root_
Octree root.
Definition: Octree.h:154
Urho3D::ConstraintGear2D::GetRatio
float GetRatio() const
Return ratio.
Definition: ConstraintGear2D.h:57
Urho3D::RigidBody::ApplyForce
void ApplyForce(const Vector3 &force)
Apply force to center of mass.
Definition: RigidBody.cpp:516
Urho3D::ShaderVariation::owner_
WeakPtr< Shader > owner_
Shader this variation belongs to.
Definition: ShaderVariation.h:156
Urho3D::ConstraintRope2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintRope2D.cpp:96
Urho3D::UniquePtr::Reset
void Reset(T *ptr=nullptr)
Reset.
Definition: Ptr.h:652
Urho3D::Frustum
Convex constructed of 6 planes.
Definition: Frustum.h:51
Urho3D::AnimationController::GetBlendMode
AnimationBlendMode GetBlendMode(const String &name) const
Return animation blending mode.
Definition: AnimationController.cpp:519
Urho3D::DynamicNavigationMesh::tileQueue_
PODVector< IntVector2 > tileQueue_
Queue of tiles to be built.
Definition: DynamicNavigationMesh.h:148
Urho3D::CustomGeometry::SetNumGeometries
void SetNumGeometries(unsigned num)
Set number of geometries.
Definition: CustomGeometry.cpp:501
Urho3D::CustomVariantValue::GetTypeInfo
const std::type_info & GetTypeInfo() const
Get the type info.
Definition: Variant.h:184
Urho3D::Graphics::defaultTextureAnisotropy_
unsigned defaultTextureAnisotropy_
Default texture max. anisotropy level.
Definition: Graphics.h:801
Urho3D::CollisionShape::position_
Vector3 position_
Offset position.
Definition: CollisionShape.h:302
Urho3D::ScrollView::SetScrollDeceleration
void SetScrollDeceleration(float deceleration)
Set scroll deceleration.
Definition: ScrollView.h:80
Urho3D::CrowdAgent::HandleNavigationTileAdded
void HandleNavigationTileAdded(StringHash eventType, VariantMap &eventData)
Handle navigation mesh tile added.
Definition: CrowdAgent.cpp:650
Urho3D::Graphics::GetColorWrite
bool GetColorWrite() const
Return whether color write is enabled.
Definition: Graphics.h:507
Urho3D::JSONNT_FLOAT_DOUBLE
@ JSONNT_FLOAT_DOUBLE
Float or double.
Definition: JSONValue.h:59
Urho3D::RenderPath::AddRenderTarget
void AddRenderTarget(const RenderTargetInfo &info)
Add a rendertarget.
Definition: RenderPath.cpp:435
Urho3D::ConstraintRevolute2D::~ConstraintRevolute2D
~ConstraintRevolute2D() override
Destruct.
Urho3D::ToolTip::~ToolTip
~ToolTip() override
Destruct.
Urho3D::Graphics::GetRGBAFormat
static unsigned GetRGBAFormat()
Return the API-specific RGBA texture format.
Definition: OGLGraphics.cpp:2584
Urho3D::DebugHud::SetDefaultStyle
void SetDefaultStyle(XMLFile *style)
Set UI elements' style from an XML file.
Definition: DebugHud.cpp:208
Urho3D::Time::GetTimeStamp
static String GetTimeStamp()
Get a date/time stamp as a string.
Definition: Timer.cpp:172
Urho3D::Menu::ShowPopup
void ShowPopup(bool enable)
Force the popup to show or hide.
Definition: Menu.cpp:291
Urho3D::RayOctreeQuery::viewMask_
unsigned viewMask_
Drawable layers to include.
Definition: OctreeQuery.h:250
Urho3D::Node::LoadJSON
bool LoadJSON(const JSONValue &source) override
Load from JSON data. Return true if successful.
Definition: Node.cpp:175
Urho3D::String::String
String(const T &value)
Construct from a convertible value.
Definition: Str.h:155
Urho3D::AsyncProgress::xmlFile_
SharedPtr< XMLFile > xmlFile_
XML file for XML mode.
Definition: Scene.h:62
Urho3D::PhysicsWorld::gimpactTrimeshCache_
CollisionGeometryDataCache gimpactTrimeshCache_
Cache for GImpact trimesh geometry data by model and LOD level.
Definition: PhysicsWorld.h:332
Urho3D::FileWatcher::path_
String path_
The path being watched.
Definition: FileWatcher.h:71
Urho3D::PhysicsWorld2D::DrawSolidCircle
void DrawSolidCircle(const b2Vec2 &center, float32 radius, const b2Vec2 &axis, const b2Color &color) override
Draw a solid circle.
Definition: PhysicsWorld2D.cpp:238
Urho3D::Renderer::GetNumViews
unsigned GetNumViews() const
Return number of views rendered.
Definition: Renderer.h:343
Urho3D::CrowdAgent::GetUpdateNodePosition
bool GetUpdateNodePosition() const
Return true when the node's position should be updated by the CrowdManager.
Definition: CrowdAgent.h:145
Urho3D::Atan2
T Atan2(T y, T x)
Return arc tangent of y/x in degrees.
Definition: MathDefs.h:157
Urho3D::Spline::SetKnot
void SetKnot(const Variant &knot, unsigned index)
Set the value of an existing knot.
Definition: Spline.cpp:104
Urho3D::WString::WString
WString()
Construct empty.
Definition: Str.cpp:1237
Urho3D::File::SeekInternal
void SeekInternal(unsigned newPosition)
Seek in file internally using either C standard IO functions or SDL RWops for Android asset files.
Definition: File.cpp:538
Urho3D::FM_FOCUSABLE_DEFOCUSABLE
@ FM_FOCUSABLE_DEFOCUSABLE
Is focusable and also defocusable by pressing ESC.
Definition: UIElement.h:81
Urho3D::Animatable::objectAnimation_
SharedPtr< ObjectAnimation > objectAnimation_
Animation.
Definition: Animatable.h:151
Urho3D::PhysicsWorld::config
static struct PhysicsWorldConfig config
Overrides of the internal configuration.
Definition: PhysicsWorld.h:287
Urho3D::View::Define
bool Define(RenderSurface *renderTarget, Viewport *viewport)
Define with rendertarget and viewport. Return true if successful.
Definition: View.cpp:293
Urho3D::Geometry::SetRawVertexData
void SetRawVertexData(const SharedArrayPtr< unsigned char > &data, const PODVector< VertexElement > &elements)
Override raw vertex data to be returned for CPU-side operations.
Definition: Geometry.cpp:156
Urho3D::ObjectAnimation::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: ObjectAnimation.cpp:58
Urho3D::Camera::reflectionMatrix_
Matrix3x4 reflectionMatrix_
Reflection matrix calculated from the plane.
Definition: Camera.h:274
Urho3D::View::View
View(Context *context)
Construct.
Definition: View.cpp:282
Urho3D::ParticleEmitter::emitting_
bool emitting_
Currently emitting flag.
Definition: ParticleEmitter.h:146
Urho3D::PListValue::GetValueMap
const PListValueMap & GetValueMap() const
Return value map.
Definition: PListFile.cpp:242
Urho3D::CollisionShape::ReleaseShape
void ReleaseShape()
Release the collision shape.
Definition: CollisionShape.cpp:889
Urho3D::ResourceWithMetadata::RemoveMetadata
void RemoveMetadata(const String &name)
Remove metadata variable.
Definition: Resource.cpp:140
Urho3D::Quaternion::EulerAngles
Vector3 EulerAngles() const
Return Euler angles in degrees.
Definition: Quaternion.cpp:177
Urho3D::CrowdAgent::GetNavigationPushiness
NavigationPushiness GetNavigationPushiness() const
Get the agent's navigation pushiness.
Definition: CrowdAgent.h:172
Urho3D::FileSelector::GetPathEdit
LineEdit * GetPathEdit() const
Return path editor.
Definition: FileSelector.h:93
Urho3D::Deserializer::Deserializer
Deserializer()
Construct with zero size.
Definition: Deserializer.cpp:34
Urho3D::ParticleEmitter2D::UpdateMaterial
void UpdateMaterial()
Update material.
Definition: ParticleEmitter2D.cpp:269
Urho3D::Image::ClearInt
void ClearInt(unsigned uintColor)
Clear the image with an integer color. R component is in the 8 lowest bits.
Definition: Image.cpp:1220
Urho3D::RigidBody::~RigidBody
~RigidBody() override
Destruct. Free the rigid body and geometries.
Definition: RigidBody.cpp:86
Urho3D::Text3D::GetEffectRoundStroke
bool GetEffectRoundStroke() const
Return effect round stroke.
Definition: Text3D.cpp:443
Urho3D::AnimatedSprite2D::GetEntity
const String & GetEntity() const
Return entity name.
Definition: AnimatedSprite2D.h:86
Urho3D::Connection::ProcessIdentity
void ProcessIdentity(int msgID, MemoryBuffer &msg)
Process an Identity message from the client. Called by Network.
Definition: Connection.cpp:937
Urho3D::Input::Initialize
void Initialize()
Initialize when screen mode initially set.
Definition: Input.cpp:1514
Urho3D::GraphicsImpl::boundFBO_
unsigned boundFBO_
Currently bound frame buffer object.
Definition: OGLGraphicsImpl.h:126
Urho3D::Node::position_
Vector3 position_
Position.
Definition: Node.h:689
Urho3D::RigidBody::gravityOverride_
Vector3 gravityOverride_
Gravity override vector.
Definition: RigidBody.h:281
Urho3D::WeakArrayPtr::WeakArrayPtr
WeakArrayPtr(const SharedArrayPtr< T > &rhs)
Construct from a shared array pointer.
Definition: ArrayPtr.h:250
Urho3D::TileMapObject2D::GetType
const String & GetType() const
Return type.
Definition: TileMapDefs2D.h:177
Urho3D::StringHash::StringHash
StringHash(unsigned value) noexcept
Construct with an initial value.
Definition: StringHash.h:46
Urho3D::LuaScriptEventInvoker::AddEventHandler
void AddEventHandler(Object *sender, const StringHash &eventType, LuaFunction *function)
Add a scripted event handler.
Definition: LuaScriptEventInvoker.cpp:47
Urho3D::PackageFile::Exists
bool Exists(const String &fileName) const
Check if a file exists within the package file. This will be case-insensitive on Windows and case-sen...
Definition: PackageFile.cpp:113
Urho3D::AnimationState::startBone_
Bone * startBone_
Start bone.
Definition: AnimationState.h:165
Urho3D::RaycastVehicle::IsFrontWheel
bool IsFrontWheel(int wheel) const
True if front wheel, otherwise false.
Definition: RaycastVehicle.cpp:678
Urho3D::FileSystem::CreateDir
bool CreateDir(const String &pathName)
Create a directory.
Definition: FileSystem.cpp:330
Urho3D::Color::ABGR
static const ChannelMask ABGR
Mask for 0xAABBGGRR layout.
Definition: Color.h:49
Urho3D::DecalSet::GetNumDecals
unsigned GetNumDecals() const
Return number of decals.
Definition: DecalSet.h:149
Urho3D::Matrix2::BulkTranspose
static void BulkTranspose(float *dest, const float *src, unsigned count)
Bulk transpose matrices.
Definition: Matrix2.h:238
Urho3D::Graphics::GetLuminanceFormat
static unsigned GetLuminanceFormat()
Return the API-specific luminance texture format.
Definition: OGLGraphics.cpp:2559
Urho3D::AnimationController::GetSpeed
float GetSpeed(const String &name) const
Return animation speed.
Definition: AnimationController.cpp:531
Urho3D::UI::maxFontTextureSize_
int maxFontTextureSize_
Font texture maximum size.
Definition: UI.h:391
Urho3D::Octree
Octree component. Should be added only to the root scene node.
Definition: Octree.h:160
Urho3D::List::Erase
Iterator Erase(const Iterator &start, const Iterator &end)
Erase a range by iterators. Return an iterator to the next element.
Definition: List.h:337
Urho3D::NavBuildData::offMeshVertices_
PODVector< Vector3 > offMeshVertices_
Offmesh connection vertices.
Definition: NavBuildData.h:68
Urho3D::Network::~Network
~Network() override
Destruct.
Definition: Network.cpp:269
Urho3D::UISelectable::SetSelectionColor
void SetSelectionColor(const Color &color)
Set selection background color. Color with 0 alpha (default) disables.
Definition: UISelectable.cpp:59
Urho3D::Serializable::networkState_
UniquePtr< NetworkState > networkState_
Network attribute state.
Definition: Serializable.h:135
Urho3D::Renderer::numOcclusionBuffers_
unsigned numOcclusionBuffers_
Number of occlusion buffers in use.
Definition: Renderer.h:574
Urho3D::CompressedLevel::width_
int width_
Width.
Definition: Image.h:65
Urho3D::RibbonTrail::UpdateVertexBuffer
void UpdateVertexBuffer(const FrameInfo &frame)
Rewrite RibbonTrail vertex buffer.
Definition: RibbonTrail.cpp:523
Urho3D::Input::GetMouseMove
IntVector2 GetMouseMove() const
Return mouse movement since last frame.
Definition: Input.cpp:1415
Urho3D::OcclusionBuffer::DrawBatch
void DrawBatch(const OcclusionBatch &batch, unsigned threadIndex)
Draw a batch. Called internally.
Definition: OcclusionBuffer.cpp:464
Urho3D::Drawable::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: Drawable.cpp:167
Urho3D::ScriptInstance::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: ScriptInstance.cpp:549
Urho3D::DecalSet::SetMaterial
void SetMaterial(Material *material)
Set material. The material should use a small negative depth bias to avoid Z-fighting.
Definition: DecalSet.cpp:248
Urho3D::Scene::GetElapsedTime
float GetElapsedTime() const
Return elapsed time in seconds.
Definition: Scene.h:199
Urho3D::Variant::Variant
Variant(const IntVector2 &value)
Construct from an IntVector2.
Definition: Variant.h:481
Urho3D::Renderer::GetScreenBuffer
Texture * GetScreenBuffer(int width, int height, unsigned format, int multiSample, bool autoResolve, bool cubemap, bool filtered, bool srgb, unsigned persistentKey=0)
Allocate a rendertarget or depth-stencil texture for deferred rendering or postprocessing....
Definition: Renderer.cpp:996
Urho3D::Renderer::shadowMapSize_
int shadowMapSize_
Shadow map resolution.
Definition: Renderer.h:546
Urho3D::Matrix4::Element
float Element(unsigned i, unsigned j) const
Return matrix element.
Definition: Matrix4.h:642
Urho3D::SharedArrayPtr< char >
Urho3D::SceneReplicationState::nodeStates_
HashMap< unsigned, NodeReplicationState > nodeStates_
Nodes by ID.
Definition: ReplicationState.h:178
Urho3D::Camera::GetDistanceSquared
float GetDistanceSquared(const Vector3 &worldPos) const
Return squared distance to position. In orthographic mode uses only Z coordinate.
Definition: Camera.cpp:498
Urho3D::Context::specificEventReceivers_
HashMap< Object *, HashMap< StringHash, SharedPtr< EventReceiverGroup > > > specificEventReceivers_
Event receivers for specific senders' events.
Definition: Context.h:236
Urho3D::Console::GetHistoryRow
const String & GetHistoryRow(unsigned index) const
Return history row at index.
Definition: Console.cpp:305
Urho3D::DropDownList::selectionAttr_
unsigned selectionAttr_
Selected item index attribute.
Definition: DropDownList.h:121
Urho3D::Text3D::GetText
const String & GetText() const
Return text.
Definition: Text3D.cpp:398
Urho3D::Texture::GetHeight
int GetHeight() const
Return height.
Definition: Texture.h:85
Urho3D::XMLElement::GetUInt
unsigned GetUInt(const String &name) const
Return an unsigned integer attribute, or zero if missing.
Definition: XMLElement.cpp:802
Urho3D::Script::HandleConsoleCommand
void HandleConsoleCommand(StringHash eventType, VariantMap &eventData)
Handle a console command event.
Definition: Script.cpp:370
Urho3D::HashSet::HashSet
HashSet(const HashSet< T > &set)
Construct from another hash set.
Definition: HashSet.h:183
Urho3D::SpriteSheet2D::loadTextureName_
String loadTextureName_
Texture name used while loading.
Definition: SpriteSheet2D.h:94
Urho3D::VertexBuffer::IsLocked
bool IsLocked() const
Return whether is currently locked.
Definition: VertexBuffer.h:73
Urho3D::ToRadians
T ToRadians(const T degrees)
Convert degrees to radians.
Definition: MathDefs.h:99
Urho3D::OcclusionBuffer::mipBuffers_
Vector< SharedArrayPtr< DepthValue > > mipBuffers_
Reduced size depth buffers.
Definition: OcclusionBuffer.h:185
Urho3D::Scene::RegisterVar
void RegisterVar(const String &name)
Register a node user variable hash reverse mapping (for editing).
Definition: Scene.cpp:691
Urho3D::DecalVertex::DecalVertex
DecalVertex(const Vector3 &position, const Vector3 &normal, const float *blendWeights, const unsigned char *blendIndices)
Construct with position, normal and skinning information.
Definition: DecalSet.h:50
Urho3D::Console::HandleLogMessage
void HandleLogMessage(StringHash eventType, VariantMap &eventData)
Handle a log message.
Definition: Console.cpp:530
Urho3D::Profiler::EndFrame
void EndFrame()
End the profiling frame. Called by HandleEndFrame().
Definition: Profiler.cpp:58
Urho3D::CrowdAgent::GetMaxAccel
float GetMaxAccel() const
Get the agent's max acceleration.
Definition: CrowdAgent.h:151
Urho3D::ParticleEffect2D::maxRadius_
float maxRadius_
Max radius.
Definition: ParticleEffect2D.h:308
Urho3D::LuaFunction::PushLuaTable
void PushLuaTable(const String &tableName)
Push Lua table to stack. When the specified table is not found then a nil is pushed instead.
Definition: LuaFunction.h:96
Urho3D::Serializer::WriteResourceRefList
bool WriteResourceRefList(const ResourceRefList &value)
Write a resource reference list.
Definition: Serializer.cpp:225
Urho3D::Spriter::SpriterInstance::owner_
Component * owner_
Parent component.
Definition: SpriterInstance2D.h:93
Urho3D::XPathResultSet::FirstResult
XMLElement FirstResult()
Definition: XMLElement.cpp:1046
Urho3D::RaycastVehicle::GetInAirRPM
float GetInAirRPM() const
Get revolution per minute value for when wheel doesn't touch ground.
Definition: RaycastVehicle.cpp:697
Urho3D::Texture::borderColor_
Color borderColor_
Border color.
Definition: Texture.h:233
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4() noexcept
Construct an identity matrix.
Definition: Matrix3x4.h:39
Urho3D::HashSet::Node::Down
Node * Down() const
Return next node in the bucket.
Definition: HashSet.h:60
Urho3D::XMLFile
XML document resource.
Definition: XMLFile.h:41
Urho3D::FontFaceBitmap::Save
bool Save(Serializer &dest, int pointSize, const String &indentation="\t")
Save as a new bitmap font type in XML format. Return true if successful.
Definition: FontFaceBitmap.cpp:265
Urho3D::RibbonTrail
Drawable component that creates a tail.
Definition: RibbonTrail.h:65
Urho3D::Sprite2D::hotSpot_
Vector2 hotSpot_
Hot spot.
Definition: Sprite2D.h:101
Urho3D::VectorBase
Vector base class.
Definition: VectorBase.h:41
Urho3D::Variant::GetStringVectorPtr
StringVector * GetStringVectorPtr()
Return a pointer to a modifiable string vector or null on type mismatch.
Definition: Variant.h:1357
Urho3D::Constraint::SetConstraintType
void SetConstraintType(ConstraintType type)
Set constraint type and recreate the constraint.
Definition: Constraint.cpp:149
Urho3D::PhysicsRaycastResult2D::position_
Vector2 position_
Hit worldspace position.
Definition: PhysicsWorld2D.h:47
Urho3D::ResourceCache::GetTotalMemoryUse
unsigned long long GetTotalMemoryUse() const
Return total memory use for all resources.
Definition: ResourceCache.cpp:777
Urho3D::Constraint::constraintType_
ConstraintType constraintType_
Constraint type.
Definition: Constraint.h:179
Urho3D::Connection::GetRotation
const Quaternion & GetRotation() const
Return the observer rotation sent by the client for interest management.
Definition: Connection.h:192
Urho3D::Terrain::GetLodHeight
float GetLodHeight(int x, int z, unsigned lodLevel) const
Return interpolated height for a specific LOD level.
Definition: Terrain.cpp:1317
Urho3D::O_ISOMETRIC
@ O_ISOMETRIC
Isometric.
Definition: TileMapDefs2D.h:41
Urho3D::Renderer::shadowQuality_
ShadowQuality shadowQuality_
Shadow quality.
Definition: Renderer.h:548
Urho3D::PhysicsWorld2D::SetUpdateEnabled
void SetUpdateEnabled(bool enable)
Enable or disable automatic physics simulation during scene update. Enabled by default.
Definition: PhysicsWorld2D.cpp:342
Urho3D::FrameBufferObject::colorAttachments_
RenderSurface * colorAttachments_[MAX_RENDERTARGETS]
Bound color attachment textures.
Definition: OGLGraphicsImpl.h:89
Urho3D::Material::GetTechniqueEntry
const TechniqueEntry & GetTechniqueEntry(unsigned index) const
Return technique entry by index.
Definition: Material.cpp:1181
Urho3D::AnimationController::AddAnimationState
AnimationState * AddAnimationState(Animation *animation)
Add an animation state either to AnimatedModel or as a node animation.
Definition: AnimationController.cpp:847
Urho3D::Timer::GetMSec
unsigned GetMSec(bool reset)
Return elapsed milliseconds and optionally reset.
Definition: Timer.cpp:200
Urho3D::ScriptInstance::SetDelayedCallsAttr
void SetDelayedCallsAttr(const PODVector< unsigned char > &value)
Set delayed method calls attribute.
Definition: ScriptInstance.cpp:445
Urho3D::PhysicsWorld::SetInternalEdge
void SetInternalEdge(bool enable)
Set whether to use Bullet's internal edge utility for trimesh collisions. Disabled by default.
Definition: PhysicsWorld.cpp:351
Urho3D::ResourceCache::SanitateResourceName
String SanitateResourceName(const String &name) const
Remove unsupported constructs from the resource name to prevent ambiguity, and normalize absolute fil...
Definition: ResourceCache.cpp:841
Urho3D::BoundingBox::DistanceToPoint
float DistanceToPoint(const Vector3 &point) const
Return distance to point.
Definition: BoundingBox.cpp:199
Urho3D::Terrain::SetShadowMask
void SetShadowMask(unsigned mask)
Set shadow mask for patches. Is and'ed with light's light mask and zone's shadow mask to see if the o...
Definition: Terrain.cpp:440
Urho3D::ConstraintPulley2D::GetJointDef
b2JointDef * GetJointDef() override
Return Joint def.
Definition: ConstraintPulley2D.cpp:119
Urho3D::AnimationTrack::AddKeyFrame
void AddKeyFrame(const AnimationKeyFrame &keyFrame)
Add a keyframe at the end.
Definition: Animation.cpp:63
Urho3D::CheckBox::GetCheckedOffset
const IntVector2 & GetCheckedOffset() const
Return checked image offset.
Definition: CheckBox.h:62
Urho3D::CrowdManager::GetMaxAgentRadius
float GetMaxAgentRadius() const
Get the maximum radius of any agent.
Definition: CrowdManager.h:126
Urho3D::Deserializer::ReadPackedVector3
Vector3 ReadPackedVector3(float maxAbsCoord)
Read a Vector3 packed into 3 x 16 bits with the specified maximum absolute range.
Definition: Deserializer.cpp:180
Urho3D::SoundListener
Sound listener component.
Definition: SoundListener.h:31
Urho3D::ValueAnimation::keyFrames_
Vector< VAnimKeyFrame > keyFrames_
Key frames.
Definition: ValueAnimation.h:165
Urho3D::Quaternion::Normalize
void Normalize()
Normalize to unit length.
Definition: Quaternion.h:313
Urho3D::VertexElement::VertexElement
VertexElement(VertexElementType type, VertexElementSemantic semantic, unsigned char index=0, bool perInstance=false) noexcept
Construct with type, semantic, index and whether is per-instance data.
Definition: GraphicsDefs.h:196
Urho3D::Vector::Compact
void Compact()
Reallocate so that no extra memory is used.
Definition: Vector.h:462
Urho3D::Graphics::defaultTextureFilterMode_
TextureFilterMode defaultTextureFilterMode_
Default texture filtering mode.
Definition: Graphics.h:799
Urho3D::Vector::Vector
Vector() noexcept=default
Construct empty.
Urho3D::PListFile::PListFile
PListFile(Context *context)
Construct.
Definition: PListFile.cpp:299
Urho3D::FlagSet::operator^=
FlagSet & operator^=(const Enum value)
Bitwise XOR against Enum value.
Definition: FlagSet.h:104
Urho3D::RWOpsWrapper::Close
static int Close(SDL_RWops *context)
Close the object. Only meaningful for files, no-op otherwise.
Definition: RWOpsWrapper.h:91
Urho3D::Graphics::alphaToCoverage_
bool alphaToCoverage_
Alpha-to-coverage enable.
Definition: Graphics.h:805
Urho3D::Renderer::numPrimitives_
unsigned numPrimitives_
Number of primitives (3D geometry only).
Definition: Renderer.h:578
Urho3D::AnimationState::node_
WeakPtr< Node > node_
Root scene node (node hierarchy mode).
Definition: AnimationState.h:161
Urho3D::Cursor::SetShape
void SetShape(const String &shape)
Set current shape.
Definition: Cursor.cpp:178
Urho3D::Navigable::~Navigable
~Navigable() override
Destruct.
Urho3D::Text::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: Text.cpp:120
Urho3D::Node::SetWorldScale2D
void SetWorldScale2D(float x, float y)
Set scale in world space (for Urho2D).
Definition: Node.h:210
Urho3D::NavigationMesh::GetRegionMinSize
float GetRegionMinSize() const
Return region minimum size.
Definition: NavigationMesh.h:219
Urho3D::RayQueryResult::subObject_
unsigned subObject_
Drawable specific subobject if applicable.
Definition: OctreeQuery.h:219
Urho3D::ParticleEffect::GetRandomVelocity
float GetRandomVelocity() const
Return random velocity.
Definition: ParticleEffect.cpp:801
Urho3D::Console::GetCloseButton
Button * GetCloseButton() const
Return the close butoon element.
Definition: Console.h:90
Urho3D::JSONFile::GetRoot
const JSONValue & GetRoot() const
Return root value.
Definition: JSONFile.h:59
Urho3D::Rect::Equals
bool Equals(const Rect &rhs) const
Test for equality with another rect with epsilon.
Definition: Rect.h:209
Urho3D::List::Insert
void Insert(const Iterator &dest, const T *start, const T *end)
Insert elements.
Definition: List.h:308
Urho3D::Matrix4::BulkTranspose
static void BulkTranspose(float *dest, const float *src, unsigned count)
Bulk transpose matrices.
Definition: Matrix4.h:695
Urho3D::Context::objectCategories_
HashMap< String, Vector< StringHash > > objectCategories_
Object categories.
Definition: Context.h:244
Urho3D::ListIteratorBase::ptr_
ListNodeBase * ptr_
Node pointer.
Definition: ListBase.h:89
Urho3D::Text::SetEffectStrokeThickness
void SetEffectStrokeThickness(int thickness)
Set stroke thickness.
Definition: Text.cpp:394
Urho3D::PhysicsRaycastResult::hitFraction_
float hitFraction_
Hit fraction.
Definition: PhysicsWorld.h:75
Urho3D::Engine::ApplyFrameLimit
void ApplyFrameLimit()
Get the timestep for the next frame and sleep for frame limiting if necessary.
Definition: Engine.cpp:722
Urho3D::DynamicNavigationMesh::RemoveObstacle
void RemoveObstacle(Obstacle *, bool silent=false)
Used by Obstacle class to remove itself from the tile cache, if 'silent' an event will not be raised.
Definition: DynamicNavigationMesh.cpp:1123
Urho3D::Scene::SetElapsedTime
void SetElapsedTime(float time)
Set elapsed time in seconds. This can be used to prevent inaccuracy in the timer if the scene runs fo...
Definition: Scene.cpp:672
Urho3D::Renderer::GetViewport
Viewport * GetViewport(unsigned index) const
Return backbuffer viewport by index.
Definition: Renderer.cpp:537
Urho3D::Node::RotateAround2D
void RotateAround2D(const Vector2 &point, float delta, TransformSpace space=TS_LOCAL)
Rotate around a point in the chosen transform space (for Urho2D).
Definition: Node.h:255
Urho3D::SharedPtr::SharedPtr
SharedPtr(std::nullptr_t) noexcept
Construct a null shared pointer.
Definition: Ptr.h:46
Urho3D::RigidBody::ResetForces
void ResetForces()
Reset accumulated forces.
Definition: RigidBody.cpp:570
Urho3D::PerThreadSceneResult::geometries_
PODVector< Drawable * > geometries_
Geometry objects.
Definition: View.h:98
Urho3D::ParticleEffect::SetMaxEmissionRate
void SetMaxEmissionRate(float rate)
Set maximum emission rate.
Definition: ParticleEffect.cpp:525
Urho3D::Light::GetViewSpaceFrustum
Frustum GetViewSpaceFrustum(const Matrix3x4 &view) const
Return spotlight frustum in the specified view space.
Definition: Light.cpp:465
Urho3D::LinkedList
Singly-linked list template class. Elements must inherit from LinkedListNode.
Definition: LinkedList.h:49
Urho3D::ConstraintDistance2D::GetOwnerBodyAnchor
const Vector2 & GetOwnerBodyAnchor() const
Return owner body anchor.
Definition: ConstraintDistance2D.h:55
Urho3D::UIElement::sortChildren_
bool sortChildren_
Sort children according to priority flag.
Definition: UIElement.h:698
Urho3D::VertexElementSemantic
VertexElementSemantic
Arbitrary vertex declaration element semantics.
Definition: GraphicsDefs.h:168
Urho3D::TerrainPatch::lodLevel_
unsigned lodLevel_
Current LOD level.
Definition: TerrainPatch.h:140
Urho3D::Renderer::minInstances_
int minInstances_
Minimum number of instances required in a batch group to render as instanced.
Definition: Renderer.h:558
Urho3D::CrowdAgent::previousAgentState_
CrowdAgentState previousAgentState_
Agent's previous agent state used to check for state changes.
Definition: CrowdAgent.h:236
Urho3D::Shader::psSourceCode_
String psSourceCode_
Source code adapted for pixel shader.
Definition: Shader.h:73
Urho3D::Graphics::height_
int height_
Window height in pixels.
Definition: Graphics.h:727
Urho3D::PODVector::Clear
void Clear()
Clear the vector.
Definition: Vector.h:1028
Urho3D::TrailPoint::elapsedLength_
float elapsedLength_
Elapsed length inside the trail.
Definition: RibbonTrail.h:55
Urho3D::VectorBuffer::GetData
const unsigned char * GetData() const
Return data.
Definition: VectorBuffer.h:62
Urho3D::SoundSource::SetPlayingAttr
void SetPlayingAttr(bool value)
Set sound playing attribute.
Definition: SoundSource.cpp:481
Urho3D::CollisionShape2D::SetDensity
void SetDensity(float density)
Set density.
Definition: CollisionShape2D.cpp:133
Urho3D::RenderPathCommand::RemoveShaderParameter
void RemoveShaderParameter(const String &name)
Remove a shader parameter.
Definition: RenderPath.cpp:247
Urho3D::Renderer2D::viewMask_
unsigned viewMask_
View mask of current camera for visibility checking.
Definition: Renderer2D.h:129
Urho3D::BillboardSet::IsSorted
bool IsSorted() const
Return whether billboards are sorted.
Definition: BillboardSet.h:122
Urho3D::UI::DragData::dragButtons
MouseButtonFlags dragButtons
Which button combo initiated the drag.
Definition: UI.h:233
Urho3D::Input::lastMouseGrabbed_
bool lastMouseGrabbed_
The last mouse grabbed set by SetMouseGrabbed.
Definition: Input.h:408
Urho3D::RigidBody2D::GetBody
b2Body * GetBody() const
Return Box2D body.
Definition: RigidBody2D.h:160
Urho3D::Drawable2D::GetOrderInLayer
int GetOrderInLayer() const
Return order in layer.
Definition: Drawable2D.h:93
Urho3D::Graphics
Graphics subsystem. Manages the application window, rendering state and GPU resources.
Definition: Graphics.h:139
Urho3D::UIElement::derivedColor_
Color derivedColor_
Derived color. Only valid when no gradient.
Definition: UIElement.h:801
Urho3D::Spriter::Entity
Entity.
Definition: SpriterData2D.h:103
Urho3D::ConstraintPulley2D::~ConstraintPulley2D
~ConstraintPulley2D() override
Destruct.
Urho3D::UniquePtr::UniquePtr
UniquePtr(UniquePtr &&up) noexcept
Move-construct from UniquePtr.
Definition: Ptr.h:592
Urho3D::Bone::radius_
float radius_
Radius.
Definition: Skeleton.h:78
Urho3D::LuaScriptInstance::GetScriptNetworkDataAttr
PODVector< unsigned char > GetScriptNetworkDataAttr() const
Get script network serialization attribute by calling a script function.
Definition: LuaScriptInstance.cpp:484
Urho3D::Material::MarkForAuxView
void MarkForAuxView(unsigned frameNumber)
Mark material for auxiliary view rendering.
Definition: Material.cpp:1176
Urho3D::UnknownComponent::SetType
void SetType(StringHash typeHash)
Initialize the type hash only when type name not known. Called by Node when loading.
Definition: UnknownComponent.cpp:248
Urho3D::CollisionShape::GetGeometryData
CollisionGeometryData * GetGeometryData() const
Return the shared geometry data.
Definition: CollisionShape.h:215
Urho3D::Shader::vsSourceCode_
String vsSourceCode_
Source code adapted for vertex shader.
Definition: Shader.h:71
Urho3D::RenderSurface::GetLinkedRenderTarget
RenderSurface * GetLinkedRenderTarget() const
Return linked color rendertarget.
Definition: RenderSurface.h:90
Urho3D::ConstraintPrismatic2D::SetAnchor
void SetAnchor(const Vector2 &anchor)
Set anchor.
Definition: ConstraintPrismatic2D.cpp:62
Urho3D::Vector::Back
T & Back()
Return last element.
Definition: Vector.h:518
Urho3D::HashSet::Iterator::operator++
Iterator & operator++()
Preincrement the pointer.
Definition: HashSet.h:76
Urho3D::ScriptInstance::SetScriptDataAttr
void SetScriptDataAttr(const PODVector< unsigned char > &data)
Set script file serialization attribute by calling a script function.
Definition: ScriptInstance.cpp:462
Urho3D::ParticleEffect2D
2D particle effect resource.
Definition: ParticleEffect2D.h:44
Urho3D::RayOctreeQuery
Raycast octree query.
Definition: OctreeQuery.h:223
Urho3D::Text3D::GetMaterial
Material * GetMaterial() const
Return material.
Definition: Text3D.cpp:383
Urho3D::Image::data_
SharedArrayPtr< unsigned char > data_
Pixel data.
Definition: Image.h:234
Urho3D::Audio::MixOutput
void MixOutput(void *dest, unsigned samples)
Mix sound sources into the buffer.
Definition: Audio.cpp:266
Urho3D::AnimatedModel::SetSkeleton
void SetSkeleton(const Skeleton &skeleton, bool createBones)
Set skeleton.
Definition: AnimatedModel.cpp:694
Urho3D::Connection::sceneFileName_
String sceneFileName_
Scene file to load once all packages (if any) have been downloaded.
Definition: Connection.h:317
Urho3D::Graphics::BindFramebuffer
void BindFramebuffer(unsigned fbo)
Bind a framebuffer using either extension or core functionality. Used only on OpenGL.
Definition: OGLGraphics.cpp:3277
Urho3D::ConstraintRevolute2D::GetLowerAngle
float GetLowerAngle() const
Return lower angle.
Definition: ConstraintRevolute2D.h:65
Urho3D::Text::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: Text.cpp:469
Urho3D::RaycastVehicle::ApplyAttributes
void ApplyAttributes() override
Perform post-load after deserialization. Acquire the components from the scene nodes.
Definition: RaycastVehicle.cpp:201
Urho3D::CrowdAgent::SetUpdateNodePosition
void SetUpdateNodePosition(bool unodepos)
Update the node position. When set to false, the node position should be updated by other means (e....
Definition: CrowdAgent.cpp:370
Urho3D::ParticleEffect::velocityMax_
float velocityMax_
Particle velocity maximum.
Definition: ParticleEffect.h:405
Urho3D::RigidBody::IsTrigger
bool IsTrigger() const
Return whether this RigidBody is acting as a trigger.
Definition: RigidBody.h:214
Urho3D::RandomAccessIterator
Random access iterator.
Definition: Iter.h:31
Urho3D::PListFile::LoadDict
bool LoadDict(PListValueMap &dict, const XMLElement &dictElem)
Load dictionary.
Definition: PListFile.cpp:341
Urho3D::Light::shadowFadeDistance_
float shadowFadeDistance_
Shadow fade start distance.
Definition: Light.h:383
Urho3D::Matrix4::Inverse
Matrix4 Inverse() const
Return inverse.
Definition: Matrix4.cpp:79
Urho3D::RibbonTrail::lastTimeStep_
float lastTimeStep_
Last scene timestep.
Definition: RibbonTrail.h:231
Urho3D::NavBuildData::~NavBuildData
virtual ~NavBuildData()
Destructor.
Definition: NavBuildData.cpp:40
Urho3D::XMLElement::SetVector3
bool SetVector3(const String &name, const Vector3 &value)
Set a Vector3 attribute.
Definition: XMLElement.cpp:528
Urho3D::Animatable::GetAttributeAnimationSpeed
float GetAttributeAnimationSpeed(const String &name) const
Return attribute animation speed.
Definition: Animatable.cpp:440
Urho3D::BoundingBox::BoundingBox
BoundingBox() noexcept
Construct with zero size.
Definition: BoundingBox.h:47
Urho3D::BillboardSet::previousOffset_
Vector3 previousOffset_
Previous offset to camera for determining whether sorting is necessary.
Definition: BillboardSet.h:205
Urho3D::RibbonTrail::GetMaterialAttr
ResourceRef GetMaterialAttr() const
Return material attribute.
Definition: RibbonTrail.cpp:906
Urho3D::AnimationState::GetTrackIndex
unsigned GetTrackIndex(Node *node) const
Return track index with matching bone node, or M_MAX_UNSIGNED if not found.
Definition: AnimationState.cpp:416
Urho3D::CollisionChain2D::RecreateFixture
void RecreateFixture()
Recreate fixture.
Definition: CollisionChain2D.cpp:124
Urho3D::Terrain::GetSouthNeighbor
Terrain * GetSouthNeighbor() const
Return south neighbor terrain.
Definition: Terrain.h:148
Urho3D::UIElement::SetMaxAnchor
void SetMaxAnchor(const Vector2 &anchor)
Set maximum (bottom right) anchor in relation to the parent element (from 0 to 1)....
Definition: UIElement.cpp:784
Urho3D::SpriteSheet2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: SpriteSheet2D.cpp:49
Urho3D::VARIANT_VALUE_SIZE
static const unsigned VARIANT_VALUE_SIZE
Size of variant value. 16 bytes on 32-bit platform, 32 bytes on 64-bit platform.
Definition: Variant.h:278
Urho3D::Renderer::deferredLightPSVariations_
Vector< String > deferredLightPSVariations_
Current variation names for deferred light volume shaders.
Definition: Renderer.h:534
Urho3D::ScriptInstance::SetScriptFileAttr
void SetScriptFileAttr(const ResourceRef &value)
Set script file attribute.
Definition: ScriptInstance.cpp:439
Urho3D::Plane::Transformed
Plane Transformed(const Matrix3 &transform) const
Return transformed by a 3x3 matrix.
Definition: Plane.cpp:68
Urho3D::Drawable::HasBasePass
bool HasBasePass(unsigned batchIndex) const
Return whether has a base pass.
Definition: Drawable.h:272
Urho3D::JSONValue::GetDouble
double GetDouble(double defaultValue=0.0) const
Return double value.
Definition: JSONValue.h:200
Urho3D::Pass::Pass
Pass(const String &name)
Construct.
Definition: Technique.cpp:76
Urho3D::Graphics::GetSRGBSupport
bool GetSRGBSupport() const
Return whether sRGB conversion on texture sampling is supported.
Definition: Graphics.h:435
Urho3D::WeakArrayPtr::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: ArrayPtr.h:391
Urho3D::ParticleEmitter2D::boundingBoxMaxPoint_
Vector3 boundingBoxMaxPoint_
Bounding box max point.
Definition: ParticleEmitter2D.h:163
Urho3D::HashSet::ConstIterator::ConstIterator
ConstIterator(Node *ptr)
Construct with a node pointer.
Definition: HashSet.h:119
Urho3D::SharedArrayPtr::refCount_
RefCount * refCount_
Pointer to the RefCount structure.
Definition: ArrayPtr.h:211
Urho3D::PhysicsWorld::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: PhysicsWorld.cpp:201
Urho3D::NavigationMesh::AddTriMeshGeometry
void AddTriMeshGeometry(NavBuildData *build, Geometry *geometry, const Matrix3x4 &transform)
Add a triangle mesh to the geometry data.
Definition: NavigationMesh.cpp:1197
Urho3D::Node::GetWorldScale
Vector3 GetWorldScale() const
Return scale in world space.
Definition: Node.h:465
Urho3D::GPUObjectHandle::ptr_
void * ptr_
Object pointer (Direct3D).
Definition: GPUObject.h:36
Urho3D::Graphics::forceGL2_
bool forceGL2_
Force OpenGL 2 flag. Only used on OpenGL.
Definition: Graphics.h:735
Urho3D::View::Render
void Render()
Render batches.
Definition: View.cpp:563
Urho3D::ProfilerBlock::Begin
void Begin()
Begin timing.
Definition: Profiler.h:74
Urho3D::RigidBody2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: RigidBody2D.cpp:71
Urho3D::JSONValue::objectValue_
JSONObject * objectValue_
Object value.
Definition: JSONValue.h:307
Urho3D::LuaFile::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: LuaFile.cpp:54
Urho3D::ParticleEmitter2D::SetBlendMode
void SetBlendMode(BlendMode blendMode)
Set blend mode.
Definition: ParticleEmitter2D.cpp:119
Urho3D::HashMap::Keys
Vector< T > Keys() const
Return all the keys.
Definition: HashMap.h:584
Urho3D::ScriptInstance
Script object component.
Definition: ScriptInstance.h:60
Urho3D::ParticleEmitter2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: ParticleEmitter2D.cpp:184
Urho3D::ShaderProgram::GetVertexShader
ShaderVariation * GetVertexShader() const
Return the vertex shader.
Definition: OGLShaderProgram.cpp:323
Urho3D::BoundingBox::ToString
String ToString() const
Return as string.
Definition: BoundingBox.cpp:297
Urho3D::Light::GetSpecularIntensity
float GetSpecularIntensity() const
Return specular intensity.
Definition: Light.h:241
Urho3D::Image::GetSubimage
Image * GetSubimage(const IntRect &rect) const
Return subimage from the image by the defined rect or null if failed. 3D images are not supported....
Definition: Image.cpp:2115
Urho3D::View::SetupDirLightShadowCamera
void SetupDirLightShadowCamera(Camera *shadowCamera, Light *light, float nearSplit, float farSplit)
Set up a directional light shadow camera.
Definition: View.cpp:2612
Urho3D::TerrainPatch::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: TerrainPatch.cpp:141
Urho3D::Slider::OnClickEnd
void OnClickEnd(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor, UIElement *beginElement) override
React to mouse click end.
Definition: Slider.cpp:105
Urho3D::LightQueryResult::light_
Light * light_
Light.
Definition: View.h:58
Urho3D::CollisionPolygon2D::GetVertices
const PODVector< Vector2 > & GetVertices() const
Return vertices.
Definition: CollisionPolygon2D.h:57
Urho3D::Text::rowWidths_
PODVector< float > rowWidths_
Row widths.
Definition: Text.h:259
Urho3D::JSONValue::SetVariant
void SetVariant(const Variant &variant, Context *context=nullptr)
Set variant, context must provide for resource ref.
Definition: JSONValue.cpp:389
Urho3D::ShaderProgram::OnDeviceLost
void OnDeviceLost() override
Mark the GPU resource destroyed on context destruction.
Definition: OGLShaderProgram.cpp:75
Urho3D::FileSelector::ignoreEvents_
bool ignoreEvents_
Ignore events flag, used when changing line edits manually.
Definition: FileSelector.h:189
Urho3D::ValueAnimationInfo::ApplyValue
virtual void ApplyValue(const Variant &newValue)
Apply new animation value to the target object. Called by Update().
Definition: ValueAnimationInfo.cpp:124
Urho3D::NavigationMesh::navMeshQuery_
dtNavMeshQuery * navMeshQuery_
Detour navigation mesh query.
Definition: NavigationMesh.h:306
Urho3D::HashMap::Find
ConstIterator Find(const T &key) const
Return const iterator to the pair with key, or end iterator if not found.
Definition: HashMap.h:544
Urho3D::CollisionBox2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionBox2D.cpp:51
Urho3D::StoredLogMessage::message_
String message_
Message text.
Definition: Log.h:65
Urho3D::FileSystem::Rename
bool Rename(const String &srcFileName, const String &destFileName)
Rename a file. Return true if successful.
Definition: FileSystem.cpp:500
Urho3D::PointOctreeQuery::PointOctreeQuery
PointOctreeQuery(PODVector< Drawable * > &result, const Vector3 &point, unsigned char drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
Construct with point and query parameters.
Definition: OctreeQuery.h:77
Urho3D::Octree::QueueUpdate
void QueueUpdate(Drawable *drawable)
Mark drawable object as requiring an update and a reinsertion.
Definition: Octree.cpp:550
Urho3D::Vector2::Normalized
Vector2 Normalized() const
Return normalized to unit length.
Definition: Vector2.h:334
Urho3D::ParticleEmitter2D::numParticles_
unsigned numParticles_
Nummber of particles.
Definition: ParticleEmitter2D.h:151
Urho3D::Time::BeginFrame
void BeginFrame(float timeStep)
Begin new frame, with (last) frame duration in seconds and send frame start event.
Definition: Timer.cpp:105
Urho3D::CheckBox::~CheckBox
~CheckBox() override
Destruct.
Urho3D::Rect::Merge
void Merge(const Vector2 &point)
Merge a point.
Definition: Rect.h:158
Urho3D::ScrollView::FilterScrollBarImplicitAttributes
bool FilterScrollBarImplicitAttributes(XMLElement &dest, const String &name) const
Filter implicit attributes in serialization process for internal scroll bar.
Definition: ScrollView.cpp:411
Urho3D::Technique::GetPass
Pass * GetPass(unsigned passIndex) const
Return a pass, or null if not found.
Definition: Technique.h:231
Urho3D::Vector::Contains
bool Contains(const T &value) const
Return whether contains a specific value.
Definition: Vector.h:489
Urho3D::Light::aspectRatio_
float aspectRatio_
Spotlight aspect ratio.
Definition: Light.h:379
Urho3D::Vector2::DotProduct
float DotProduct(const Vector2 &rhs) const
Calculate dot product.
Definition: Vector2.h:307
Urho3D::FileSystem::GetProgramDir
String GetProgramDir() const
Return the program's directory.
Definition: FileSystem.cpp:692
Urho3D::WeakPtr::Expired
bool Expired() const
Return whether the object has expired. If null pointer, always return true.
Definition: Ptr.h:498
Urho3D::Sprite::GetHotSpot
const IntVector2 & GetHotSpot() const
Return hotspot.
Definition: Sprite.h:86
Urho3D::XMLElement::SelectSingle
XMLElement SelectSingle(const String &query, pugi::xpath_variable_set *variables=nullptr) const
Select an element/attribute using XPath query.
Definition: XMLElement.cpp:225
Urho3D::ScriptEventInvoker::sharedBool_
asILockableSharedBool * sharedBool_
Shared boolean for checking the continued existence of the script object.
Definition: ScriptFile.h:180
Urho3D::PhysicsWorld::solver_
UniquePtr< btConstraintSolver > solver_
Bullet constraint solver.
Definition: PhysicsWorld.h:310
Urho3D::DebugRenderer::view_
Matrix3x4 view_
View transform.
Definition: DebugRenderer.h:184
Urho3D::ScriptInstance::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post-update event.
Definition: ScriptInstance.cpp:885
Urho3D::Image::SaveFile
bool SaveFile(const String &fileName) const override
Save the image to a file. Format of the image is determined by file extension. JPG is saved with maxi...
Definition: Image.cpp:871
Urho3D::FontFaceBitmap
Bitmap font face description.
Definition: FontFaceBitmap.h:34
Urho3D::Serializable
Base class for objects with automatic serialization through attributes.
Definition: Serializable.h:44
Urho3D::Graphics::SetDepthTest
void SetDepthTest(CompareMode mode)
Set depth compare.
Definition: OGLGraphics.cpp:1825
Urho3D::ValueAnimationInfo::speed_
float speed_
Animation speed.
Definition: ValueAnimationInfo.h:92
Urho3D::DynamicNavigationMesh::AddObstacle
void AddObstacle(Obstacle *obstacle, bool silent=false)
Used by Obstacle class to add itself to the tile cache, if 'silent' an event will not be raised.
Definition: DynamicNavigationMesh.cpp:1078
Urho3D::Matrix3::BulkTranspose
static void BulkTranspose(float *dest, const float *src, unsigned count)
Bulk transpose matrices.
Definition: Matrix3.h:312
Urho3D::Pass::SetPixelShader
void SetPixelShader(const String &name)
Set pixel shader name.
Definition: Technique.cpp:141
Urho3D::Connection::isClient_
bool isClient_
Client connection flag.
Definition: Connection.h:329
Urho3D::Variant::emptyBuffer
static const PODVector< unsigned char > emptyBuffer
Empty buffer.
Definition: Variant.h:1383
Urho3D::SplinePath::ClearControlPoints
void ClearControlPoints()
Clear the Control Points from the SplinePath.
Definition: SplinePath.cpp:177
Urho3D::CrowdManager::SetAreaCost
void SetAreaCost(unsigned queryFilterType, unsigned areaID, float cost)
Set the cost of an area for the specified query filter type.
Definition: CrowdManager.cpp:335
Urho3D::LuaScriptInstance::~LuaScriptInstance
~LuaScriptInstance() override
Destruct.
Definition: LuaScriptInstance.cpp:76
Urho3D::SoundSource::GetSoundType
String GetSoundType() const
Return sound type, determines the master gain group.
Definition: SoundSource.h:87
Urho3D::Matrix4::SignedScale
Vector3 SignedScale(const Matrix3 &rotation) const
Return the scaling part with the sign. Reference rotation matrix is required to avoid ambiguity.
Definition: Matrix4.h:571
Urho3D::File::handle_
void * handle_
File handle.
Definition: File.h:125
Urho3D::Controls::yaw_
float yaw_
Mouse yaw.
Definition: Controls.h:66
Urho3D::View::CheckPingpong
bool CheckPingpong(unsigned index)
Check whether a command should use pingponging instead of resolve from destination render target to v...
Definition: View.cpp:1928
Urho3D::Zone::priority_
int priority_
Zone priority.
Definition: Zone.h:164
Urho3D::Texture2DArray::layers_
unsigned layers_
Texture array layers number.
Definition: Texture2DArray.h:86
Urho3D::CollisionShape2D::ReleaseFixture
void ReleaseFixture()
Release fixture.
Definition: CollisionShape2D.cpp:235
Urho3D::PhysicsWorld::SetNumIterations
void SetNumIterations(int num)
Set number of constraint solver iterations.
Definition: PhysicsWorld.cpp:333
Urho3D::View::Update
void Update(const FrameInfo &frame)
Update and cull objects and construct rendering batches.
Definition: View.cpp:518
Urho3D::String::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Str.h:469
Urho3D::UIBatch::AddOrMerge
static void AddOrMerge(const UIBatch &batch, PODVector< UIBatch > &batches)
Add or merge a batch.
Definition: UIBatch.cpp:441
Urho3D::PhysicsWorld::AddRigidBody
void AddRigidBody(RigidBody *body)
Add a rigid body to keep track of. Called by RigidBody.
Definition: PhysicsWorld.cpp:718
Urho3D::ConstraintWheel2D::GetFrequencyHz
float GetFrequencyHz() const
Return frequency Hz.
Definition: ConstraintWheel2D.h:74
Urho3D::UIElement::OnHover
virtual void OnHover(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor)
React to mouse hover.
Definition: UIElement.cpp:421
Urho3D::AnimatedSprite2D::SetLoopMode
void SetLoopMode(LoopMode2D loopMode)
Set loop mode.
Definition: AnimatedSprite2D.cpp:185
Urho3D::IKSolver::ApplyOriginalPoseToActivePose
void ApplyOriginalPoseToActivePose()
Definition: IKSolver.cpp:483
Urho3D::Renderer2D::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: Renderer2D.cpp:222
Urho3D::ConstraintFriction2D::jointDef_
b2FrictionJointDef jointDef_
Box2D joint def.
Definition: ConstraintFriction2D.h:64
Urho3D::UIElement::GetSize
const IntVector2 & GetSize() const
Return size.
Definition: UIElement.h:412
Urho3D::Geometry::indexBuffer_
SharedPtr< IndexBuffer > indexBuffer_
Index buffer.
Definition: Geometry.h:119
Urho3D::Connection::Disconnect
void Disconnect(int waitMSec=0)
Disconnect. If wait time is non-zero, will block while waiting for disconnect to finish.
Definition: Connection.cpp:254
Urho3D::ConstraintDistance2D::SetLength
void SetLength(float length)
Set length.
Definition: ConstraintDistance2D.cpp:112
Urho3D::Light::perVertex_
bool perVertex_
Per-vertex lighting flag.
Definition: Light.h:393
Urho3D::StaticModel::ApplyMaterialList
void ApplyMaterialList(const String &fileName=String::EMPTY)
Apply default materials from a material list file. If filename is empty (default),...
Definition: StaticModel.cpp:302
Urho3D::Geometry::indexStart_
unsigned indexStart_
Start index.
Definition: Geometry.h:123
Urho3D::LuaFunction::luaState_
lua_State * luaState_
Lua state.
Definition: LuaFunction.h:103
Urho3D::RenderPath::AddCommand
void AddCommand(const RenderPathCommand &command)
Add a command to the end of the list.
Definition: RenderPath.cpp:474
Urho3D::Node::OnAttributeAnimationAdded
void OnAttributeAnimationAdded() override
Handle attribute animation added.
Definition: Node.cpp:1901
Urho3D::Pass::SetPixelShaderDefines
void SetPixelShaderDefines(const String &defines)
Set pixel shader defines. Separate multiple defines with spaces.
Definition: Technique.cpp:153
Urho3D::RibbonTrail::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post-update event.
Definition: RibbonTrail.cpp:180
Urho3D::Audio::Play
bool Play()
Restart sound output.
Definition: Audio.cpp:137
Urho3D::TextureCube::~TextureCube
~TextureCube() override
Destruct.
Definition: TextureCube.cpp:74
Urho3D::String::End
Iterator End()
Return iterator to the end.
Definition: Str.h:386
Urho3D::ScriptFile::subscribed_
bool subscribed_
Subscribed to application update event flag.
Definition: ScriptFile.h:138
Urho3D::FileWatcher::fileSystem_
SharedPtr< FileSystem > fileSystem_
Filesystem.
Definition: FileWatcher.h:69
Urho3D::BillboardSet::GetNetBillboardsAttr
const PODVector< unsigned char > & GetNetBillboardsAttr() const
Return billboards attribute for network replication.
Definition: BillboardSet.cpp:452
Urho3D::DbResult::numAffectedRows_
long numAffectedRows_
Number of affected rows by recent DML query.
Definition: ODBCResult.h:70
Urho3D::RWOpsWrapper::GetRWOps
SDL_RWops * GetRWOps()
Return the RWOps structure.
Definition: RWOpsWrapper.h:49
Urho3D::Node::GetTransform
Matrix3x4 GetTransform() const
Return parent space transform matrix.
Definition: Node.h:404
Urho3D::Color::RED
static const Color RED
Opaque red color.
Definition: Color.h:271
Urho3D::Vector::Insert
Iterator Insert(const Iterator &dest, T &&value)
Move-insert an element by iterator.
Definition: Vector.h:311
Urho3D::UIComponent::viewportIndex_
unsigned viewportIndex_
Viewport index to be set when component is added to a node.
Definition: UIComponent.h:75
Urho3D::UIElement::clipChildren_
bool clipChildren_
Clip children flag.
Definition: UIElement.h:696
Urho3D::ListView::UpdateSelectionEffect
void UpdateSelectionEffect()
Update selection effect when selection or focus changes.
Definition: ListView.cpp:979
Urho3D::RenderSurface::GetMultiSample
int GetMultiSample() const
Return multisampling level.
Definition: RenderSurface.cpp:97
Urho3D::ValueAnimation::splineTension_
float splineTension_
Spline tension.
Definition: ValueAnimation.h:155
Urho3D::Deserializer::ReadRect
Rect ReadRect()
Read a Rect.
Definition: Deserializer.cpp:159
Urho3D::RefCount
Reference count structure.
Definition: RefCounted.h:35
Urho3D::RigidBody2D::useFixtureMass_
bool useFixtureMass_
Use fixture mass (calculate mass & inertia from collision shapes automatically).
Definition: RigidBody2D.h:177
Urho3D::FileSelector::GetCancelButton
Button * GetCancelButton() const
Return cancel button.
Definition: FileSelector.h:105
Urho3D::UIElement::layoutMinSize_
IntVector2 layoutMinSize_
Parent's minimum size calculated by layout. Used internally.
Definition: UIElement.h:781
Urho3D::Component::SetEnabled
void SetEnabled(bool enable)
Set enabled/disabled state.
Definition: Component.cpp:120
Urho3D::AnimatedModel::FinalizeBoneBoundingBoxes
void FinalizeBoneBoundingBoxes()
Finalize master model bone bounding boxes by merging from matching non-master bones....
Definition: AnimatedModel.cpp:1013
Urho3D::PODVector::operator==
bool operator==(const PODVector< T > &rhs) const
Test for equality with another vector.
Definition: Vector.h:779
Urho3D::Input::SetMouseModeRelative
void SetMouseModeRelative(SDL_bool enable)
Set SDL mouse mode relative.
Definition: Input.cpp:836
Urho3D::Texture2D::Create
bool Create() override
Create the GPU texture.
Definition: OGLTexture2D.cpp:367
Urho3D::RibbonTrail::bufferDirty_
bool bufferDirty_
Vertex buffer needs rewrite flag.
Definition: RibbonTrail.h:213
Urho3D::Terrain::GetEastNeighbor
Terrain * GetEastNeighbor() const
Return east neighbor terrain.
Definition: Terrain.h:154
Urho3D::UIComponent
Definition: UIComponent.h:39
Urho3D::ObjectAnimation::GetAttributeAnimation
ValueAnimation * GetAttributeAnimation(const String &name) const
Return attribute animation by name.
Definition: ObjectAnimation.cpp:235
Urho3D::Slider
Slider bar UI element.
Definition: Slider.h:31
Urho3D::AnimationSet2D::Dispose
void Dispose()
Dispose all data.
Definition: AnimationSet2D.cpp:508
Urho3D::UI::DragData
Data structure used to represent the drag data associated to a UIElement.
Definition: UI.h:230
Urho3D::Vector3::Vector3
Vector3() noexcept
Construct a zero vector.
Definition: Vector3.h:188
Urho3D::Engine::Exit
void Exit()
Close the graphics window and set the exit flag. No-op on iOS/tvOS, as an iOS/tvOS application can no...
Definition: Engine.cpp:597
Urho3D::Vector3::ZERO
static const Vector3 ZERO
Zero vector.
Definition: Vector3.h:481
Urho3D::RaycastVehicle::SetWheelDampingRelaxation
void SetWheelDampingRelaxation(int wheel, float damping)
Set wheel damping relaxation.
Definition: RaycastVehicle.cpp:480
Urho3D::UI::tempElements_
PODVector< UIElement * > tempElements_
UI element query vector.
Definition: UI.h:373
Urho3D::View::maxOccluderTriangles_
int maxOccluderTriangles_
Maximum number of occluder triangles.
Definition: View.h:362
Urho3D::TextureCube::Release
void Release() override
Release the texture.
Definition: OGLTextureCube.cpp:79
Urho3D::VectorBuffer
Dynamically sized buffer that can be read and written to as a stream.
Definition: VectorBuffer.h:31
Urho3D::Color::Lerp
Color Lerp(const Color &rhs, float t) const
Return linear interpolation of this color with another color.
Definition: Color.cpp:240
Urho3D::HttpRequest::GetVerb
const String & GetVerb() const
Return verb used in the request. Default GET if empty verb specified on construction.
Definition: HttpRequest.h:68
Urho3D::Pass::lightingMode_
PassLightingMode lightingMode_
Lighting mode.
Definition: Technique.h:156
Urho3D::ObjectAnimation::SendAttributeAnimationAddedEvent
void SendAttributeAnimationAddedEvent(const String &name)
Send attribute animation added event.
Definition: ObjectAnimation.cpp:261
Urho3D::Pass::GetVertexShaders
Vector< SharedPtr< ShaderVariation > > & GetVertexShaders()
Return vertex shaders.
Definition: Technique.h:132
Urho3D::Renderer2D::material_
SharedPtr< Material > material_
Material.
Definition: Renderer2D.h:119
Urho3D::Rect::IsInside
Intersection IsInside(const Rect &rect) const
Test if another rect is inside, outside or intersects.
Definition: Rect.h:221
Urho3D::FlagSet::operator=
FlagSet & operator=(const FlagSet &rhs)=default
Assignment operator from flagset.
Urho3D::AnimationControl::AnimationControl
AnimationControl()
Construct with defaults.
Definition: AnimationController.h:40
Urho3D::Button::GetRepeatDelay
float GetRepeatDelay() const
Return repeat delay.
Definition: Button.h:83
Urho3D::Particle2D::size_
float size_
Size.
Definition: ParticleEmitter2D.h:42
Urho3D::HashSet::Begin
Iterator Begin()
Return iterator to the beginning.
Definition: HashSet.h:501
Urho3D::LineEdit::~LineEdit
~LineEdit() override
Destruct.
Urho3D::ResourceCache::GetResourceDirs
const Vector< String > & GetResourceDirs() const
Return added resource load directories.
Definition: ResourceCache.h:158
Urho3D::LuaScriptEventInvoker
Lua script event invoker.
Definition: LuaScriptEventInvoker.h:34
Urho3D::ParticleEmitter::emissionTimer_
float emissionTimer_
New particle emission timer.
Definition: ParticleEmitter.h:140
Urho3D::DecalSet::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: DecalSet.cpp:197
Urho3D::UIElement::LoadChildXML
virtual UIElement * LoadChildXML(const XMLElement &childElem, XMLFile *styleFile)
Create a child by loading from XML data with style. Returns the child element if successful,...
Definition: UIElement.cpp:262
Urho3D::ParticleEmitter2D::GetMaxParticles
unsigned GetMaxParticles() const
Return max particles.
Definition: ParticleEmitter2D.h:111
Urho3D::NetworkPriority::SetAlwaysUpdateOwner
void SetAlwaysUpdateOwner(bool enable)
Set whether updates to owner should be sent always at full rate. Default true.
Definition: NetworkPriority.cpp:79
Urho3D::HttpRequest::verb_
String verb_
Verb.
Definition: HttpRequest.h:87
Urho3D::RibbonTrail::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: RibbonTrail.cpp:406
Urho3D::UIElement::SetDefaultStyle
void SetDefaultStyle(XMLFile *style)
Set default style file for later use by children elements.
Definition: UIElement.cpp:1039
Urho3D::PhysicsWorld::rigidBodies_
PODVector< RigidBody * > rigidBodies_
Rigid bodies in the world.
Definition: PhysicsWorld.h:316
Urho3D::ScriptFile::~ScriptFile
~ScriptFile() override
Destruct.
Definition: ScriptFile.cpp:104
Urho3D::PhysicsWorld::debugRenderer_
DebugRenderer * debugRenderer_
Debug renderer.
Definition: PhysicsWorld.h:360
Urho3D::ParticleEffect::GetFaceCameraMode
FaceCameraMode GetFaceCameraMode() const
Return how the particles rotate in relation to the camera.
Definition: ParticleEffect.h:335
Urho3D::Sound::GetData
SharedArrayPtr< signed char > GetData() const
Return shared sound data.
Definition: Sound.h:70
Urho3D::StaticSprite2D::hotSpot_
Vector2 hotSpot_
Hot spot.
Definition: StaticSprite2D.h:162
Urho3D::Node::scale_
Vector3 scale_
Scale.
Definition: Node.h:693
Urho3D::LogBaseTwo
unsigned LogBaseTwo(unsigned value)
Return log base two or the MSB position of the given value.
Definition: MathDefs.h:261
Urho3D::Button::pressedChildOffset_
IntVector2 pressedChildOffset_
Pressed label offset.
Definition: Button.h:98
Urho3D::SoundSource::panning_
float panning_
Stereo panning.
Definition: SoundSource.h:142
Urho3D::Vector3::Orthogonalize
Vector3 Orthogonalize(const Vector3 &axis) const
Make vector orthogonal to the axis.
Definition: Vector3.h:389
Urho3D::Model::SetMorphs
void SetMorphs(const Vector< ModelMorph > &morphs)
Set vertex morphs.
Definition: Model.cpp:612
Urho3D::Camera::projectionDirty_
bool projectionDirty_
Projection matrix dirty flag.
Definition: Camera.h:238
Urho3D::JSONFile::Save
bool Save(Serializer &dest) const override
Save resource with default indentation (one tab). Return true if successful.
Definition: JSONFile.cpp:213
Urho3D::View::currentRenderTarget_
RenderSurface * currentRenderTarget_
Color rendertarget active for the current renderpath command.
Definition: View.h:338
Urho3D::UI::RenderUpdate
void RenderUpdate()
Update the UI for rendering. Called by HandleRenderUpdate().
Definition: UI.cpp:414
Urho3D::AllContentOctreeQuery::TestDrawables
void TestDrawables(Drawable **start, Drawable **end, bool inside) override
Intersection test for drawables.
Definition: OctreeQuery.cpp:126
Urho3D::TileMapLayer2D::visible_
bool visible_
Visible.
Definition: TileMapLayer2D.h:125
Urho3D::Button::SetRepeat
void SetRepeat(float delay, float rate)
Set repeat properties. Rate 0 (default) disables repeat.
Definition: Button.cpp:177
Urho3D::AnimationController::GetWeight
float GetWeight(const String &name) const
Return animation weight.
Definition: AnimationController.cpp:507
Urho3D::OcclusionBuffer::ResetUseTimer
void ResetUseTimer()
Reset last used timer.
Definition: OcclusionBuffer.cpp:331
Urho3D::ConstraintPulley2D::GetOtherBodyGroundAnchor
const Vector2 & GetOtherBodyGroundAnchor() const
return other body ground anchor.
Definition: ConstraintPulley2D.h:58
Urho3D::UIElement::layoutBorder_
IntRect layoutBorder_
Layout borders.
Definition: UIElement.h:724
Urho3D::PhysicsWorld::GetCollidingBodies
void GetCollidingBodies(PODVector< RigidBody * > &result, const RigidBody *body)
Return rigid bodies that have been in collision with the specified body on the last simulation step....
Definition: PhysicsWorld.cpp:681
Urho3D::NavAreaStub::areaID_
unsigned char areaID_
Area ID.
Definition: NavBuildData.h:50
Urho3D::List::Contains
bool Contains(const T &value) const
Return whether contains a specific value.
Definition: List.h:391
Urho3D::Plane::Distance
float Distance(const Vector3 &point) const
Return signed distance to a point.
Definition: Plane.h:100
Urho3D::Text::GetTextAlignment
HorizontalAlignment GetTextAlignment() const
Return row alignment.
Definition: Text.h:139
Urho3D::RibbonTrail::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: RibbonTrail.cpp:105
Urho3D::ShaderVariation::GetName
const String & GetName() const
Return shader name.
Definition: ShaderVariation.h:108
Urho3D::IntRect::left_
int left_
Left coordinate.
Definition: Rect.h:461
Urho3D::HashBase::Empty
bool Empty() const
Return whether has no elements.
Definition: HashBase.h:133
Urho3D::ParticleEffect::numParticles_
unsigned numParticles_
Number of particles.
Definition: ParticleEffect.h:361
Urho3D::FileSelector::window_
SharedPtr< Window > window_
Fileselector window.
Definition: FileSelector.h:149
Urho3D::Terrain::GetWestNeighbor
Terrain * GetWestNeighbor() const
Return west neighbor terrain.
Definition: Terrain.h:151
Urho3D::Camera::fov_
float fov_
Field of view.
Definition: Camera.h:252
Urho3D::Pass::depthWrite_
bool depthWrite_
Depth write mode.
Definition: Technique.h:160
Urho3D::ParticleEffect::fixedScreenSize_
bool fixedScreenSize_
Billboards fixed screen size flag.
Definition: ParticleEffect.h:371
Urho3D::DynamicNavigationMesh::AddTile
bool AddTile(const PODVector< unsigned char > &tileData) override
Add tile to navigation mesh.
Definition: DynamicNavigationMesh.cpp:555
Urho3D::AnimationBlendMode
AnimationBlendMode
Animation blending mode.
Definition: AnimationState.h:42
Urho3D::Object::GetEventDataMap
VariantMap & GetEventDataMap() const
Return a preallocated map for event data. Used for optimization to avoid constant re-allocation of ev...
Definition: Object.cpp:401
Urho3D::FontFace::pointSize_
float pointSize_
Point size.
Definition: FontFace.h:112
Urho3D::ConstraintFriction2D::ConstraintFriction2D
ConstraintFriction2D(Context *context)
Construct.
Definition: ConstraintFriction2D.cpp:37
Urho3D::SoundSource3D::GetNearDistance
float GetNearDistance() const
Return near distance.
Definition: SoundSource3D.h:66
Urho3D::ShaderProgram::ClearParameterSource
void ClearParameterSource(ShaderParameterGroup group)
Clear a parameter source. Affects only the current shader program if appropriate.
Definition: OGLShaderProgram.cpp:387
Urho3D::SceneResolver::Reset
void Reset()
Reset. Clear all remembered nodes and components.
Definition: SceneResolver.cpp:39
Urho3D::RigidBody::GetNetAngularVelocityAttr
const PODVector< unsigned char > & GetNetAngularVelocityAttr() const
Return network angular velocity attribute.
Definition: RigidBody.cpp:855
Urho3D::Polyhedron::SetFace
void SetFace(unsigned index, const Vector3 &v0, const Vector3 &v1, const Vector3 &v2)
Set a triangle face by index.
Definition: Polyhedron.cpp:293
Urho3D::WeakArrayPtr::ptr_
T * ptr_
Pointer to the array.
Definition: ArrayPtr.h:426
Urho3D::GPUObject::GPUObject
GPUObject(Graphics *graphics)
Construct with graphics subsystem pointer.
Definition: GPUObject.cpp:33
Urho3D::Sprite2D::SetTexture
void SetTexture(Texture2D *texture)
Set texture.
Definition: Sprite2D.cpp:104
Urho3D::SoundSource::audio_
WeakPtr< Audio > audio_
Audio subsystem.
Definition: SoundSource.h:130
Urho3D::Vector::Push
void Push(const T &value)
Add an element at the end.
Definition: Vector.h:241
Urho3D::Node::RemoveComponent
void RemoveComponent()
Template version of removing a component.
Definition: Node.h:720
Urho3D::View3D::SetFormat
void SetFormat(unsigned format)
Set render texture pixel format. Default is RGB.
Definition: View3D.cpp:110
Urho3D::UI::GetFontOversampling
int GetFontOversampling() const
Get the oversampling (horizonal stretching) used to improve subpixel font rendering....
Definition: UI.h:212
Urho3D::StaticModel::GetNumGeometries
unsigned GetNumGeometries() const
Return number of geometries.
Definition: StaticModel.h:80
Urho3D::AnimationController::FadeOthers
bool FadeOthers(const String &name, float targetWeight, float fadeTime)
Fade other animations on the same layer to target weight. Return true on success.
Definition: AnimationController.cpp:269
Urho3D::UIElement::dragDropMode_
DragAndDropModeFlags dragDropMode_
Drag and drop flags.
Definition: UIElement.h:718
Urho3D::ScrollView::HandleTouchMove
void HandleTouchMove(StringHash eventType, VariantMap &eventData)
Handle touch move event for scrolling.
Definition: ScrollView.cpp:551
Urho3D::Button::Update
void Update(float timeStep) override
Perform UI element update.
Definition: Button.cpp:66
Urho3D::Light::lightQueue_
LightBatchQueue * lightQueue_
Light queue.
Definition: Light.h:369
Urho3D::VectorBuffer::SetData
void SetData(const PODVector< unsigned char > &data)
Set data from another buffer.
Definition: VectorBuffer.cpp:92
Urho3D::RenderPathCommand::pixelShaderName_
String pixelShaderName_
Pixel shader name.
Definition: RenderPath.h:152
Urho3D::Serializer::WriteString
bool WriteString(const String &value)
Write a null-terminated string.
Definition: Serializer.cpp:182
Urho3D::RenderSurface::GetSurface
void * GetSurface() const
Return Direct3D9 surface.
Definition: RenderSurface.h:105
Urho3D::XMLElement::NextResult
XMLElement NextResult() const
Return next XPath query result. Only valid when this instance of XMLElement is itself one of the quer...
Definition: XMLElement.cpp:995
Urho3D::NamedPipe::IsOpen
bool IsOpen() const
Return whether is open.
Definition: NamedPipe.cpp:344
Urho3D::TrailPoint::parentPos_
Vector3 parentPos_
Parent position. Trail bone type uses this.
Definition: RibbonTrail.h:53
Urho3D::UIElement::SetFocus
void SetFocus(bool enable)
Set whether is focused. Only one element can be focused at a time.
Definition: UIElement.cpp:929
Urho3D::Matrix3x4::Translation
Vector3 Translation() const
Return the translation part.
Definition: Matrix3x4.h:603
Urho3D::Context::GetAllAttributes
const HashMap< StringHash, Vector< AttributeInfo > > & GetAllAttributes() const
Return all registered attributes.
Definition: Context.h:184
Urho3D::Object::GetSubsystem
T * GetSubsystem() const
Template version of returning a subsystem.
Definition: Object.h:196
Urho3D::ParticleEmitter2D::SetMaxParticles
void SetMaxParticles(unsigned maxParticles)
Set max particles.
Definition: ParticleEmitter2D.cpp:130
Urho3D::FlagSet::Test
bool Test(const Enum value) const
Return true if specified enum value is set.
Definition: FlagSet.h:214
Urho3D::ListView::GetItems
PODVector< UIElement * > GetItems() const
Return all items.
Definition: ListView.cpp:838
Urho3D::Object::GetBlockEvents
bool GetBlockEvents() const
Return sending and receiving events blocking status.
Definition: Object.h:173
Urho3D::SoundSource::MixMonoToMono
void MixMonoToMono(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix mono sample to mono buffer.
Definition: SoundSource.cpp:605
Urho3D::DebugRenderer::SetLineAntiAlias
void SetLineAntiAlias(bool enable)
Set line antialiasing on/off. Default false.
Definition: DebugRenderer.cpp:67
Urho3D::HashSet::operator!=
bool operator!=(const HashSet< T > &rhs) const
Test for inequality with another hash set.
Definition: HashSet.h:270
Urho3D::DynamicNavigationMesh::GetNavigationDataAttr
PODVector< unsigned char > GetNavigationDataAttr() const override
Return navigation data attribute.
Definition: DynamicNavigationMesh.cpp:725
Urho3D::Pass::GetDepthWrite
bool GetDepthWrite() const
Return depth write mode.
Definition: Technique.h:105
Urho3D::HashMap::Front
const KeyValue & Front() const
Return first pair.
Definition: HashMap.h:616
Urho3D::Scene::networkUpdateNodes_
HashSet< unsigned > networkUpdateNodes_
Nodes to check for attribute changes on the next network update.
Definition: Scene.h:304
Urho3D::TouchState::GetTouchedElement
UIElement * GetTouchedElement()
Return last touched UI element, used by scripting integration.
Definition: Input.cpp:81
Urho3D::ParticleEffect::SetMaxTimeToLive
void SetMaxTimeToLive(float time)
Set particle maximum time to live.
Definition: ParticleEffect.cpp:545
Urho3D::LightBatchQueue::shadowSplits_
Vector< ShadowBatchQueue > shadowSplits_
Shadow map split queues.
Definition: Batch.h:305
Urho3D::JSONValue::Resize
void Resize(unsigned newSize)
Resize array.
Definition: JSONValue.cpp:234
Urho3D::TmxFile2D::GetTilePropertySet
PropertySet2D * GetTilePropertySet(unsigned gid) const
Return tile property set by gid, if not exist return 0.
Definition: TmxFile2D.cpp:574
Urho3D::Button::OnClickBegin
void OnClickBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse click begin.
Definition: Button.cpp:106
Urho3D::Sphere::Sphere
Sphere(const Vector3 *vertices, unsigned count) noexcept
Construct from an array of vertices.
Definition: Sphere.h:56
Urho3D::ScrollView::UpdateView
void UpdateView(const IntVector2 &position)
Limit and update the view with a new position.
Definition: ScrollView.cpp:499
Urho3D::WorkItem
Work queue item.
Definition: WorkQueue.h:43
Urho3D::ResourceRef::type_
StringHash type_
Object type.
Definition: Variant.h:125
Urho3D::UI::GetUseSystemClipboard
bool GetUseSystemClipboard() const
Return whether is using the system clipboard.
Definition: UI.h:194
Urho3D::HashSet::Sort
void Sort()
Sort keys. After sorting the set can be iterated in order until new elements are inserted.
Definition: HashSet.h:412
Urho3D::TerrainPatch::GetCorrectedLodLevel
unsigned GetCorrectedLodLevel(unsigned lodLevel)
Return a corrected LOD level to ensure stitching can work correctly.
Definition: TerrainPatch.cpp:278
Urho3D::DynamicNavBuildData
Definition: NavBuildData.h:102
Urho3D::AnimationController::StopAll
void StopAll(float fadeOutTime=0.0f)
Stop all animations. Zero fadetime is instant.
Definition: AnimationController.cpp:241
Urho3D::OctreeQuery
Base class for octree queries.
Definition: OctreeQuery.h:40
Urho3D::SoundSource::soundStream_
SharedPtr< SoundStream > soundStream_
Sound stream that is being played.
Definition: SoundSource.h:183
Urho3D::FontType
FontType
Font file type.
Definition: Font.h:39
Urho3D::BorderImage::SetImageRect
void SetImageRect(const IntRect &rect)
Set part of texture to use as the image.
Definition: BorderImage.cpp:85
Urho3D::Text3D::GetMaterialAttr
ResourceRef GetMaterialAttr() const
Return material attribute.
Definition: Text3D.cpp:561
Urho3D::HttpRequest::GetAvailableSize
unsigned GetAvailableSize() const
Return amount of bytes in the read buffer.
Definition: HttpRequest.cpp:293
Urho3D::PListFile::LoadArray
bool LoadArray(PListValueVector &array, const XMLElement &arrayElem)
Load array.
Definition: PListFile.cpp:366
Urho3D::PhysicsWorld::interpolation_
bool interpolation_
Interpolation flag.
Definition: PhysicsWorld.h:350
Urho3D::DecalSet::CalculateUVs
void CalculateUVs(Decal &decal, const Matrix3x4 &view, const Matrix4 &projection, const Vector2 &topLeftUV, const Vector2 &bottomRightUV)
Calculate UV coordinates for the decal.
Definition: DecalSet.cpp:960
Urho3D::SoundSource::SetGain
void SetGain(float gain)
Set gain. 0.0 is silence, 1.0 is full volume.
Definition: SoundSource.cpp:290
Urho3D::Material::RefreshMemoryUse
void RefreshMemoryUse()
Recalculate the memory used by the material.
Definition: Material.cpp:1302
Urho3D::ParticleEffect::sizeMin_
Vector2 sizeMin_
Particle size minimum.
Definition: ParticleEffect.h:395
Urho3D::List::Push
void Push(const T &value)
Insert an element to the end.
Definition: List.h:280
Urho3D::ObjectFactoryImpl::ObjectFactoryImpl
ObjectFactoryImpl(Context *context)
Construct.
Definition: Object.h:236
Urho3D::WeakPtr::~WeakPtr
~WeakPtr() noexcept
Destruct. Release the weak reference to the object.
Definition: Ptr.h:322
Urho3D::UIElement::HasColorGradient
bool HasColorGradient() const
Return whether has different color in at least one corner.
Definition: UIElement.h:535
Urho3D::NavArea::SetBoundingBox
void SetBoundingBox(const BoundingBox &bnds)
Set the bounding box of this area, in local space.
Definition: NavArea.h:56
Urho3D::UIElement::SetFixedHeight
void SetFixedHeight(int height)
Set fixed height.
Definition: UIElement.cpp:664
Urho3D::BillboardSet::geometry_
SharedPtr< Geometry > geometry_
Geometry.
Definition: BillboardSet.h:183
Urho3D::View::noStencil_
bool noStencil_
Whether is using a custom readable depth texture without a stencil channel.
Definition: View.h:382
Urho3D::DebugHud::Update
void Update()
Update. Called by HandlePostUpdate().
Definition: DebugHud.cpp:114
Urho3D::RigidBody2D::SetMass
void SetMass(float mass)
Set mass.
Definition: RigidBody2D.cpp:127
Urho3D::JSONValue::JSONValue
JSONValue(const char *value)
Construct with a C string.
Definition: JSONValue.h:119
Urho3D::ModelMorph
Definition of a model's vertex morph.
Definition: Model.h:54
Urho3D::Vertex2D::position_
Vector3 position_
Position.
Definition: Drawable2D.h:40
Urho3D::Shader::numVariations_
unsigned numVariations_
Number of unique variations so far.
Definition: Shader.h:81
Urho3D::ShaderVariation::definesClipPlane_
String definesClipPlane_
Defines to use in compiling + CLIPPLANE define appended. Used only on Direct3D11.
Definition: ShaderVariation.h:174
Urho3D::Material::GetShaderParameterAnimationWrapMode
WrapMode GetShaderParameterAnimationWrapMode(const String &name) const
Return shader parameter animation wrap mode.
Definition: Material.cpp:1215
Urho3D::CrowdManager::CreateCrowd
bool CreateCrowd()
Create and initialized internal Detour crowd object. When it is a recreate, it preserves the configur...
Definition: CrowdManager.cpp:568
Urho3D::RenderSurface::SetLinkedDepthStencil
void SetLinkedDepthStencil(RenderSurface *depthStencil)
Set linked depth-stencil surface.
Definition: RenderSurface.cpp:66
Urho3D::RaycastVehicle::activate_
bool activate_
If the RigidBody should be activated.
Definition: RaycastVehicle.h:186
Urho3D::ProgressBar::showPercentText_
bool showPercentText_
Flag to show the percent text.
Definition: ProgressBar.h:106
Urho3D::Sphere::Merge
void Merge(const Vector3 &point)
Merge a point.
Definition: Sphere.h:111
Urho3D::Connection::~Connection
~Connection() override
Destruct.
Definition: Connection.cpp:88
Urho3D::Renderer::SetNumExtraInstancingBufferElements
void SetNumExtraInstancingBufferElements(int elements)
Set number of extra instancing buffer elements. Default is 0. Extra 4-vectors are available through T...
Definition: Renderer.cpp:467
Urho3D::DebugHud::ResetAppStats
bool ResetAppStats(const String &label)
Reset application-specific stats. Return true if it was erased successfully.
Definition: DebugHud.cpp:293
Urho3D::View::SetupShadowCameras
void SetupShadowCameras(LightQueryResult &query)
Set up initial shadow camera view(s).
Definition: View.cpp:2521
Urho3D::ParticleEffect::AddTextureTime
void AddTextureTime(const Rect &uv, float time)
Add a texture frame sorted in the correct position based on time.
Definition: ParticleEffect.cpp:666
Urho3D::StaticSprite2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: StaticSprite2D.cpp:271
Urho3D::NavArea::GetAreaID
unsigned GetAreaID() const
Get the area id for this volume.
Definition: NavArea.h:47
Urho3D::View::occluders_
PODVector< Drawable * > occluders_
Occluder objects.
Definition: View.h:400
Urho3D::Terrain::northID_
unsigned northID_
Node ID of north neighbor.
Definition: Terrain.h:317
Urho3D::RenderPathCommand::vertexLights_
bool vertexLights_
Vertex lights flag.
Definition: RenderPath.h:184
Urho3D::UIElement::SetIndent
void SetIndent(int indent)
Set horizontal indentation.
Definition: UIElement.cpp:1077
Urho3D::XMLElement::EMPTY
static const XMLElement EMPTY
Empty XMLElement.
Definition: XMLElement.h:303
Urho3D::NavBuildData::ctx_
rcContext * ctx_
Recast context.
Definition: NavBuildData.h:78
Urho3D::AnimatedModel::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: AnimatedModel.cpp:259
Urho3D::HashSet::Node::Prev
Node * Prev() const
Return previous node.
Definition: HashSet.h:57
Urho3D::Frustum::Frustum
Frustum() noexcept=default
Construct a degenerate frustum with all points at origin.
Urho3D::Window
Window UI element that can optionally by moved or resized.
Definition: Window.h:48
Urho3D::CrowdAgent::GetQueryFilterType
unsigned GetQueryFilterType() const
Get the agent's query filter type.
Definition: CrowdAgent.h:163
Urho3D::Script::moduleMutex_
Mutex moduleMutex_
Script module create/delete mutex.
Definition: Script.h:145
Urho3D::UI::SetUseScreenKeyboard
void SetUseScreenKeyboard(bool enable)
Set whether to show the on-screen keyboard (if supported) when a LineEdit is focused....
Definition: UI.cpp:686
Urho3D::CA_STATE_INVALID
@ CA_STATE_INVALID
The agent is not in a valid state.
Definition: CrowdAgent.h:53
Urho3D::OcclusionBuffer::GetUseTimer
unsigned GetUseTimer()
Return time since last use in milliseconds.
Definition: OcclusionBuffer.cpp:458
Urho3D::Script::DecScriptNestingLevel
void DecScriptNestingLevel()
Decrease script nesting level.
Definition: Script.h:116
Urho3D::Color::Color
Color(const Color &color, float a) noexcept
Construct from another color and modify the alpha.
Definition: Color.h:66
Urho3D::IndexBuffer::Release
void Release() override
Release buffer.
Definition: OGLIndexBuffer.cpp:57
Urho3D::Vector2::Lerp
Vector2 Lerp(const Vector2 &rhs, float t) const
Linear interpolation with another vector.
Definition: Vector2.h:322
Urho3D::ParticleEffect2D::GetStartParticleSizeVariance
float GetStartParticleSizeVariance() const
Return start particle size variance.
Definition: ParticleEffect2D.h:194
Urho3D::RigidBody2D::SetLinearVelocity
void SetLinearVelocity(const Vector2 &linearVelocity)
Set linear velocity.
Definition: RigidBody2D.cpp:298
Urho3D::BillboardSet::GetNumBillboards
unsigned GetNumBillboards() const
Return number of billboards.
Definition: BillboardSet.h:107
Urho3D::PODVector::Capacity
unsigned Capacity() const
Return capacity of vector.
Definition: Vector.h:1155
Urho3D::Input::GetJoystickByIndex
JoystickState * GetJoystickByIndex(unsigned index)
Return joystick state by index, or null if does not exist. 0 = first connected joystick.
Definition: Input.cpp:1451
Urho3D::DecalSet::AddDecal
bool AddDecal(Drawable *target, const Vector3 &worldPosition, const Quaternion &worldRotation, float size, float aspectRatio, float depth, const Vector2 &topLeftUV, const Vector2 &bottomRightUV, float timeToLive=0.0f, float normalCutoff=0.1f, unsigned subGeometry=M_MAX_UNSIGNED)
Add a decal at world coordinates, using a target drawable's geometry for reference....
Definition: DecalSet.cpp:301
Urho3D::ParticleEffect2D::GetRotationStart
float GetRotationStart() const
Return rotation start.
Definition: ParticleEffect2D.h:230
Urho3D::CrowdAgent::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle node being assigned.
Definition: CrowdAgent.cpp:609
Urho3D::Octant::numDrawables_
unsigned numDrawables_
Number of drawable objects in this octant and child octants.
Definition: Octree.h:150
Urho3D::Texture::GetSRGBFormat
unsigned GetSRGBFormat(unsigned format)
Convert format to sRGB. Not used on Direct3D9.
Definition: OGLTexture.cpp:305
Urho3D::Spline::RemoveKnot
void RemoveKnot()
Remove the last knot on the spline.
Definition: Spline.h:102
Urho3D::BorderImage::border_
IntRect border_
Border dimensions on screen.
Definition: BorderImage.h:121
Urho3D::TextureCube::TextureCube
TextureCube(Context *context)
Construct.
Definition: TextureCube.cpp:61
Urho3D::Geometry::lodDistance_
float lodDistance_
LOD distance.
Definition: Geometry.h:131
Urho3D::Connection::IsClient
bool IsClient() const
Return whether is a client connection.
Definition: Connection.h:195
Urho3D::HashMap::KeyValue::operator!=
bool operator!=(const KeyValue &rhs) const
Test for inequality with another pair.
Definition: HashMap.h:73
Urho3D::LuaScript::functionNameToFunctionMap_
HashMap< String, SharedPtr< LuaFunction > > functionNameToFunctionMap_
Function name to function map.
Definition: LuaScript.h:129
Urho3D::ProgressBar::range_
float range_
ProgressBar range.
Definition: ProgressBar.h:102
Urho3D::ProgressBar::SetShowPercentText
void SetShowPercentText(bool enable)
Sets the flag to display the percent text.
Definition: ProgressBar.cpp:114
Urho3D::Renderer::SetMinInstances
void SetMinInstances(int instances)
Set minimum number of instances required in a batch group to render as instanced.
Definition: Renderer.cpp:476
Urho3D::CascadeParameters::CascadeParameters
CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust=1.0f)
Construct with initial values.
Definition: Light.h:87
Urho3D::Model::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Model.cpp:70
Urho3D::Audio::StopSound
void StopSound(Sound *sound)
Stop any sound source playing a certain sound clip.
Definition: Audio.cpp:197
Urho3D::Menu::GetAcceleratorKey
int GetAcceleratorKey() const
Return accelerator key code, 0 if disabled.
Definition: Menu.h:81
Urho3D::XMLFile::CreateRoot
XMLElement CreateRoot(const String &name)
Clear the document and create a root element.
Definition: XMLFile.cpp:144
Urho3D::JSONValue::GetInt
int GetInt(int defaultValue=0) const
Return integer value.
Definition: JSONValue.h:194
Urho3D::CustomVariantValueImpl::value_
T value_
Value.
Definition: Variant.h:271
Urho3D::IKSolver::~IKSolver
~IKSolver() override
Default destructor.
Definition: IKSolver.cpp:68
Urho3D::Texture::width_
int width_
Texture width.
Definition: Texture.h:217
Urho3D::Menu::FilterPopupImplicitAttributes
virtual bool FilterPopupImplicitAttributes(XMLElement &dest) const
Filter implicit attributes in serialization process.
Definition: Menu.cpp:346
Urho3D::TextureCube::loadParameters_
SharedPtr< XMLFile > loadParameters_
Parameter file acquired during BeginLoad.
Definition: TextureCube.h:91
Urho3D::HeightfieldData::minHeight_
float minHeight_
Minimum height.
Definition: CollisionShape.h:137
Urho3D::Renderer::StorePreparedView
void StorePreparedView(View *view, Camera *camera)
Mark a view as prepared by the specified culling camera.
Definition: Renderer.cpp:1142
Urho3D::HashMap::Node::Node
Node()=default
Construct undefined.
Urho3D::TileMapLayer2D::GetProperty
const String & GetProperty(const String &name) const
Return property.
Definition: TileMapLayer2D.cpp:262
Urho3D::Deserializer::position_
unsigned position_
Stream position.
Definition: Deserializer.h:147
Urho3D::ScriptInstance::SetScriptNetworkDataAttr
void SetScriptNetworkDataAttr(const PODVector< unsigned char > &data)
Set script network serialization attribute by calling a script function.
Definition: ScriptInstance.cpp:473
Urho3D::Text::GetCharSize
Vector2 GetCharSize(unsigned index)
Return size of character by index.
Definition: Text.cpp:431
Urho3D::ScrollView::HandleElementResized
void HandleElementResized(StringHash eventType, VariantMap &eventData)
Handle content element resized.
Definition: ScrollView.cpp:545
Urho3D::FontGlyph::page_
unsigned page_
Texture page. M_MAX_UNSIGNED if not yet resident on any texture.
Definition: FontFace.h:58
Urho3D::UIElement::dragButtonCount_
unsigned dragButtonCount_
Drag button count.
Definition: UIElement.h:748
Urho3D::WorkQueue::shutDown_
std::atomic< bool > shutDown_
Shutting down flag.
Definition: WorkQueue.h:140
Urho3D::Constraint::GetConstraintType
ConstraintType GetConstraintType() const
Return constraint type.
Definition: Constraint.h:107
Urho3D::Scene::FinishSaving
void FinishSaving(Serializer *dest) const
Finish saving. Sets the scene filename and checksum.
Definition: Scene.cpp:1281
Urho3D::Texture::SetParametersDirty
void SetParametersDirty()
Mark parameters dirty. Called by Graphics.
Definition: Texture.cpp:229
Urho3D::PhysicsWorld2D::SetDrawAabb
void SetDrawAabb(bool drawAabb)
Set draw aabb.
Definition: PhysicsWorld2D.cpp:364
Urho3D::FlagSet
A set of flags defined by an Enum.
Definition: FlagSet.h:46
Urho3D::UIElement::OnDragMove
virtual void OnDragMove(const IntVector2 &position, const IntVector2 &screenPosition, const IntVector2 &deltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor)
React to mouse drag motion.
Definition: UIElement.cpp:433
Urho3D::JSONValue::GetValueTypeName
String GetValueTypeName() const
Return value type's name.
Definition: JSONValue.cpp:176
Urho3D::ConstraintPulley2D::GetRatio
float GetRatio() const
Return ratio.
Definition: ConstraintPulley2D.h:67
Urho3D::Text::SetFontAttr
void SetFontAttr(const ResourceRef &value)
Set font attribute.
Definition: Text.cpp:443
Urho3D::Renderer::GetDefaultTechnique
Technique * GetDefaultTechnique() const
Return default non-textured material technique.
Definition: Renderer.cpp:564
Urho3D::OctreeQueryResult::drawable_
Drawable * drawable_
Drawable.
Definition: OctreeQuery.h:170
Urho3D::AnimatedModel::skinningDirty_
bool skinningDirty_
Skinning dirty flag.
Definition: AnimatedModel.h:251
Urho3D::LuaFile::hasExecuted_
bool hasExecuted_
Has executed.
Definition: LuaFile.h:64
Urho3D::VertexBuffer::GetElementMask
VertexMaskFlags GetElementMask() const
Return legacy vertex element mask. Note that both semantic and type must match the legacy element for...
Definition: VertexBuffer.h:103
Urho3D::Variant::Clear
void Clear()
Reset to empty.
Definition: Variant.h:560
Urho3D::FileSelector::cancelButton_
Button * cancelButton_
Cancel button.
Definition: FileSelector.h:167
Urho3D::Drawable::drawableFlags_
unsigned char drawableFlags_
Drawable flags.
Definition: Drawable.h:335
Urho3D::String::Resize
void Resize(unsigned newLength)
Resize the string.
Definition: Str.cpp:418
Urho3D::Animation::CreateTrack
AnimationTrack * CreateTrack(const String &name)
Create and return a track by name. If track by same name already exists, returns the existing.
Definition: Animation.cpp:300
Urho3D::ParticleEffect2D::minRadius_
float minRadius_
Min radius.
Definition: ParticleEffect2D.h:312
Urho3D::View::GetGeometries
const PODVector< Drawable * > & GetGeometries() const
Return geometry objects.
Definition: View.h:163
Urho3D::ScratchBuffer::size_
unsigned size_
Data size.
Definition: Graphics.h:75
Urho3D::HashSet::ReserveNode
Node * ReserveNode()
Reserve a node.
Definition: HashSet.h:603
Urho3D::UI::SetForceAutoHint
void SetForceAutoHint(bool enable)
Set whether to force font autohinting instead of using FreeType's TTF bytecode interpreter.
Definition: UI.cpp:700
Urho3D::CursorShapeInfo
Cursor image and hotspot information.
Definition: Cursor.h:55
Urho3D::Equals
bool Equals(T lhs, T rhs)
Check whether two floating point values are equal within accuracy.
Definition: MathDefs.h:71
Urho3D::WorkQueue::CreateThreads
void CreateThreads(unsigned numThreads)
Create worker threads. Can only be called once.
Definition: WorkQueue.cpp:86
Urho3D::UIBatch::useGradient_
bool useGradient_
Gradient flag.
Definition: UIBatch.h:95
Urho3D::ObjectAnimation::GetAttributeAnimationInfo
ValueAnimationInfo * GetAttributeAnimationInfo(const String &name) const
Return attribute animation info by name.
Definition: ObjectAnimation.cpp:253
Urho3D::ShadowBatchQueue::farSplit_
float farSplit_
Directional light cascade far split distance.
Definition: Batch.h:288
Urho3D::StaticSprite2D::GetUseTextureRect
bool GetUseTextureRect() const
Return whether to use custom-defined texture rectangle.
Definition: StaticSprite2D.h:110
Urho3D::Model::GetMorphRangeCount
unsigned GetMorphRangeCount(unsigned bufferIndex) const
Return vertex buffer morph range vertex count.
Definition: Model.cpp:778
Urho3D::Color::Lightness
float Lightness() const
Return lightness as defined for HSL: average of the largest and smallest values of the RGB components...
Definition: Color.cpp:151
Urho3D::BillboardSet::SetMaterialAttr
void SetMaterialAttr(const ResourceRef &value)
Set material attribute.
Definition: BillboardSet.cpp:362
Urho3D::CollisionChain2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionChain2D.cpp:47
Urho3D::BackgroundLoader::QueueResource
bool QueueResource(StringHash type, const String &name, bool sendEventOnFailure, Resource *caller)
Queue loading of a resource. The name must be sanitated to ensure consistent format....
Urho3D::StringHashRegister::Contains
bool Contains(const StringHash &hash) const
Return whether the string in contained in the register.
Definition: StringHashRegister.cpp:89
Urho3D::Text::GetEffectDepthBias
float GetEffectDepthBias() const
Return effect Z bias.
Definition: Text.h:191
Urho3D::LineEdit::OnDragBegin
void OnDragBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag begin.
Definition: LineEdit.cpp:139
Urho3D::Viewport
Viewport definition either for a render surface or the backbuffer.
Definition: Viewport.h:41
Urho3D::DecalSet::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: DecalSet.cpp:203
Urho3D::VectorBase::buffer_
unsigned char * buffer_
Buffer.
Definition: VectorBase.h:68
Urho3D::CrowdManager::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CrowdManager.cpp:94
Urho3D::StaticModel::DrawOcclusion
bool DrawOcclusion(OcclusionBuffer *buffer) override
Draw to occlusion buffer. Return true if did not run out of triangles.
Definition: StaticModel.cpp:189
Urho3D::Technique::GetSupportedPass
Pass * GetSupportedPass(unsigned passIndex) const
Return a pass that is supported for rendering, or null if not found.
Definition: Technique.h:237
Urho3D::ListView::GetSelection
unsigned GetSelection() const
Return first selected index, or M_MAX_UNSIGNED if none selected.
Definition: ListView.cpp:884
Urho3D::NavigationMesh::BuildTiles
unsigned BuildTiles(Vector< NavigationGeometryInfo > &geometryList, const IntVector2 &from, const IntVector2 &to)
Build tiles in the rectangular area. Return number of built tiles.
Definition: NavigationMesh.cpp:1530
Urho3D::Color::Color
Color() noexcept
Construct with default values (opaque white).
Definition: Color.h:54
Urho3D::Quaternion::Data
const float * Data() const
Return float data.
Definition: Quaternion.h:455
Urho3D::DelayedCall::parameters_
VariantVector parameters_
Parameters.
Definition: ScriptEventListener.h:48
Urho3D::Particle2D::colorDelta_
Color colorDelta_
Color delta.
Definition: ParticleEmitter2D.h:52
Urho3D::JSONValue::Clear
void Clear()
Clear array or object.
Definition: JSONValue.cpp:336
Urho3D::Node::MarkNetworkUpdate
void MarkNetworkUpdate() override
Mark for attribute check on the next network update.
Definition: Node.cpp:284
Urho3D::DebugRenderer::AddSkeleton
void AddSkeleton(const Skeleton &skeleton, const Color &color, bool depthTest=true)
Add a skeleton.
Definition: DebugRenderer.cpp:354
Urho3D::TmxFile2D::layers_
Vector< TmxLayer2D * > layers_
Layers.
Definition: TmxFile2D.h:226
Urho3D::CreateMode
CreateMode
Component and child node creation mode for networking.
Definition: Node.h:43
Urho3D::RigidBody::smoothedTransform_
WeakPtr< SmoothedTransform > smoothedTransform_
Smoothed transform, if has one.
Definition: RigidBody.h:277
Urho3D::NavAreaStub
Navigation area stub.
Definition: NavBuildData.h:45
Urho3D::Vector2::Vector2
Vector2(const float *data) noexcept
Construct from a float array.
Definition: Vector2.h:203
Urho3D::Terrain::numPatches_
IntVector2 numPatches_
Terrain size in patches.
Definition: Terrain.h:279
Urho3D::Renderer::frame_
FrameInfo frame_
Frame info for rendering.
Definition: Renderer.h:536
Urho3D::OcclusionBuffer::~OcclusionBuffer
~OcclusionBuffer() override
Destruct.
Urho3D::Rect::max_
Vector2 max_
Maximum vector.
Definition: Rect.h:261
Urho3D::List::operator=
List & operator=(const List< T > &rhs)
Assign from another list.
Definition: List.h:208
Urho3D::IKEffector::GetRotationWeight
float GetRotationWeight() const
How strongly the target node's rotation influences the solution.
Definition: IKEffector.cpp:183
Urho3D::RenderPathCommand::outputs_
Vector< Pair< String, CubeMapFace > > outputs_
Output rendertarget names and faces.
Definition: RenderPath.h:162
Urho3D::DecalSet::skinningDirty_
bool skinningDirty_
Skinning dirty flag.
Definition: DecalSet.h:247
Urho3D::Vector2::Abs
Vector2 Abs() const
Return absolute vector.
Definition: Vector2.h:319
Urho3D::Input::lastVisibleMousePosition_
IntVector2 lastVisibleMousePosition_
Last mouse position before being set to not visible.
Definition: Input.h:390
Urho3D::UIComponent::rootElement_
SharedPtr< UIElement3D > rootElement_
UIElement to be rendered into texture. It also handles screen to UI coordinate translation.
Definition: UIComponent.h:73
Urho3D::TerrainPatch::GetVertexBuffer
VertexBuffer * GetVertexBuffer() const
Return vertex buffer.
Definition: TerrainPatch.cpp:263
Urho3D::ValueAnimationInfo::GetTime
float GetTime() const
Return time position.
Definition: ValueAnimationInfo.h:72
Urho3D::NetworkPriority::SetMinPriority
void SetMinPriority(float priority)
Set minimum priority. Default 0 (no updates when far away enough).
Definition: NetworkPriority.cpp:73
Urho3D::RandomAccessConstIterator::URHO_CPP14
URHO_CPP14(constexpr) RandomAccessConstIterator< T > &operator
Assign from a non-const iterator.
Urho3D::Graphics::externalWindow_
void * externalWindow_
External window, null if not in use (default.)
Definition: Graphics.h:718
Urho3D::LineEdit::IsTextSelectable
bool IsTextSelectable() const
Return whether selections are allowed.
Definition: LineEdit.h:108
Urho3D::UIElement::IsVisibleEffective
bool IsVisibleEffective() const
Return whether element is effectively visible (parent element chain is visible).
Definition: UIElement.cpp:1559
Urho3D::Material::GetAlphaToCoverage
bool GetAlphaToCoverage() const
Return alpha-to-coverage mode.
Definition: Material.h:235
Urho3D::Renderer2D::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: Renderer2D.cpp:104
Urho3D::LuaScript::LoadRawFile
bool LoadRawFile(const String &fileName)
Load script file on file system (i.e. not from resource cache). Return true if successful.
Definition: LuaScript.cpp:266
Urho3D::AnimationStateTrack::~AnimationStateTrack
~AnimationStateTrack()
Destruct.
Urho3D::View3D::GetViewport
Viewport * GetViewport() const
Return viewport.
Definition: View3D.cpp:151
Urho3D::CustomGeometry::GetNumGeometries
unsigned GetNumGeometries() const
Return number of geometries.
Definition: CustomGeometry.h:132
Urho3D::Color::SumRGB
float SumRGB() const
Return sum of RGB components.
Definition: Color.h:168
Urho3D::Text3D::uiVertexData_
PODVector< float > uiVertexData_
Text vertex data.
Definition: Text3D.h:200
Urho3D::DebugTriangle::v1_
Vector3 v1_
Vertex a.
Definition: DebugRenderer.h:81
Urho3D::Pass::SetVertexShaderDefineExcludes
void SetVertexShaderDefineExcludes(const String &excludes)
Set vertex shader define excludes. Use to mark defines that the shader code will not recognize,...
Definition: Technique.cpp:159
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4(const float *data) noexcept
Construct from a float array.
Definition: Matrix3x4.h:126
Urho3D::IKConstraint::~IKConstraint
~IKConstraint() override
Destructs he IK constraint.
Urho3D::ScriptInstance::GetScriptDataAttr
PODVector< unsigned char > GetScriptDataAttr() const
Get script file serialization attribute by calling a script function.
Definition: ScriptInstance.cpp:504
Urho3D::Connection::SendAllBuffers
void SendAllBuffers()
Send out all buffered messages.
Definition: Connection.cpp:403
Urho3D::Technique::deferredPassIndex
static unsigned deferredPassIndex
Index for deferred G-buffer pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:266
Urho3D::TmxImageLayer2D::position_
Vector2 position_
Position.
Definition: TmxFile2D.h:149
Urho3D::OcclusionBuffer::Reset
void Reset()
Reset number of triangles.
Definition: OcclusionBuffer.cpp:146
Urho3D::Vector::At
T & At(unsigned index)
Return element at index.
Definition: Vector.h:209
Urho3D::Sprite2D::GetOffset
const IntVector2 & GetOffset() const
Return offset.
Definition: Sprite2D.h:74
Urho3D::Scene::UpdateAsyncLoading
void UpdateAsyncLoading()
Update asynchronous loading.
Definition: Scene.cpp:1188
Urho3D::PhysicsWorld2D::SetPositionIterations
void SetPositionIterations(int positionIterations)
Set position iterations.
Definition: PhysicsWorld2D.cpp:425
Urho3D::Network::networkScenes_
HashSet< Scene * > networkScenes_
Networked scenes.
Definition: Network.h:162
Urho3D::NetworkPriority::alwaysUpdateOwner_
bool alwaysUpdateOwner_
Update owner at full rate flag.
Definition: NetworkPriority.h:75
Urho3D::PhysicsWorld::RemoveCollisionShape
void RemoveCollisionShape(CollisionShape *shape)
Remove a collision shape. Called by CollisionShape.
Definition: PhysicsWorld.cpp:735
Urho3D::ScriptFile::AddEventHandlerInternal
void AddEventHandlerInternal(Object *sender, StringHash eventType, const String &handlerName)
Add an event handler and create the necessary proxy object.
Definition: ScriptFile.cpp:657
Urho3D::Renderer::GetNumPrimitives
unsigned GetNumPrimitives() const
Return number of primitives rendered.
Definition: Renderer.h:346
Urho3D::PODVector::Insert
Iterator Insert(const Iterator &dest, const T &value)
Insert an element by iterator.
Definition: Vector.h:892
Urho3D::VAnimEventFrame
Value animation event frame.
Definition: ValueAnimation.h:57
Urho3D::LuaFunction::IsValid
bool IsValid() const
Check that function is valid.
Definition: LuaFunction.cpp:63
Urho3D::Engine::frameTimer_
HiresTimer frameTimer_
Frame update timer.
Definition: Engine.h:130
Urho3D::LuaScriptInstance::SetScriptDataAttr
void SetScriptDataAttr(const PODVector< unsigned char > &data)
Set script file serialization attribute by calling a script function.
Definition: LuaScriptInstance.cpp:434
Urho3D::LuaScriptInstance::RemoveEventHandlers
void RemoveEventHandlers(Object *sender) override
Remove all scripted event handlers for a specific sender.
Definition: LuaScriptInstance.cpp:348
Urho3D::BillboardSet::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: BillboardSet.h:185
Urho3D::LuaScript::ReplacePrint
void ReplacePrint()
Replace print.
Definition: LuaScript.cpp:384
Urho3D::Constraint::lowLimit_
Vector2 lowLimit_
Low limit.
Definition: Constraint.h:193
Urho3D::ResourceRouter
Optional resource request processor. Can deny requests, re-route resource file names,...
Definition: ResourceCache.h:69
Urho3D::GraphicsImpl::dirtyConstantBuffers_
PODVector< ConstantBuffer * > dirtyConstantBuffers_
Dirty constant buffers.
Definition: OGLGraphicsImpl.h:146
Urho3D::RibbonTrail::SetTailColumn
void SetTailColumn(unsigned tailColumn)
Set number of column for every tails. Can be useful for fixing distortion at high angle.
Definition: RibbonTrail.cpp:355
Urho3D::AttributeInfo::accessor_
SharedPtr< AttributeAccessor > accessor_
Helper object for accessor mode.
Definition: Attribute.h:108
Urho3D::View::threadedGeometries_
PODVector< Drawable * > threadedGeometries_
Geometry objects that will be updated in worker threads.
Definition: View.h:398
Urho3D::Node::SetRotation
void SetRotation(const Quaternion &rotation)
Set rotation in parent space.
Definition: Node.cpp:450
Urho3D::ConstraintGear2D::otherConstraint_
WeakPtr< Constraint2D > otherConstraint_
Other body constraint.
Definition: ConstraintGear2D.h:68
Urho3D::ConstraintWheel2D
2D wheel constraint component.
Definition: ConstraintWheel2D.h:31
Urho3D::StoredLogMessage::StoredLogMessage
StoredLogMessage()=default
Construct undefined.
Urho3D::RWOpsWrapper::Size
static Sint64 Size(SDL_RWops *context)
Return data size of the object.
Definition: RWOpsWrapper.h:53
Urho3D::XMLElement::SelectPrepared
XPathResultSet SelectPrepared(const XPathQuery &query) const
Select elements/attributes using XPath query.
Definition: XMLElement.cpp:255
Urho3D::WeakArrayPtr::DynamicCast
void DynamicCast(const WeakArrayPtr< U > &rhs)
Perform a dynamic cast from a weak array pointer of another type.
Definition: ArrayPtr.h:358
Urho3D::CrowdObstacleAvoidanceParams::adaptiveDepth
unsigned char adaptiveDepth
adaptive
Definition: CrowdManager.h:55
Urho3D::WeakPtr::Null
bool Null() const
Check if the pointer is null.
Definition: Ptr.h:480
Urho3D::Node::GetWorldPosition2D
Vector2 GetWorldPosition2D() const
Return position in world space (for Urho2D).
Definition: Node.h:416
Urho3D::Renderer::defaultMaterial_
SharedPtr< Material > defaultMaterial_
Default material.
Definition: Renderer.h:490
Urho3D::Renderer::GetNumExtraInstancingBufferElements
int GetNumExtraInstancingBufferElements() const
Return number of extra instancing buffer elements.
Definition: Renderer.h:313
Urho3D::EventHandler::GetSender
Object * GetSender() const
Return event sender. Null if the handler is non-specific.
Definition: Object.h:277
Urho3D::Audio::mixRate_
int mixRate_
Mixing rate.
Definition: Audio.h:137
Urho3D::JSONValue::GetValueType
JSONValueType GetValueType() const
Return value type.
Definition: JSONValue.cpp:166
Urho3D::DebugHud::SetProfilerMaxDepth
void SetProfilerMaxDepth(unsigned depth)
Set maximum profiler block depth, default unlimited.
Definition: DebugHud.cpp:245
Urho3D::Vector3::Equals
bool Equals(const Vector3 &rhs) const
Test for equality with another vector with epsilon.
Definition: Vector3.h:408
Urho3D::Scene::GetRequiredPackageFiles
const Vector< SharedPtr< PackageFile > > & GetRequiredPackageFiles() const
Return required package files.
Definition: Scene.h:211
Urho3D::Camera::SetAspectRatioInternal
void SetAspectRatioInternal(float aspectRatio)
Set aspect ratio without disabling the "auto aspect ratio" mode. Called internally by View.
Definition: Camera.cpp:597
Urho3D::Menu::SetAccelerator
void SetAccelerator(int key, int qualifiers)
Set accelerator key (set zero key code to disable).
Definition: Menu.cpp:335
Urho3D::Script::executeConsoleCommands_
bool executeConsoleCommands_
Flag for executing engine console commands as script code. Default to true.
Definition: Script.h:149
Urho3D::Script::ClearObjectTypeCache
void ClearObjectTypeCache()
Clear the inbuild object type cache.
Definition: Script.cpp:298
Urho3D::RaycastVehicle::SetWheelDirection
void SetWheelDirection(int wheel, Vector3 direction)
Set wheel direction vector.
Definition: RaycastVehicle.cpp:620
Urho3D::TileMapObject2D::GetSize
const Vector2 & GetSize() const
Return size (for rectangle and ellipse).
Definition: TileMapDefs2D.h:183
Urho3D::ValueAnimation::SetOwner
void SetOwner(void *owner)
Set owner.
Definition: ValueAnimation.cpp:250
Urho3D::VAnimEventFrame::time_
float time_
Time.
Definition: ValueAnimation.h:60
Urho3D::AutoRemoveMode
AutoRemoveMode
Autoremove is used by some components for automatic removal from the scene hierarchy upon completion ...
Definition: Component.h:39
Urho3D::DynamicNavigationMesh::Build
bool Build() override
Build/rebuild the entire navigation mesh.
Definition: DynamicNavigationMesh.cpp:337
Urho3D::BillboardSet::GetMaterialAttr
ResourceRef GetMaterialAttr() const
Return material attribute.
Definition: BillboardSet.cpp:427
Urho3D::Geometry::indexCount_
unsigned indexCount_
Number of indices.
Definition: Geometry.h:125
Urho3D::DecalSet::RemoveDecals
void RemoveDecals(unsigned num)
Remove n oldest decals.
Definition: DecalSet.cpp:485
Urho3D::WorkQueue::GetNumThreads
unsigned GetNumThreads() const
Return number of worker threads.
Definition: WorkQueue.h:104
Urho3D::AutoProfileBlock
Helper class for automatically beginning and ending a profiling block.
Definition: Profiler.h:231
Urho3D::ASYNC_FAIL
@ ASYNC_FAIL
BeginLoad() failed.
Definition: Resource.h:50
Urho3D::AnimatedSprite2D::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: AnimatedSprite2D.cpp:86
Urho3D::UIBatch::vertexEnd_
unsigned vertexEnd_
Vertex data end index.
Definition: UIBatch.h:91
Urho3D::Vector::CopyTag
Definition: Vector.h:45
Urho3D::Node::SetPosition2D
void SetPosition2D(float x, float y)
Set position in parent space (for Urho2D).
Definition: Node.h:139
Urho3D::ScreenModeParams::EqualsExceptVSync
bool EqualsExceptVSync(const ScreenModeParams &rhs) const
Compare contents except vsync flag.
Definition: Graphics.h:104
Urho3D::IKEffector::IKEffector
IKEffector(Context *context)
Constructs a new IK effector.
Definition: IKEffector.cpp:43
Urho3D::TmxTileLayer2D
Tmx tile layer.
Definition: TmxFile2D.h:91
Urho3D::ParticleEffect::IsScaled
bool IsScaled() const
Return whether scene node scale affects billboards' size.
Definition: ParticleEffect.h:239
Urho3D::XMLElement::SelectSinglePrepared
XMLElement SelectSinglePrepared(const XPathQuery &query) const
Select an element/attribute using XPath query.
Definition: XMLElement.cpp:235
Urho3D::FileSystem::asyncExecQueue_
List< AsyncExecRequest * > asyncExecQueue_
Async execution queue.
Definition: FileSystem.h:119
Urho3D::PackageFile::GetEntry
const PackageEntry * GetEntry(const String &fileName) const
Return the file entry corresponding to the name, or null if not found. This will be case-insensitive ...
Definition: PackageFile.cpp:135
Urho3D::Camera::clipPlane_
Plane clipPlane_
Clipping plane.
Definition: Camera.h:272
Urho3D::Variant::Get
T Get() const
Return the value, template version.
Urho3D::FileSystem::executeConsoleCommands_
bool executeConsoleCommands_
Flag for executing engine console commands as OS-specific system command. Default to true.
Definition: FileSystem.h:123
Urho3D::FlagSet::FlagSet
FlagSet()=default
Empty constructor.
Urho3D::Database::SetPoolSize
void SetPoolSize(unsigned poolSize)
Set internal database connection pool size.
Definition: Database.h:65
Urho3D::LuaScript::ExecuteString
bool ExecuteString(const String &string)
Execute script string. Return true if successful.
Definition: LuaScript.cpp:251
Urho3D::List::PushFront
void PushFront(const T &value)
Insert an element to the beginning.
Definition: List.h:283
Urho3D::ShaderParameter::offset_
unsigned offset_
Offset in constant buffer.
Definition: ShaderVariation.h:57
Urho3D::Terrain::occluder_
bool occluder_
Occluder flag.
Definition: Terrain.h:297
Urho3D::StaticSprite2D::swapXY_
bool swapXY_
Swap X and Y.
Definition: StaticSprite2D.h:152
Urho3D::UI::GetCursorPositionAndVisible
void GetCursorPositionAndVisible(IntVector2 &pos, bool &visible)
Return cursor position and visibility either from the cursor element, or the Input subsystem.
Definition: UI.cpp:1305
Urho3D::Text::GetEffectStrokeThickness
int GetEffectStrokeThickness() const
Return effect stroke thickness.
Definition: Text.h:163
Urho3D::UIElement::InsertChild
void InsertChild(unsigned index, UIElement *element)
Insert a child element into a specific position in the child list.
Definition: UIElement.cpp:1293
Urho3D::DecalSet::maxVertices_
unsigned maxVertices_
Maximum vertices.
Definition: DecalSet.h:235
Urho3D::UIElement::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: UIElement.cpp:159
Urho3D::DecalSet::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: DecalSet.cpp:229
Urho3D::WeakPtr::refCount_
RefCount * refCount_
Pointer to the RefCount structure.
Definition: Ptr.h:538
Urho3D::JSONFile::GetRoot
JSONValue & GetRoot()
Return root value.
Definition: JSONFile.h:57
Urho3D::WeakArrayPtr::Refs
int Refs() const
Return the array's reference count, or 0 if null pointer or if array has expired.
Definition: ArrayPtr.h:379
Urho3D::CollisionShape::SetPosition
void SetPosition(const Vector3 &position)
Set offset position.
Definition: CollisionShape.cpp:749
Urho3D::String::String
String(const char *str)
Construct from a C string.
Definition: Str.h:79
Urho3D::HashIteratorBase::operator!=
bool operator!=(const HashIteratorBase &rhs) const
Test for inequality with another iterator.
Definition: HashBase.h:76
Urho3D::SplinePath::SetSpeed
void SetSpeed(float speed)
Set the movement Speed.
Definition: SplinePath.h:68
Urho3D::OcclusionBuffer::depthHierarchyDirty_
bool depthHierarchyDirty_
Depth hierarchy needs update flag.
Definition: OcclusionBuffer.h:199
Urho3D::View::GetGraphics
Graphics * GetGraphics() const
Return graphics subsystem.
Definition: View.cpp:674
Urho3D::VertexBuffer::vertexCount_
unsigned vertexCount_
Number of vertices.
Definition: VertexBuffer.h:150
Urho3D::HashMap::HashMap
HashMap(HashMap< T, U > &&map) noexcept
Move-construct from another hash map.
Definition: HashMap.h:235
Urho3D::Slider::SetValue
void SetValue(float value)
Set slider current value.
Definition: Slider.cpp:182
Urho3D::ConstraintRope2D::SetOtherBodyAnchor
void SetOtherBodyAnchor(const Vector2 &anchor)
Set other body anchor.
Definition: ConstraintRope2D.cpp:69
Urho3D::NavBuildData::offMeshDir_
PODVector< unsigned char > offMeshDir_
Offmesh connection direction.
Definition: NavBuildData.h:76
Urho3D::LogicComponent::GetUpdateEventMask
UpdateEventFlags GetUpdateEventMask() const
Return what update events are subscribed to.
Definition: LogicComponent.h:83
Urho3D::Constraint::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: Constraint.cpp:416
Urho3D::NavBuildData::offMeshRadii_
PODVector< float > offMeshRadii_
Offmesh connection radii.
Definition: NavBuildData.h:70
Urho3D::Animation::tracks_
HashMap< StringHash, AnimationTrack > tracks_
Animation tracks.
Definition: Animation.h:199
Urho3D::Window::OnHover
void OnHover(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse hover.
Definition: Window.cpp:116
Urho3D::CollisionShape::SetMargin
void SetMargin(float margin)
Set collision margin.
Definition: CollisionShape.cpp:780
Urho3D::Connection::GetPacketsOutPerSec
int GetPacketsOutPerSec() const
Return packets sent per second.
Definition: Connection.cpp:1116
Urho3D::Object::UnsubscribeFromAllEvents
void UnsubscribeFromAllEvents()
Unsubscribe from all events.
Definition: Object.cpp:250
Urho3D::Constraint2D::InitializeJointDef
void InitializeJointDef(b2JointDef *jointDef)
Initialize joint def.
Definition: Constraint2D.cpp:173
Urho3D::SoundStream::GetStopAtEnd
bool GetStopAtEnd() const
Return whether playback should stop when no more data.
Definition: SoundStream.h:60
Urho3D::TerrainPatch::SetNeighbors
void SetNeighbors(TerrainPatch *north, TerrainPatch *south, TerrainPatch *west, TerrainPatch *east)
Set neighbor patches.
Definition: TerrainPatch.cpp:219
Urho3D::Camera::Camera
Camera(Context *context)
Construct.
Definition: Camera.cpp:53
Urho3D::BoundingBox::Clear
void Clear()
Clear to undefined state.
Definition: BoundingBox.h:244
Urho3D::RigidBody::attrBuffer_
VectorBuffer attrBuffer_
Attribute buffer for network replication.
Definition: RigidBody.h:287
Urho3D::StaticSprite2D::GetDrawRect
const Rect & GetDrawRect() const
Return draw rect.
Definition: StaticSprite2D.h:80
Urho3D::Constraint::SetERP
void SetERP(float erp)
Set constraint error reduction parameter. Zero = leave to default.
Definition: Constraint.cpp:302
Urho3D::Constraint::GetHighLimit
const Vector2 & GetHighLimit() const
Return high limit.
Definition: Constraint.h:131
Urho3D::Animation::RemoveTrack
bool RemoveTrack(const String &name)
Remove a track by name. Return true if was found and removed successfully. This is unsafe if the anim...
Definition: Animation.cpp:314
Urho3D::Image::GetPixel
Color GetPixel(int x, int y) const
Return a 2D pixel color.
Definition: Image.cpp:1475
Urho3D::Slider::repeatRate_
float repeatRate_
Paging repeat rate.
Definition: Slider.h:116
Urho3D::Texture::SetShadowCompare
void SetShadowCompare(bool enable)
Set shadow compare mode. Not used on Direct3D9.
Definition: Texture.cpp:92
Urho3D::Image::GetNextLevel
SharedPtr< Image > GetNextLevel() const
Return next mip level by bilinear filtering. Note that if the image is already 1x1x1,...
Definition: Image.cpp:1591
Urho3D::Network::NewConnectionEstablished
void NewConnectionEstablished(const SLNet::AddressOrGUID &connection)
Handle a new client connection.
Definition: Network.cpp:308
Urho3D::Input::ResetMouseGrabbed
void ResetMouseGrabbed()
Reset the mouse grabbed to the last unsuppressed SetMouseGrabbed call.
Definition: Input.cpp:822
Urho3D::Sprite::SetImageRect
void SetImageRect(const IntRect &rect)
Set part of texture to use as the image.
Definition: Sprite.cpp:201
Urho3D::Engine::GetMaxFps
int GetMaxFps() const
Return the maximum frames per second.
Definition: Engine.h:85
Urho3D::UI::qualifiers_
QualifierFlags qualifiers_
Qualifier keys held down.
Definition: UI.h:389
Urho3D::Renderer::GetNumBatches
unsigned GetNumBatches() const
Return number of batches rendered.
Definition: Renderer.h:349
Urho3D::UI::RenderToTextureData::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
UI vertex buffer.
Definition: UI.h:259
Urho3D::Texture2DArray::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Texture2DArray.cpp:66
Urho3D::RibbonTrail::GetStartScale
float GetStartScale() const
Get vertex blended scale for start of trail.
Definition: RibbonTrail.h:143
Urho3D::BackgroundLoadItem::dependents_
HashSet< Pair< StringHash, StringHash > > dependents_
Resources that depend on this resource's loading.
Definition: BackgroundLoader.h:47
Urho3D::DebugRenderer::AddSphere
void AddSphere(const Sphere &sphere, const Color &color, bool depthTest=true)
Add a sphere.
Definition: DebugRenderer.cpp:260
Urho3D::Spriter::SpriterInstance::looping_
bool looping_
Looping.
Definition: SpriterInstance2D.h:101
Urho3D::UIElement::clipBorder_
IntRect clipBorder_
Child element clipping border.
Definition: UIElement.h:684
Urho3D::Button::OnClickEnd
void OnClickEnd(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor, UIElement *beginElement) override
React to mouse click end.
Definition: Button.cpp:123
Urho3D::PackageDownload::checksum_
unsigned checksum_
Checksum.
Definition: Connection.h:82
Urho3D::Input::GetScancodeDown
bool GetScancodeDown(Scancode scancode) const
Check if a key is held down by scancode.
Definition: Input.cpp:1344
Urho3D::Node::GetWorldRotation
Quaternion GetWorldRotation() const
Return rotation in world space.
Definition: Node.h:423
Urho3D::Variant::Variant
Variant(const Matrix3x4 &value)
Construct from a Matrix3x4.
Definition: Variant.h:505
Urho3D::EmitterType2D
EmitterType2D
2D particle emitter types.
Definition: ParticleEffect2D.h:37
Urho3D::FrameBufferObject::readBuffers_
unsigned readBuffers_
Read buffer bits.
Definition: OGLGraphicsImpl.h:93
Urho3D::ScrollBar::SetValue
void SetValue(float value)
Set slider current value.
Definition: ScrollBar.cpp:171
Urho3D::Animation::GetLength
float GetLength() const
Return animation length.
Definition: Animation.h:166
Urho3D::Model::SetNumGeometries
void SetNumGeometries(unsigned num)
Set number of geometries.
Definition: Model.cpp:542
Urho3D::Billboard::uv_
Rect uv_
UV coordinates.
Definition: BillboardSet.h:45
Urho3D::UIComponent::OnNodeSet
void OnNodeSet(Node *node) override
Handle component being added to Node or removed from it.
Definition: UIComponent.cpp:198
Urho3D::CollisionCircle2D::radius_
float radius_
Radius.
Definition: CollisionCircle2D.h:65
Urho3D::IntRect::IsInside
Intersection IsInside(const IntRect &rect) const
Test if another rect is inside, outside or intersects.
Definition: Rect.h:418
Urho3D::ParticleEffect2D::SetAngle
void SetAngle(float angle)
Set angle.
Definition: ParticleEffect2D.cpp:329
Urho3D::StaticSprite2D::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: StaticSprite2D.cpp:278
Urho3D::LuaScriptEventInvoker::instance_
WeakPtr< LuaScriptInstance > instance_
Lua script instance.
Definition: LuaScriptEventInvoker.h:54
Urho3D::UIElement::tags_
StringVector tags_
Tag list.
Definition: UIElement.h:821
Urho3D::TmxLayer2D::propertySet_
SharedPtr< PropertySet2D > propertySet_
Property set.
Definition: TmxFile2D.h:87
Urho3D::XMLElement::SetIntVector3
bool SetIntVector3(const String &name, const IntVector3 &value)
Set an IntVector3 attribute.
Definition: XMLElement.cpp:392
Urho3D::Constraint::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: Constraint.cpp:138
Urho3D::Matrix4::SetScale
void SetScale(float scale)
Set uniform scaling elements.
Definition: Matrix4.h:512
Urho3D::LuaScriptInstance::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: LuaScriptInstance.cpp:284
Urho3D::ParticleEffect::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ParticleEffect.cpp:96
Urho3D::BillboardSet::GetBillboard
Billboard * GetBillboard(unsigned index)
Return billboard by index.
Definition: BillboardSet.cpp:357
Urho3D::GraphicsImpl::boundUBO_
unsigned boundUBO_
Currently bound uniform buffer object.
Definition: OGLGraphicsImpl.h:130
Urho3D::Vector::Push
void Push(T &&value)
Move-add an element at the end.
Definition: Vector.h:254
Urho3D::Texture2D::~Texture2D
~Texture2D() override
Destruct.
Definition: Texture2D.cpp:50
Urho3D::Input::RemoveGesture
bool RemoveGesture(unsigned gestureID)
Remove an in-memory gesture by ID. Return true if was found.
Definition: Input.cpp:1252
Urho3D::DebugRenderer::HandleEndFrame
void HandleEndFrame(StringHash eventType, VariantMap &eventData)
Handle end of frame. Clear debug geometry.
Definition: DebugRenderer.cpp:651
Urho3D::Texture2D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Texture2D.cpp:60
Urho3D::Serializable::ResetToDefault
void ResetToDefault()
Reset all editable attributes to their default values.
Definition: Serializable.cpp:650
Urho3D::JSONFile::~JSONFile
~JSONFile() override
Destruct.
Urho3D::Pass::vertexShaderDefines_
String vertexShaderDefines_
Vertex shader defines.
Definition: Technique.h:170
Urho3D::RenderPathCommand::clearColor_
Color clearColor_
Clear color. Affects clear command only.
Definition: RenderPath.h:168
Urho3D::NetworkState::currentValues_
Vector< Variant > currentValues_
Current network attribute values.
Definition: ReplicationState.h:126
Urho3D::RigidBody2D::AddConstraint2D
void AddConstraint2D(Constraint2D *constraint)
Add constraint.
Definition: RigidBody2D.cpp:489
Urho3D::Sound::SetLoop
void SetLoop(unsigned repeatOffset, unsigned endOffset)
Define loop.
Definition: Sound.cpp:271
Urho3D::HashBase::Swap
void Swap(HashBase &rhs)
Swap with another hash set or map.
Definition: HashBase.h:118
Urho3D::Font::Font
Font(Context *context)
Construct.
Definition: Font.cpp:54
Urho3D::IntVector3::Data
const int * Data() const
Return integer data.
Definition: Vector3.h:147
Urho3D::ScriptInstance::GetAttributes
const Vector< AttributeInfo > * GetAttributes() const override
Return attribute descriptions, or null if none defined.
Definition: ScriptInstance.h:78
Urho3D::RenderPathCommand::vertexShaderName_
String vertexShaderName_
Vertex shader name.
Definition: RenderPath.h:150
Urho3D::Engine::maxFps_
unsigned maxFps_
Maximum frames per second.
Definition: Engine.h:140
Urho3D::ListView::selectOnClickEnd_
bool selectOnClickEnd_
React to click end instead of click start flag.
Definition: ListView.h:184
Urho3D::IKConstraint::IKConstraint
IKConstraint(Context *context)
Constructs a new IK constraint.
Definition: IKConstraint.cpp:38
Urho3D::ResourceCache::isRouting_
bool isRouting_
Resource routing flag to prevent endless recursion.
Definition: ResourceCache.h:254
Urho3D::View::CheckMaterialForAuxView
void CheckMaterialForAuxView(Material *material)
Check if material should render an auxiliary view (if it has a camera attached).
Definition: View.cpp:2847
Urho3D::Vector4::x_
float x_
X coordinate.
Definition: Vector4.h:225
Urho3D::CustomVariantValueImpl::GetValue
T & GetValue()
Get value.
Definition: Variant.h:237
Urho3D::Profiler::BeginInterval
void BeginInterval()
Begin a new interval.
Definition: Profiler.cpp:66
Urho3D::Connection::OnPackagesReady
void OnPackagesReady()
Handle all packages loaded successfully. Also called directly on MSG_LOADSCENE if there are none.
Definition: Connection.cpp:1593
Urho3D::StaticModelGroup::UpdateNodeIDs
void UpdateNodeIDs() const
Update node IDs attribute from the actual nodes.
Definition: StaticModelGroup.cpp:403
Urho3D::Material::SetAlphaToCoverage
void SetAlphaToCoverage(bool enable)
Set alpha-to-coverage mode on all passes.
Definition: Material.cpp:1095
Urho3D::SoundSource::Update
virtual void Update(float timeStep)
Update the sound source. Perform subclass specific operations. Called by Audio.
Definition: SoundSource.cpp:329
Urho3D::TmxFile2D::GetTileSprite
Sprite2D * GetTileSprite(unsigned gid) const
Return tile sprite by gid, if not exist return 0.
Definition: TmxFile2D.cpp:555
Urho3D::NavigationMesh::agentMaxSlope_
float agentMaxSlope_
Navigation agent max slope.
Definition: NavigationMesh.h:324
Urho3D::Animation::animationNameHash_
StringHash animationNameHash_
Animation name hash.
Definition: Animation.h:195
Urho3D::Text3D::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: Text3D.cpp:115
Urho3D::RaycastVehicle::GetBrake
float GetBrake(int wheel) const
Get hand brake value.
Definition: RaycastVehicle.cpp:588
Urho3D::HashSet::Node
Hash set node.
Definition: HashSet.h:39
Urho3D::ScriptInstance::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: ScriptInstance.cpp:532
Urho3D::Plane::Define
void Define(const Vector3 &v0, const Vector3 &v1, const Vector3 &v2)
Define from 3 vertices.
Definition: Plane.h:65
Urho3D::Texture::~Texture
~Texture() override
Destruct.
Urho3D::IndexBuffer::SetShadowed
void SetShadowed(bool enable)
Enable shadowing in CPU memory. Shadowing is forced on if the graphics subsystem does not exist.
Definition: IndexBuffer.cpp:59
Urho3D::NavigationMesh::GetDetailSampleDistance
float GetDetailSampleDistance() const
Return detail sampling distance.
Definition: NavigationMesh.h:231
Urho3D::String::At
char & At(unsigned index)
Return char at index.
Definition: Str.h:317
Urho3D::BillboardSet::SetNetBillboardsAttr
void SetNetBillboardsAttr(const PODVector< unsigned char > &value)
Set billboards attribute for network replication.
Definition: BillboardSet.cpp:407
Urho3D::Connection::rotation_
Quaternion rotation_
Observer rotation for interest management.
Definition: Connection.h:325
Urho3D::CrowdAgent::SetHeight
void SetHeight(float height)
Set the agent's height.
Definition: CrowdAgent.cpp:409
Urho3D::PODVector::Begin
ConstIterator Begin() const
Return const iterator to the beginning.
Definition: Vector.h:1123
Urho3D::Drawable::updateQueued_
bool updateQueued_
Octree update queued flag.
Definition: Drawable.h:345
Urho3D::AnimatedModel::GetBonesEnabledAttr
VariantVector GetBonesEnabledAttr() const
Return bones' animation enabled attribute.
Definition: AnimatedModel.cpp:867
Urho3D::Renderer::SetTextureFilterMode
void SetTextureFilterMode(TextureFilterMode mode)
Set default texture filtering.
Definition: Renderer.cpp:326
Urho3D::Graphics::GetMultiSampleLevels
PODVector< int > GetMultiSampleLevels() const
Return supported multisampling levels.
Definition: OGLGraphics.cpp:2048
Urho3D::AttributeHandle::SetMetadata
AttributeHandle & SetMetadata(StringHash key, const Variant &value)
Set metadata.
Definition: Attribute.h:134
Urho3D::SoundSource::SetAutoRemoveMode
void SetAutoRemoveMode(AutoRemoveMode mode)
Set to remove either the sound source component or its owner node from the scene automatically on sou...
Definition: SoundSource.cpp:308
Urho3D::Texture::GetRowDataSize
unsigned GetRowDataSize(int width) const
Return data size in bytes for a pixel or block row.
Definition: OGLTexture.cpp:190
Urho3D::BillboardSet
Billboard component.
Definition: BillboardSet.h:61
Urho3D::SoundSource::MixStereoToMonoIP
void MixStereoToMonoIP(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix stereo sample to mono buffer interpolated.
Definition: SoundSource.cpp:1076
Urho3D::Quaternion::Angle
float Angle() const
Return rotation angle.
Definition: Quaternion.cpp:229
Urho3D::LineEdit::cursorBlinkTimer_
float cursorBlinkTimer_
Cursor blink timer.
Definition: LineEdit.h:146
Urho3D::Vector3::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Vector3.h:463
Urho3D::ShaderProgram::Link
bool Link()
Link the shaders and examine the uniforms and samplers used. Return true if successful.
Definition: OGLShaderProgram.cpp:116
Urho3D::ConstraintPrismatic2D::SetEnableMotor
void SetEnableMotor(bool enableMotor)
Set enable motor.
Definition: ConstraintPrismatic2D.cpp:129
Urho3D::ConstraintDistance2D::otherBodyAnchor_
Vector2 otherBodyAnchor_
Other body anchor.
Definition: ConstraintDistance2D.h:77
Urho3D::ToolTip::AddAltTarget
void AddAltTarget(UIElement *target)
Add an alternative hover target.
Definition: ToolTip.cpp:123
Urho3D::Constraint2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: Constraint2D.cpp:163
Urho3D::TileMapLayer2D::SetDrawOrder
void SetDrawOrder(int drawOrder)
Set draw order.
Definition: TileMapLayer2D.cpp:217
Urho3D::ParticleEffect2D::radialAcceleration_
float radialAcceleration_
Radial acceleration.
Definition: ParticleEffect2D.h:278
Urho3D::Connection::timeStamp_
unsigned char timeStamp_
Controls timestamp. Incremented after each sent update.
Definition: Connection.h:252
Urho3D::UIElement::GetDerivedOpacity
float GetDerivedOpacity() const
Return derived opacity (affected by parent elements). If UseDerivedOpacity is false,...
Definition: UIElement.cpp:1519
Urho3D::ScenePassInfo::batchQueue_
BatchQueue * batchQueue_
Batch queue.
Definition: View.h:91
Urho3D::Batch::renderOrder_
unsigned char renderOrder_
8-bit render order modifier from material.
Definition: Batch.h:82
Urho3D::Vector4::Lerp
Vector4 Lerp(const Vector4 &rhs, float t) const
Linear interpolation with another vector.
Definition: Vector4.h:186
Urho3D::Menu
Menu UI element that optionally shows a popup.
Definition: Menu.h:31
Urho3D::Viewport::GetScreenRay
Ray GetScreenRay(int x, int y) const
Return ray corresponding to normalized screen coordinates.
Definition: Viewport.cpp:142
Urho3D::BoundingBox::IsInside
Intersection IsInside(const Vector3 &point) const
Test if a point is inside.
Definition: BoundingBox.h:280
Urho3D::DropDownList::RemoveItem
void RemoveItem(UIElement *item)
Remove specific item.
Definition: DropDownList.cpp:168
Urho3D::NavigationMesh::RemoveAllTiles
virtual void RemoveAllTiles()
Remove all tiles from navigation mesh.
Definition: NavigationMesh.cpp:588
Urho3D::Condition::~Condition
~Condition()
Destruct.
Definition: Condition.cpp:70
Urho3D::SharedArrayPtr::ReleaseRef
void ReleaseRef()
Release the array reference and delete it and the RefCount structure if necessary.
Definition: ArrayPtr.h:188
Urho3D::LuaScriptInstance::UnsubscribeFromScriptMethodEvents
void UnsubscribeFromScriptMethodEvents()
Unsubscribe from script method events.
Definition: LuaScriptInstance.cpp:642
Urho3D::Vector2::IsInf
bool IsInf() const
Return whether any component is Inf.
Definition: Vector2.h:331
Urho3D::AnimatedModel::forceAnimationUpdate_
bool forceAnimationUpdate_
Force animation update after becoming visible flag.
Definition: AnimatedModel.h:261
Urho3D::Audio::GetSoundSources
const PODVector< SoundSource * > & GetSoundSources() const
Return all sound sources.
Definition: Audio.h:99
Urho3D::Vertex2D::uv_
Vector2 uv_
UV.
Definition: Drawable2D.h:44
Urho3D::PhysicsWorld::IsApplyingTransforms
bool IsApplyingTransforms() const
Return whether node dirtying should be disregarded.
Definition: PhysicsWorld.h:281
Urho3D::Application::HandleLogMessage
void HandleLogMessage(StringHash eventType, VariantMap &eventData)
Handle log message.
Definition: Application.cpp:124
Urho3D::Node::RemoveListener
void RemoveListener(Component *component)
Remove listener component.
Definition: Node.cpp:1170
Urho3D::RaycastVehicle::RIGHT_UP_FORWARD
static const IntVector3 RIGHT_UP_FORWARD
(0, 1, 2) coordinate system (default).
Definition: RaycastVehicle.h:172
Urho3D::Technique::lightPassIndex
static unsigned lightPassIndex
Index for per-pixel light pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:268
Urho3D::Window::OnDragBegin
void OnDragBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag begin.
Definition: Window.cpp:129
Urho3D::AreaAllocator::SplitRect
bool SplitRect(unsigned freeAreaIndex, const IntRect &reserve)
Remove space from a free rectangle. Return true if the original rectangle should be erased from the f...
Definition: AreaAllocator.cpp:164
Urho3D::Text3D::minAngle_
float minAngle_
Minimal angle between text normal and look-at direction.
Definition: Text3D.h:206
Urho3D::File::OpenInternal
bool OpenInternal(const String &fileName, FileMode mode, bool fromPackage=false)
Open file internally using either C standard IO functions or SDL RWops for Android asset files....
Definition: File.cpp:428
Urho3D::DebugRenderer::noDepthTriangles_
PODVector< DebugTriangle > noDepthTriangles_
Triangles rendered without depth test.
Definition: DebugRenderer.h:182
Urho3D::WeakArrayPtr::refCount_
RefCount * refCount_
Pointer to the RefCount structure.
Definition: ArrayPtr.h:428
Urho3D::OcclusionBuffer::ViewportTransform
Vector3 ViewportTransform(const Vector4 &vertex) const
Apply projection and viewport transform to vertex.
Definition: OcclusionBuffer.cpp:553
Urho3D::Sprite::rotation_
float rotation_
Rotation angle.
Definition: Sprite.h:118
Urho3D::AttributeInfo::AttributeInfo
AttributeInfo()=default
Construct empty.
Urho3D::PODVector::Resize
void Resize(unsigned newSize, const T &value)
Resize the vector and fill new elements with default value.
Definition: Vector.h:1057
Urho3D::SplinePath::SetControlPointIdsAttr
void SetControlPointIdsAttr(const VariantVector &value)
Set Control Point Node IDs attribute.
Definition: SplinePath.cpp:242
Urho3D::Vector::EmplaceBack
T & EmplaceBack(Args &&... args)
Create an element at the end.
Definition: Vector.h:223
Urho3D::UI::GetDragElements
const Vector< UIElement * > GetDragElements()
Return currently dragged elements.
Definition: UI.cpp:885
Urho3D::List::Find
Iterator Find(const T &value)
Return iterator to value, or to the end if not found.
Definition: List.h:373
Urho3D::File::GetName
const String & GetName() const override
Return the file name.
Definition: File.h:84
Urho3D::Connection::ProcessLoadScene
void ProcessLoadScene(int msgID, MemoryBuffer &msg)
Process a LoadScene message from the server. Called by Network.
Definition: Connection.cpp:528
Urho3D::Renderer::GetShadowVariations
String GetShadowVariations() const
Find variations for shadow shaders.
Definition: Renderer.cpp:1912
Urho3D::GeometryDesc::ibRef_
unsigned ibRef_
Index buffer ref.
Definition: Model.h:100
Urho3D::ListBase::ListBase
ListBase()
Construct.
Definition: ListBase.h:97
Urho3D::UI::customSize_
IntVector2 customSize_
Root element custom size. 0,0 for automatic resizing (default).
Definition: UI.h:439
Urho3D::Node::AddReplicationState
virtual void AddReplicationState(NodeReplicationState *state)
Add a replication state that is tracking this node.
Definition: Node.cpp:293
Urho3D::ProfilerBlock::frameMaxTime_
long long frameMaxTime_
Maximum time on the previous frame.
Definition: Profiler.h:154
Urho3D::Color::ToUIntArgb
unsigned ToUIntArgb() const
Return color packed to a 32-bit integer, with B component in the lowest 8 bits. Components are clampe...
Definition: Color.h:250
Urho3D::TileMapObject2D::GetTileFlipY
bool GetTileFlipY() const
Return tile flip Y.
Definition: TileMapDefs2D.h:195
Urho3D::PListValue::SetBool
void SetBool(bool value)
Set boolean.
Definition: PListFile.cpp:135
Urho3D::LightQueryResult::shadowCasterBegin_
unsigned shadowCasterBegin_[MAX_LIGHT_SPLITS]
Shadow caster start indices.
Definition: View.h:66
Urho3D::Terrain::numLodLevels_
unsigned numLodLevels_
Number of terrain LOD levels.
Definition: Terrain.h:285
Urho3D::UIElement::styleXPathQuery_
static XPathQuery styleXPathQuery_
XPath query for selecting UI-style.
Definition: UIElement.h:819
Urho3D::ProgressBar::GetKnob
BorderImage * GetKnob() const
Return knob element.
Definition: ProgressBar.h:72
Urho3D::FileSelector::HandlePathChanged
void HandlePathChanged(StringHash eventType, VariantMap &eventData)
Handle path edited.
Definition: FileSelector.cpp:394
Urho3D::JSONValue::numberValue_
double numberValue_
Number value.
Definition: JSONValue.h:301
Urho3D::Button::IsPressed
bool IsPressed() const
Return whether is currently pressed.
Definition: Button.h:89
Urho3D::UI::DragData::dragBeginTimer
Timer dragBeginTimer
Timer used to trigger drag begin event.
Definition: UI.h:241
Urho3D::Variant::GetVectorBuffer
VectorBuffer GetVectorBuffer() const
Return VectorBuffer containing the buffer or empty on type mismatch.
Definition: Variant.cpp:430
Urho3D::ConstraintRevolute2D
2D revolute constraint component.
Definition: ConstraintRevolute2D.h:31
Urho3D::PListValue::SetValueMap
void SetValueMap(const PListValueMap &valueMap)
Set value map.
Definition: PListFile.cpp:168
Urho3D::Cursor::ApplyOSCursorShape
void ApplyOSCursorShape()
Apply pending OS cursor shape. Called by UI. No-op when the OS mouse pointer is not used.
Definition: Cursor.cpp:256
Urho3D::UI::GetCursor
Cursor * GetCursor() const
Return cursor.
Definition: UI.h:141
Urho3D::XMLFile::AddAttribute
void AddAttribute(const pugi::xml_node &patch, const pugi::xpath_node &original) const
Add an attribute in the Patch.
Definition: XMLFile.cpp:347
Urho3D::UIElement::SetWidth
void SetWidth(int width)
Set width only.
Definition: UIElement.cpp:593
Urho3D::ResourceCache::ResourceCache
ResourceCache(Context *context)
Construct.
Definition: ResourceCache.cpp:70
Urho3D::SmoothedTransform::SetTargetRotation
void SetTargetRotation(const Quaternion &rotation)
Set target rotation in parent space.
Definition: SmoothedTransform.cpp:114
Urho3D::Constraint::CreateConstraint
void CreateConstraint()
Create the constraint.
Definition: Constraint.cpp:458
Urho3D::Serializable::GetNetworkAttributes
virtual const Vector< AttributeInfo > * GetNetworkAttributes() const
Return network replication attribute descriptions, or null if none defined.
Definition: Serializable.cpp:288
Urho3D::ParticleEffect
Particle effect definition.
Definition: ParticleEffect.h:108
Urho3D::HashSet::Iterator
Hash set node iterator.
Definition: HashSet.h:64
Urho3D::Log::Open
void Open(const String &fileName)
Open the log file.
Definition: Log.cpp:82
Urho3D::ScenePassInfo::markToStencil_
bool markToStencil_
Mark to stencil flag.
Definition: View.h:87
Urho3D::Texture::GetUsage
TextureUsage GetUsage() const
Return texture usage type.
Definition: Texture.h:133
Urho3D::Renderer::numBatches_
unsigned numBatches_
Number of batches (3D geometry only).
Definition: Renderer.h:580
Urho3D::Slider::ChangeValue
void ChangeValue(float delta)
Change value by a delta.
Definition: Slider.cpp:199
Urho3D::Slider::OnDragEnd
void OnDragEnd(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags releaseButtons, Cursor *cursor) override
React to mouse drag end.
Definition: Slider.cpp:150
Urho3D::Texture::GetDepth
int GetDepth() const
Return depth.
Definition: Texture.h:88
Urho3D::UIElement::SaveXML
bool SaveXML(XMLElement &dest) const override
Save as XML data. Return true if successful.
Definition: UIElement.cpp:291
Urho3D::LineEdit::HandleLayoutUpdated
void HandleLayoutUpdated(StringHash eventType, VariantMap &eventData)
Handle the element layout having been updated.
Definition: LineEdit.cpp:658
Urho3D::LuaScript::ExecuteFile
bool ExecuteFile(const String &fileName)
Execute script file. Return true if successful.
Definition: LuaScript.cpp:237
Urho3D::AnimatedModel::GetModelAttr
ResourceRef GetModelAttr() const
Return model attribute.
Definition: AnimatedModel.cpp:862
Urho3D::SplinePath::SplinePath
SplinePath(Context *context)
Construct an Empty SplinePath.
Definition: SplinePath.cpp:42
Urho3D::AnimationController::RemoveAnimationState
void RemoveAnimationState(AnimationState *state)
Remove an animation state.
Definition: AnimationController.cpp:863
Urho3D::Database::connectionsPool_
HashMap< String, Vector< SharedPtr< DbConnection > > > connectionsPool_
Database connections pool.
Definition: Database.h:73
Urho3D::ShadowBatchQueue::shadowCamera_
Camera * shadowCamera_
Shadow map camera.
Definition: Batch.h:280
Urho3D::StoredLogMessage::level_
int level_
Message level. -1 for raw messages.
Definition: Log.h:67
Urho3D::Network::HandleIncomingPacket
void HandleIncomingPacket(SLNet::Packet *packet, bool isServer)
All incoming packages are handled here.
Definition: Network.cpp:695
Urho3D::Matrix4::Matrix4
Matrix4(const Matrix3 &matrix) noexcept
Copy-construct from a 3x3 matrix and set the extra elements to identity.
Definition: Matrix4.h:100
Urho3D::Frustum::operator=
Frustum & operator=(const Frustum &rhs) noexcept
Assign from another frustum.
Definition: Frustum.cpp:65
Urho3D::Graphics::NeedParameterUpdate
bool NeedParameterUpdate(ShaderParameterGroup group, const void *source)
Check whether a shader parameter group needs update. Does not actually check whether parameters exist...
Definition: OGLGraphics.cpp:1457
Urho3D::LegacyVertexElement
LegacyVertexElement
Hardcoded legacy vertex elements.
Definition: GraphicsDefs.h:134
Urho3D::AnimatedModel::GetMorphsAttr
const PODVector< unsigned char > & GetMorphsAttr() const
Return morphs attribute.
Definition: AnimatedModel.cpp:897
Urho3D::ParticleEffect2D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: ParticleEffect2D.cpp:211
Urho3D::Image::SetSubimage
bool SetSubimage(const Image *image, const IntRect &rect)
Copy contents of the image into the defined rect, scaling if necessary. This image should already be ...
Definition: Image.cpp:2362
Urho3D::Deserializer::Tell
unsigned Tell() const
Return current position.
Definition: Deserializer.h:59
Urho3D::OcclusionBuffer::useTimer_
Timer useTimer_
Last used timer.
Definition: OcclusionBuffer.h:209
Urho3D::LT_IMAGE_LAYER
@ LT_IMAGE_LAYER
Image layer.
Definition: TileMapDefs2D.h:82
Urho3D::Billboard::screenScaleFactor_
float screenScaleFactor_
Scale factor for fixed screen size mode. Used internally.
Definition: BillboardSet.h:57
Urho3D::OffMeshConnection::SetEndPoint
void SetEndPoint(Node *node)
Set endpoint node.
Definition: OffMeshConnection.cpp:113
Urho3D::RenderPathCommand::SetOutputName
void SetOutputName(unsigned index, const String &name)
Set output rendertarget name.
Definition: RenderPath.cpp:266
Urho3D::LineEdit::OnDragMove
void OnDragMove(const IntVector2 &position, const IntVector2 &screenPosition, const IntVector2 &deltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag motion.
Definition: LineEdit.cpp:147
Urho3D::Renderer::numExtraInstancingBufferElements_
int numExtraInstancingBufferElements_
Number of extra instancing data elements.
Definition: Renderer.h:596
Urho3D::AsyncProgress::jsonIndex_
unsigned jsonIndex_
Current JSON child array and for JSON mode.
Definition: Scene.h:70
Urho3D::Matrix3x4::Data
const float * Data() const
Return float data.
Definition: Matrix3x4.h:657
Urho3D::BatchQueue::materialRemapping_
HashMap< unsigned short, unsigned short > materialRemapping_
Material remapping table for 2-pass state and distance sort.
Definition: Batch.h:252
Urho3D::ModelMorph::nameHash_
StringHash nameHash_
Morph name hash.
Definition: Model.h:59
Urho3D::PackageDownload::file_
SharedPtr< File > file_
Destination file.
Definition: Connection.h:74
Urho3D::Terrain::GetPatch
TerrainPatch * GetPatch(unsigned index) const
Return patch by index.
Definition: Terrain.cpp:528
Urho3D::ValueAnimationInfo::currentTime_
float currentTime_
Current time.
Definition: ValueAnimationInfo.h:94
Urho3D::DynamicNavigationMesh::RemoveAllTiles
void RemoveAllTiles() override
Remove all tiles from navigation mesh.
Definition: DynamicNavigationMesh.cpp:578
Urho3D::TmxImageLayer2D::Load
bool Load(const XMLElement &element, const TileMapInfo2D &info)
Load from XML element.
Definition: TmxFile2D.cpp:340
Urho3D::Graphics::orientations_
String orientations_
Allowed screen orientations.
Definition: Graphics.h:861
Urho3D::UI::HandleDropFile
void HandleDropFile(StringHash eventType, VariantMap &eventData)
Handle a file being drag-dropped into the application window.
Definition: UI.cpp:2059
Urho3D::ListView::UpdateUIClickSubscription
void UpdateUIClickSubscription()
Update subscription to UI click events.
Definition: ListView.cpp:1157
Urho3D::String::Clear
void Clear()
Clear the string.
Definition: Str.cpp:478
Urho3D::AnimationSet2D::~AnimationSet2D
~AnimationSet2D() override
Destruct.
Definition: AnimationSet2D.cpp:114
Urho3D::Vector::End
ConstIterator End() const
Return const iterator to the end.
Definition: Vector.h:501
Urho3D::Connection::GetDownloadProgress
float GetDownloadProgress() const
Return progress of current package download, or 1.0 if no downloads.
Definition: Connection.cpp:1141
Urho3D::HashMap::End
ConstIterator End() const
Return iterator to the end.
Definition: HashMap.h:613
Urho3D::LineEdit::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: LineEdit.cpp:74
Urho3D::SceneResolver::nodes_
HashMap< unsigned, WeakPtr< Node > > nodes_
Nodes.
Definition: SceneResolver.h:54
Urho3D::Text::SetWordwrap
void SetWordwrap(bool enable)
Set wordwrap. In wordwrap mode the text element will respect its current width. Otherwise it resizes ...
Definition: Text.cpp:329
Urho3D::SpriteSheet2D::EndLoadFromPListFile
bool EndLoadFromPListFile()
End load from PList file.
Definition: SpriteSheet2D.cpp:149
Urho3D::Component::IsEnabled
bool IsEnabled() const
Return whether is enabled.
Definition: Component.h:93
Urho3D::DynamicNavigationMesh::compressor_
UniquePtr< dtTileCacheCompressor > compressor_
Used by dtTileCache to compress the original tiles to use when reconstructing for changes.
Definition: DynamicNavigationMesh.h:138
Urho3D::Vector3::NormalizedOrDefault
Vector3 NormalizedOrDefault(const Vector3 &defaultValue=Vector3::ZERO, float eps=M_LARGE_EPSILON) const
Return normalized to unit length or zero if length is too small.
Definition: Vector3.h:436
Urho3D::SoundSource::PlayLockless
void PlayLockless(Sound *sound)
Play a sound without locking the audio mutex. Called internally.
Definition: SoundSource.cpp:511
Urho3D::Animatable::LoadXML
bool LoadXML(const XMLElement &source) override
Load from XML data. Return true if successful.
Definition: Animatable.cpp:77
Urho3D::Engine::~Engine
~Engine() override
Destruct. Free all subsystems.
Urho3D::ListView::highlightMode_
HighlightMode highlightMode_
Highlight mode.
Definition: ListView.h:172
Urho3D::LineEdit::GetTextElement
Text * GetTextElement() const
Return text element.
Definition: LineEdit.h:114
Urho3D::LineEdit::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: LineEdit.cpp:90
Urho3D::Shader::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Shader.cpp:84
Urho3D::Variant::emptyResourceRefList
static const ResourceRefList emptyResourceRefList
Empty resource reference list.
Definition: Variant.h:1387
Urho3D::ScriptInstance::OnGetAttribute
void OnGetAttribute(const AttributeInfo &attr, Variant &dest) const override
Handle attribute read access.
Definition: ScriptInstance.cpp:148
Urho3D::Scene::IsUpdateEnabled
bool IsUpdateEnabled() const
Return whether updates are enabled.
Definition: Scene.h:178
Urho3D::CustomGeometry::SetMaterial
void SetMaterial(Material *material)
Set material on all geometries.
Definition: CustomGeometry.cpp:697
Urho3D::Input::GetMouseButtonPress
bool GetMouseButtonPress(MouseButtonFlags button) const
Check if a mouse button has been pressed on this frame.
Definition: Input.cpp:1359
Urho3D::OctreeQuery::TestOctant
virtual Intersection TestOctant(const BoundingBox &box, bool inside)=0
Intersection test for an octant.
Urho3D::SoundListener::SoundListener
SoundListener(Context *context)
Construct.
Definition: SoundListener.cpp:33
Urho3D::PhysicsWorld2D::ContactInfo::shapeA_
SharedPtr< CollisionShape2D > shapeA_
Shape A.
Definition: PhysicsWorld2D.h:265
Urho3D::DropDownList::FilterPopupImplicitAttributes
bool FilterPopupImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: DropDownList.cpp:263
Urho3D::RaycastVehicle::SetWheelMaxSuspensionForce
void SetWheelMaxSuspensionForce(int wheel, float force)
Set wheel max suspension force. Good results are often obtained by a value that is about 3x to 4x the...
Definition: RaycastVehicle.cpp:466
Urho3D::LuaScript::GetExecuteConsoleCommands
bool GetExecuteConsoleCommands() const
Return whether is executing engine console commands as script code.
Definition: LuaScript.h:96
Urho3D::HashSet::ReserveNode
Node * ReserveNode(const T &key)
Reserve a node with specified key.
Definition: HashSet.h:611
Urho3D::ConstraintWheel2D::GetEnableMotor
bool GetEnableMotor() const
Return enable motor.
Definition: ConstraintWheel2D.h:65
Urho3D::ScriptFile::eventInvokers_
HashMap< asIScriptObject *, SharedPtr< ScriptEventInvoker > > eventInvokers_
Event helper objects for handling procedural or non-ScriptInstance script events.
Definition: ScriptFile.h:150
Urho3D::UIElement::GetChildOffset
const IntVector2 & GetChildOffset() const
Return child element offset.
Definition: UIElement.h:448
Urho3D::Pass::GetVertexShaderDefineExcludes
const String & GetVertexShaderDefineExcludes() const
Return vertex shader define excludes.
Definition: Technique.h:126
Urho3D::ConstraintDistance2D::GetOtherBodyAnchor
const Vector2 & GetOtherBodyAnchor() const
Return other body anchor.
Definition: ConstraintDistance2D.h:58
Urho3D::JSON_NULL
@ JSON_NULL
JSON null type.
Definition: JSONValue.h:36
Urho3D::Camera::~Camera
~Camera() override
Destruct.
Urho3D::String::Find
unsigned Find(const String &str, unsigned startPos=0, bool caseSensitive=true) const
Return index to the first occurrence of a string, or NPOS if not found.
Definition: Str.cpp:594
Urho3D::Deserializer::ReadMatrix3x4
Matrix3x4 ReadMatrix3x4()
Read a Matrix3x4.
Definition: Deserializer.cpp:219
Urho3D::Variant::IsZero
bool IsZero() const
Return true when the variant value is considered zero according to its actual type.
Definition: Variant.cpp:523
Urho3D::ParticleEmitter::periodTimer_
float periodTimer_
Active/inactive period timer.
Definition: ParticleEmitter.h:138
Urho3D::Spriter::SpriterInstance::Update
void Update(float deltaTime)
Update animation.
Definition: SpriterInstance2D.cpp:125
Urho3D::Font::LoadParameters
void LoadParameters()
Load font glyph offset parameters from an optional XML file. Called internally when loading TrueType ...
Definition: Font.cpp:192
Urho3D::Serializable::SetInterceptNetworkUpdate
void SetInterceptNetworkUpdate(const String &attributeName, bool enable)
Enable interception of an attribute from network updates. Intercepted attributes are sent as events i...
Definition: Serializable.cpp:690
Urho3D::PListFile::LoadValue
bool LoadValue(PListValue &value, const XMLElement &valueElem)
Load value.
Definition: PListFile.cpp:384
Urho3D::DecalSet::GetBones
bool GetBones(Drawable *target, unsigned batchIndex, const float *blendWeights, const unsigned char *blendIndices, unsigned char *newBlendIndices)
Get bones referenced by skinning data and remap the skinning indices. Return true if successful.
Definition: DecalSet.cpp:884
Urho3D::String::String
String(char *str)
Construct from a C string.
Definition: Str.h:88
Urho3D::SoundSource::Mix
void Mix(int *dest, unsigned samples, int mixRate, bool stereo, bool interpolation)
Mix sound source output to a 32-bit clipping buffer. Called by Audio.
Definition: SoundSource.cpp:366
Urho3D::ListView::baseIndent_
int baseIndent_
Base indent, used in hierarchy mode only.
Definition: ListView.h:178
Urho3D::HashMap::InsertNode
Node * InsertNode(Node *dest, const T &key, const U &value)
Insert a node into the list. Return the new node.
Definition: HashMap.h:697
Urho3D::AnimationState::GetNode
Node * GetNode() const
Return root scene node this state controls (node hierarchy mode).
Definition: AnimationState.cpp:379
Urho3D::Skeleton::Define
void Define(const Skeleton &src)
Define from another skeleton.
Definition: Skeleton.cpp:103
Urho3D::UI::HasModalElement
bool HasModalElement() const
Return true when UI has modal element(s).
Definition: UI.cpp:933
Urho3D::Constraint::physicsWorld_
WeakPtr< PhysicsWorld > physicsWorld_
Physics world.
Definition: Constraint.h:171
Urho3D::RibbonTrail::UpdateTail
void UpdateTail(float timeStep)
Update/Rebuild tail mesh only if position changed (called by UpdateBatches()).
Definition: RibbonTrail.cpp:213
Urho3D::Drawable::IsOccludee
bool IsOccludee() const
Return occludee flag.
Definition: Drawable.h:216
Urho3D::Pass::GetEffectiveVertexShaderDefines
String GetEffectiveVertexShaderDefines() const
Return the effective vertex shader defines, accounting for excludes. Called internally by Renderer.
Definition: Technique.cpp:184
Urho3D::UniquePtr::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Ptr.h:659
Urho3D::Scene::IsAsyncLoading
bool IsAsyncLoading() const
Return whether an asynchronous loading operation is in progress.
Definition: Scene.h:181
Urho3D::Renderer::ReleaseMaterialShaders
void ReleaseMaterialShaders()
Release shaders used in materials.
Definition: Renderer.cpp:1741
Urho3D::Deserializer::ReadQuaternion
Quaternion ReadQuaternion()
Read a quaternion.
Definition: Deserializer.cpp:196
Urho3D::ParticleEffect::SetNumParticles
void SetNumParticles(unsigned num)
Set maximum number of particles.
Definition: ParticleEffect.cpp:445
Urho3D::BatchGroupKey::pass_
Pass * pass_
Material pass.
Definition: Batch.h:199
Urho3D::CollisionShape2D::SetTrigger
void SetTrigger(bool trigger)
Set trigger.
Definition: CollisionShape2D.cpp:81
Urho3D::CollisionShape::GetPosition
const Vector3 & GetPosition() const
Return offset position.
Definition: CollisionShape.h:227
Urho3D::Sound::~Sound
~Sound() override
Destruct and free sound data.
Urho3D::Drawable::GetFirstLight
Light * GetFirstLight() const
Return the first added per-pixel light.
Definition: Drawable.h:281
Urho3D::PODVector::Contains
bool Contains(const T &value) const
Return whether contains a specific value.
Definition: Vector.h:1117
Urho3D::SplinePath::AddControlPoint
void AddControlPoint(Node *point, unsigned index=M_MAX_UNSIGNED)
Add a Node to the SplinePath as a Control Point.
Definition: SplinePath.cpp:139
Urho3D::Graphics::stencilCompareMask_
unsigned stencilCompareMask_
Stencil compare bitmask.
Definition: Graphics.h:837
Urho3D::Terrain::GetCastShadows
bool GetCastShadows() const
Return shadowcaster flag.
Definition: Terrain.h:187
Urho3D::RandomAccessIterator::URHO_CPP14
URHO_CPP14(constexpr) RandomAccessIterator< T > operator++(int)
Postincrement the pointer.
Definition: Iter.h:59
Urho3D::CrowdManager::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: CrowdManager.cpp:109
Urho3D::Connection::ProcessPackageDownload
void ProcessPackageDownload(int msgID, MemoryBuffer &msg)
Process package download related messages. Called by Network.
Definition: Connection.cpp:796
Urho3D::XMLElement::GetVariantVector
VariantVector GetVariantVector() const
Return a variant vector attribute, or empty if missing.
Definition: XMLElement.cpp:903
Urho3D::DecalSet::RemoveAllDecals
void RemoveAllDecals()
Remove all decals.
Definition: DecalSet.cpp:491
Urho3D::HashIteratorBase::GotoNext
void GotoNext()
Go to the next node.
Definition: HashBase.h:79
Urho3D::EventHandler::GetUserData
void * GetUserData() const
Return userdata.
Definition: Object.h:283
Urho3D::TmxFile2D::tsxXMLFiles_
HashMap< String, SharedPtr< XMLFile > > tsxXMLFiles_
TSX name to XML file mapping.
Definition: TmxFile2D.h:216
Urho3D::CustomGeometry::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: CustomGeometry.cpp:815
Urho3D::BatchGroupKey::operator!=
bool operator!=(const BatchGroupKey &rhs) const
Test for inequality with another batch group key.
Definition: Batch.h:215
Urho3D::NavigationMesh::GetDrawOffMeshConnections
bool GetDrawOffMeshConnections() const
Return whether to draw OffMeshConnection components.
Definition: NavigationMesh.h:269
Urho3D::ParticleEffect::RemoveColorFrame
void RemoveColorFrame(unsigned index)
Remove color frame at index.
Definition: ParticleEffect.cpp:621
Urho3D::VertexBuffer::GetElementOffset
unsigned GetElementOffset(VertexElementSemantic semantic, unsigned char index=0) const
Return offset of a element within vertex, or M_MAX_UNSIGNED if does not exist.
Definition: VertexBuffer.h:97
Urho3D::Graphics::SetWindowModes
bool SetWindowModes(const WindowModeParams &windowMode, const WindowModeParams &secondaryWindowMode, bool maximize=false)
Definition: Graphics.cpp:111
Urho3D::Light
Light component.
Definition: Light.h:150
Urho3D::XMLElement::GetXPathNode
const pugi::xpath_node * GetXPathNode() const
Return pugixml xpath_node.
Definition: XMLElement.h:294
Urho3D::CollisionShape2D::cachedWorldScale_
Vector3 cachedWorldScale_
Cached world scale.
Definition: CollisionShape2D.h:116
Urho3D::VertexBuffer::GetVertexCount
unsigned GetVertexCount() const
Return number of vertices.
Definition: VertexBuffer.h:76
Urho3D::HttpRequest::~HttpRequest
~HttpRequest() override
Destruct. Release the connection object.
Definition: HttpRequest.cpp:73
Urho3D::UIElement::GetMaxSize
const IntVector2 & GetMaxSize() const
Return maximum size.
Definition: UIElement.h:430
Urho3D::Component::~Component
~Component() override
Destruct.
Urho3D::Renderer::GetDefaultMaterial
Material * GetDefaultMaterial() const
Return the default material.
Definition: Renderer.h:364
Urho3D::Slider::orientation_
Orientation orientation_
Orientation.
Definition: Slider.h:104
Urho3D::WorkQueue::GetNonThreadedWorkMs
int GetNonThreadedWorkMs() const
Return how many milliseconds maximum to spend on non-threaded low-priority work.
Definition: WorkQueue.h:115
Urho3D::Light::SetSpecularIntensity
void SetSpecularIntensity(float intensity)
Set specular intensity. Zero disables specular calculations.
Definition: Light.cpp:314
Urho3D::UI::forceAutoHint_
bool forceAutoHint_
Flag for forcing FreeType auto hinting.
Definition: UI.h:405
Urho3D::PhysicsWorld::IsUpdateEnabled
bool IsUpdateEnabled() const
Return whether physics world will automatically simulate during scene update.
Definition: PhysicsWorld.h:224
Urho3D::UIElement::IsInside
bool IsInside(IntVector2 position, bool isScreen)
Return whether a point (either in element or screen coordinates) is inside the element.
Definition: UIElement.cpp:1742
Urho3D::Drawable::GetLodGeometry
virtual Geometry * GetLodGeometry(unsigned batchIndex, unsigned level)
Return the geometry for a specific LOD level.
Definition: Drawable.cpp:153
Urho3D::ParticleEffect2D::Clone
SharedPtr< ParticleEffect2D > Clone(const String &cloneName=String::EMPTY) const
Clone the 2D particle effect.
Definition: ParticleEffect2D.cpp:474
Urho3D::AnimationState::layer_
unsigned char layer_
Blending layer.
Definition: AnimationState.h:175
Urho3D::Console::historyOrAutoCompleteChange_
bool historyOrAutoCompleteChange_
Internal flag whether currently in an autocomplete or history change.
Definition: Console.h:193
Urho3D::DecalSet::geometry_
SharedPtr< Geometry > geometry_
Geometry.
Definition: DecalSet.h:219
Urho3D::BEZIER_CURVE
@ BEZIER_CURVE
Bezier interpolation.
Definition: Spline.h:39
Urho3D::VariantValue::~VariantValue
~VariantValue()
Destruct.
Definition: Variant.h:318
Urho3D::View::SetQueueShaderDefines
void SetQueueShaderDefines(BatchQueue &queue, const RenderPathCommand &command)
Set shader defines for a batch queue if used.
Definition: View.cpp:2881
Urho3D::XMLElement::GetVector4
Vector4 GetVector4(const String &name) const
Return a Vector4 attribute, or zero vector if missing.
Definition: XMLElement.cpp:960
Urho3D::Network::SetDiscoveryBeacon
void SetDiscoveryBeacon(const VariantMap &data)
Set the data that will be used for a reply to attempts at host discovery on LAN/subnet.
Definition: Network.cpp:342
Urho3D::HashMap::Populate
HashMap & Populate(const T &key, const U &value, const Args &... args)
Populate the map using variadic template.
Definition: HashMap.h:363
Urho3D::LuaFile::hasLoaded_
bool hasLoaded_
Has loaded.
Definition: LuaFile.h:62
Urho3D::StaticSprite2D::SetUseDrawRect
void SetUseDrawRect(bool useDrawRect)
Set whether to use custom-defined draw rectangle.
Definition: StaticSprite2D.cpp:188
Urho3D::IKEffector::SetFeature
void SetFeature(Feature feature, bool enable)
Enable or disable a certain feature (see IKEffector::Feature).
Definition: IKEffector.cpp:217
Urho3D::Camera::GetLodBias
float GetLodBias() const
Return LOD bias.
Definition: Camera.h:128
Urho3D::PhysicsWorld2D::GetContinuousPhysics
bool GetContinuousPhysics() const
Return continuous physics.
Definition: PhysicsWorld2D.cpp:690
Urho3D::NamedPipe::Seek
unsigned Seek(unsigned position) override
Set position. No-op for pipes.
Definition: NamedPipe.cpp:75
Urho3D::Constraint::AdjustOtherBodyPosition
void AdjustOtherBodyPosition()
Adjust other body position.
Definition: Constraint.cpp:580
Urho3D::Graphics::etcTextureSupport_
bool etcTextureSupport_
ETC1 format support flag.
Definition: Graphics.h:747
Urho3D::ReplicationState
Base class for per-user network replication states.
Definition: ReplicationState.h:138
Urho3D::View3D::View3D
View3D(Context *context)
Construct.
Definition: View3D.cpp:42
Urho3D::Node::GetParent
Node * GetParent() const
Return parent scene node.
Definition: Node.h:359
Urho3D::AnimationController::GetAutoFade
float GetAutoFade(const String &name) const
Return animation autofade time.
Definition: AnimationController.cpp:555
Urho3D::Renderer::GetIndirectionCubeMap
TextureCube * GetIndirectionCubeMap() const
Return the shadowed pointlight indirection cube map.
Definition: Renderer.h:376
Urho3D::DebugTriangle::v3_
Vector3 v3_
Vertex c.
Definition: DebugRenderer.h:85
Urho3D::Bone::offsetMatrix_
Matrix3x4 offsetMatrix_
Offset matrix.
Definition: Skeleton.h:72
Urho3D::Connection::SetAddressOrGUID
void SetAddressOrGUID(const SLNet::AddressOrGUID &addr)
Set the the RakNet address/guid.
Definition: Connection.cpp:1660
Urho3D::ColorFrame::color_
Color color_
Color.
Definition: ParticleEffect.h:80
Urho3D::Deserializer::ReadVariant
Variant ReadVariant()
Read a variant.
Definition: Deserializer.cpp:302
Urho3D::Model::GetMorph
const ModelMorph * GetMorph(unsigned index) const
Return vertex morph by index.
Definition: Model.cpp:752
Urho3D::View::lightQueryResults_
Vector< LightQueryResult > lightQueryResults_
Intermediate light processing results.
Definition: View.h:411
Urho3D::Batch::distance_
float distance_
Distance from camera.
Definition: Batch.h:80
Urho3D::ConstraintWeld2D::~ConstraintWeld2D
~ConstraintWeld2D() override
Destruct.
Urho3D::LogicComponent::updateEventMask_
UpdateEventFlags updateEventMask_
Requested event subscription mask.
Definition: LogicComponent.h:108
Urho3D::Spriter::BoneTimelineKey
Bone timeline key.
Definition: SpriterData2D.h:275
Urho3D::UI::SendClickEvent
void SendClickEvent(StringHash eventType, UIElement *beginElement, UIElement *endElement, const IntVector2 &pos, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers)
Send a UI click event.
Definition: UI.cpp:1696
Urho3D::CollisionShape2D::GetDensity
float GetDensity() const
Return density.
Definition: CollisionShape2D.h:83
Urho3D::DynamicNavBuildData::polyMesh_
dtTileCachePolyMesh * polyMesh_
TileCache specific recast poly mesh.
Definition: NavBuildData.h:112
Urho3D::IKSolver::Feature
Feature
Definition: IKSolver.h:59
Urho3D::Terrain::CreateGeometry
void CreateGeometry()
Regenerate terrain geometry.
Definition: Terrain.cpp:848
Urho3D::Network::GetSimulatedLatency
int GetSimulatedLatency() const
Return simulated latency in milliseconds.
Definition: Network.h:111
Urho3D::DebugRenderer::frustum_
Frustum frustum_
View frustum.
Definition: DebugRenderer.h:190
Urho3D::DebugRenderer::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: DebugRenderer.h:192
Urho3D::WeakPtr::StaticCast
void StaticCast(const WeakPtr< U > &rhs)
Perform a static cast from a weak pointer of another type.
Definition: Ptr.h:456
Urho3D::Renderer::shadowMaps_
HashMap< int, Vector< SharedPtr< Texture2D > > > shadowMaps_
Shadow maps by resolution.
Definition: Renderer.h:504
Urho3D::ConstraintRope2D
2D rope constraint component.
Definition: ConstraintRope2D.h:31
Urho3D::CollisionBox2D::ApplyNodeWorldScale
void ApplyNodeWorldScale() override
Apply node world scale.
Definition: CollisionBox2D.cpp:105
Urho3D::Light::SetFadeDistance
void SetFadeDistance(float distance)
Set fade out start distance.
Definition: Light.cpp:359
Urho3D::Input::GetKeyFromScancode
Key GetKeyFromScancode(Scancode scancode) const
Return keycode from scancode.
Definition: Input.cpp:1309
Urho3D::Sprite::GetBlendMode
BlendMode GetBlendMode() const
Return blend mode.
Definition: Sprite.h:101
Urho3D::Renderer::SetLightVolumeBatchShaders
void SetLightVolumeBatchShaders(Batch &batch, Camera *camera, const String &vsName, const String &psName, const String &vsDefines, const String &psDefines)
Choose shaders for a deferred light volume batch.
Definition: Renderer.cpp:1277
Urho3D::ShaderProgram::GetLinkerOutput
const String & GetLinkerOutput() const
Return linker output.
Definition: OGLShaderProgram.h:68
Urho3D::Sprite2D::SetHotSpot
void SetHotSpot(const Vector2 &hotSpot)
Set hot spot.
Definition: Sprite2D.cpp:123
Urho3D::DecalSet::DecalSet
DecalSet(Context *context)
Construct.
Definition: DecalSet.cpp:154
Urho3D::DebugRenderer::gpuProjection_
Matrix4 gpuProjection_
Projection transform in API-specific format.
Definition: DebugRenderer.h:188
Urho3D::Console::GetLineEdit
LineEdit * GetLineEdit() const
Return the line edit element.
Definition: Console.h:87
Urho3D::FileSelector::buttonLayout_
UIElement * buttonLayout_
Button layout.
Definition: FileSelector.h:177
Urho3D::Deserializer::ReadColor
Color ReadColor()
Read a color.
Definition: Deserializer.cpp:233
Urho3D::Particle2D::rotation_
float rotation_
Rotation.
Definition: ParticleEmitter2D.h:46
Urho3D::PhysicsWorld2D::debugRenderer_
DebugRenderer * debugRenderer_
Debug renderer.
Definition: PhysicsWorld2D.h:231
Urho3D::LineEdit::maxLength_
unsigned maxLength_
Maximum text length.
Definition: LineEdit.h:148
Urho3D::Engine::DumpMemory
void DumpMemory()
Dump information of all memory allocations to the log. Supported in MSVC debug mode only.
Definition: Engine.cpp:644
Urho3D::Object::Cast
const T * Cast() const
Cast the object to specified most derived class.
Definition: Object.h:111
Urho3D::XPathQuery::SetVariable
bool SetVariable(const String &name, bool value)
Add/Set a bool variable. Return true if successful.
Definition: XMLElement.cpp:1076
Urho3D::Text3D::text_
Text text_
Internally used text element.
Definition: Text3D.h:190
Urho3D::PackageFile
Stores files of a directory tree sequentially for convenient access.
Definition: PackageFile.h:42
Urho3D::IKSolver::ApplySceneToActivePose
void ApplySceneToActivePose()
Definition: IKSolver.cpp:477
Urho3D::Renderer::Update
void Update(float timeStep)
Update for rendering. Called by HandleRenderUpdate().
Definition: Renderer.cpp:647
Urho3D::Menu::HandleFocusChanged
void HandleFocusChanged(StringHash eventType, VariantMap &eventData)
Handle global focus change to check for hiding the popup.
Definition: Menu.cpp:386
Urho3D::LineEdit::textCopyable_
bool textCopyable_
Copy-paste enable flag.
Definition: LineEdit.h:156
Urho3D::PhysicsWorld2D::DrawPolygon
void DrawPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a closed polygon provided in CCW order.
Definition: PhysicsWorld2D.cpp:189
Urho3D::StaticSprite2D::UpdateDrawRect
void UpdateDrawRect()
Update drawRect.
Definition: StaticSprite2D.cpp:361
Urho3D::LuaScriptInstance::AddEventHandler
void AddEventHandler(const String &eventName, int functionIndex) override
Add a scripted event handler by function.
Definition: LuaScriptInstance.cpp:299
Urho3D::ASYNC_SUCCESS
@ ASYNC_SUCCESS
BeginLoad() succeeded. EndLoad() can be called in the main thread.
Definition: Resource.h:48
Urho3D::PhysicsWorld::RaycastSingleSegmented
void RaycastSingleSegmented(PhysicsRaycastResult &result, const Ray &ray, float maxDistance, float segmentDistance, unsigned collisionMask=M_MAX_UNSIGNED, float overlapDistance=0.1f)
Definition: PhysicsWorld.cpp:432
Urho3D::Graphics::GetShader
ShaderVariation * GetShader(ShaderType type, const String &name, const String &defines=String::EMPTY) const
Return a shader variation by name and defines.
Definition: OGLGraphics.cpp:2124
Urho3D::Animatable::SetAttributeAnimationTime
void SetAttributeAnimationTime(const String &name, float time)
Set attribute animation time position manually. Automatic update should be disabled in this case.
Definition: Animatable.cpp:406
Urho3D::StaticModel::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: StaticModel.cpp:400
Urho3D::LogicComponent::HandleSceneUpdate
void HandleSceneUpdate(StringHash eventType, VariantMap &eventData)
Handle scene update event.
Definition: LogicComponent.cpp:169
Urho3D::FlagSet::operator|
FlagSet operator|(const Enum value) const
Bitwise OR against Enum value.
Definition: FlagSet.h:130
Urho3D::Geometry::GetBufferHash
unsigned short GetBufferHash() const
Return buffers' combined hash value for state sorting.
Definition: Geometry.cpp:196
Urho3D::RaycastVehicle::SetBrake
void SetBrake(int wheel, float force)
Set hand brake (wheel rotation blocking force).
Definition: RaycastVehicle.cpp:582
Urho3D::BorderImage::SetBorder
void SetBorder(const IntRect &rect)
Set border dimensions on the screen.
Definition: BorderImage.cpp:97
Urho3D::AnimationTrack::RemoveAllKeyFrames
void RemoveAllKeyFrames()
Remove all keyframes.
Definition: Animation.cpp:82
Urho3D::UIElement::GetAppliedStyle
const String & GetAppliedStyle() const
Return applied style name. Return an empty string when the applied style is an 'auto' style (i....
Definition: UIElement.cpp:1574
Urho3D::Material::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Material.cpp:206
Urho3D::SharedArrayPtr::RefCountPtr
RefCount * RefCountPtr() const
Return pointer to the RefCount structure.
Definition: ArrayPtr.h:168
Urho3D::View::geometriesUpdated_
bool geometriesUpdated_
Geometries updated flag.
Definition: View.h:368
Urho3D::OcclusionBuffer::MergeBuffers
void MergeBuffers()
Merge thread work buffers into the first buffer.
Definition: OcclusionBuffer.cpp:1004
Urho3D::DecalVertex::texCoord_
Vector2 texCoord_
Texture coordinates.
Definition: DecalSet.h:66
Urho3D::Scene::LoadAsync
bool LoadAsync(File *file, LoadMode mode=LOAD_SCENE_AND_RESOURCES)
Load from a binary file asynchronously. Return true if started successfully. The LOAD_RESOURCES_ONLY ...
Definition: Scene.cpp:309
Urho3D::Camera::projectionOffset_
Vector2 projectionOffset_
Projection offset.
Definition: Camera.h:268
Urho3D::CollisionShape2D::GetFriction
float GetFriction() const
Return friction.
Definition: CollisionShape2D.h:86
Urho3D::Renderer::GetShadowCamera
Camera * GetShadowCamera()
Allocate a temporary shadow camera and a scene node for it. Is thread-safe.
Definition: Renderer.cpp:1123
Urho3D::ParticleEffect::material_
SharedPtr< Material > material_
Material.
Definition: ParticleEffect.h:359
Urho3D::Node::GetID
unsigned GetID() const
Return ID.
Definition: Node.h:342
Urho3D::Renderer2D::GetMaterial
Material * GetMaterial(Texture2D *texture, BlendMode blendMode)
Return material by texture and blend mode.
Definition: Renderer2D.cpp:243
Urho3D::ResourceRefList::ResourceRefList
ResourceRefList(StringHash type, const StringVector &names)
Construct with type and id list.
Definition: Variant.h:149
Urho3D::ConstraintWheel2D::SetEnableMotor
void SetEnableMotor(bool enableMotor)
Set enable motor.
Definition: ConstraintWheel2D.cpp:84
Urho3D::CustomVariantValueTraits::Compare
static bool Compare(const T &lhs, const T &rhs)
Compare types.
Definition: Variant.h:217
Urho3D::SharedPtr::RefCountPtr
RefCount * RefCountPtr() const
Return pointer to the RefCount structure.
Definition: Ptr.h:217
Urho3D::ScriptInstance::HasMethod
bool HasMethod(const String &declaration) const
Check if has a method.
Definition: ScriptInstance.cpp:431
Urho3D::ScrollView::SetAutoDisableChildren
void SetAutoDisableChildren(bool disable)
Set whether child elements should be disabled while touch scrolling.
Definition: ScrollView.h:86
Urho3D::Texture::SetFilterMode
void SetFilterMode(TextureFilterMode mode)
Set filtering mode.
Definition: Texture.cpp:74
Urho3D::TrailPoint::next_
TrailPoint * next_
Next point to make a tail.
Definition: RibbonTrail.h:57
Urho3D::Camera::GetFlipVertical
bool GetFlipVertical() const
Return vertical flipping mode.
Definition: Camera.h:188
Urho3D::UI::dragBeginDistance_
int dragBeginDistance_
Drag begin event distance threshold in pixels.
Definition: UI.h:383
Urho3D::Variant::GetMatrix4
const Matrix4 & GetMatrix4() const
Return a Matrix4 or identity on type mismatch.
Definition: Variant.h:1286
Urho3D::IndexBuffer::indexCount_
unsigned indexCount_
Number of indices.
Definition: IndexBuffer.h:101
Urho3D::RaycastVehicle::wheelNodes_
Vector< Node * > wheelNodes_
Nodes of all wheels.
Definition: RaycastVehicle.h:194
Urho3D::OcclusionBufferData::dataWithSafety_
SharedArrayPtr< int > dataWithSafety_
Full buffer data with safety padding.
Definition: OcclusionBuffer.h:57
Urho3D::IKSolver::SetTolerance
void SetTolerance(float tolerance)
Sets the distance at which the effector is "close enough" to the target node, at which point the algo...
Definition: IKSolver.cpp:211
Urho3D::Graphics::PrecacheShaders
void PrecacheShaders(Deserializer &source)
Precache shader variations from an XML file generated with BeginDumpShaders().
Definition: Graphics.cpp:371
Urho3D::AnimatedModel::ApplyAnimation
void ApplyAnimation()
Apply all animation states to nodes.
Definition: AnimatedModel.cpp:1276
Urho3D::Variant::GetBuffer
const PODVector< unsigned char > & GetBuffer() const
Return buffer or empty on type mismatch.
Definition: Variant.h:1200
Urho3D::SoundSource3D::GetFarDistance
float GetFarDistance() const
Return far distance.
Definition: SoundSource3D.h:69
Urho3D::Menu::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Menu.cpp:66
Urho3D::Frustum::UpdatePlanes
void UpdatePlanes()
Update the planes. Called internally.
Definition: Frustum.cpp:225
Urho3D::Window::SetModalAutoDismiss
void SetModalAutoDismiss(bool enable)
Set whether model window can be dismissed with the escape key. Default true.
Definition: Window.cpp:315
Urho3D::LuaScriptInstance::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: LuaScriptInstance.cpp:81
Urho3D::AnimatedSprite2D::spriterInstance_
UniquePtr< Spriter::SpriterInstance > spriterInstance_
Spriter instance.
Definition: AnimatedSprite2D.h:148
Urho3D::CrowdManager::SetExcludeFlags
void SetExcludeFlags(unsigned queryFilterType, unsigned short flags)
Set the exclude flags for the specified query filter type.
Definition: CrowdManager.cpp:323
Urho3D::LoadMode
LoadMode
Asynchronous scene loading mode.
Definition: Scene.h:46
Urho3D::ParticleEffect::GetVector3MinMax
void GetVector3MinMax(const XMLElement &element, Vector3 &minValue, Vector3 &maxValue)
Read a Vector3 from an XML element.
Definition: ParticleEffect.cpp:851
Urho3D::NavigationMesh::FindNearestPoint
Vector3 FindNearestPoint(const Vector3 &point, const Vector3 &extents=Vector3::ONE, const dtQueryFilter *filter=nullptr, dtPolyRef *nearestRef=nullptr)
Find the nearest point on the navigation mesh to a given point. Extents specifies how far out from th...
Definition: NavigationMesh.cpp:607
Urho3D::OcclusionBuffer::projOffsetScaleX_
float projOffsetScaleX_
Combined X projection and viewport transform.
Definition: OcclusionBuffer.h:223
Urho3D::Zone::SetHeightFog
void SetHeightFog(bool enable)
Set height fog mode.
Definition: Zone.cpp:160
Urho3D::Serializer::WriteInt64
bool WriteInt64(long long value)
Write a 64-bit integer.
Definition: Serializer.cpp:36
Urho3D::XMLElement::GetFloat
float GetFloat(const String &name) const
Return a float attribute, or zero if missing.
Definition: XMLElement.cpp:792
Urho3D::UI::SetElementRenderTexture
void SetElementRenderTexture(UIElement *element, Texture2D *texture)
Set texture to which element will be rendered.
Definition: UI.cpp:2187
Urho3D::RigidBody::GetGravityOverride
const Vector3 & GetGravityOverride() const
Return gravity override. If zero (default), uses the physics world's gravity.
Definition: RigidBody.h:205
Urho3D::RibbonTrail::GetWidth
float GetWidth() const
Get width of the trail.
Definition: RibbonTrail.h:134
Urho3D::FontFaceBitmap::SaveFaceTexture
SharedPtr< Image > SaveFaceTexture(Texture2D *texture)
Save font face texture as image resource.
Definition: FontFaceBitmap.cpp:356
Urho3D::TileMapLayer2D::objectGroup_
const TmxObjectGroup2D * objectGroup_
Object group.
Definition: TileMapLayer2D.h:119
Urho3D::Renderer::SetDefaultRenderPath
void SetDefaultRenderPath(RenderPath *renderPath)
Set default renderpath.
Definition: Renderer.cpp:293
Urho3D::Graphics::GetDepthWrite
bool GetDepthWrite() const
Return whether depth write is enabled.
Definition: Graphics.h:522
Urho3D::TmxLayer2D::name_
String name_
Name.
Definition: TmxFile2D.h:79
Urho3D::DecalVertex::DecalVertex
DecalVertex()=default
Construct with defaults.
Urho3D::Terrain::CreatePatchGeometry
void CreatePatchGeometry(TerrainPatch *patch)
Regenerate patch geometry.
Definition: Terrain.cpp:651
Urho3D::Frustum::IsInsideFast
Intersection IsInsideFast(const Sphere &sphere) const
Test if a sphere if (partially) inside or outside.
Definition: Frustum.h:111
Urho3D::JSONValue::IsNull
bool IsNull() const
Check is null.
Definition: JSONValue.h:179
Urho3D::ScrollView::scrollPanel_
SharedPtr< BorderImage > scrollPanel_
Scroll panel element.
Definition: ScrollView.h:157
Urho3D::Terrain::material_
SharedPtr< Material > material_
Material.
Definition: Terrain.h:253
Urho3D::Light::specularIntensity_
float specularIntensity_
Specular intensity.
Definition: Light.h:371
Urho3D::SoundSource3D::GetOuterAngle
float GetOuterAngle() const
Return outer angle in degrees.
Definition: SoundSource3D.h:75
Urho3D::Spriter::TimelineKey
Timeline key.
Definition: SpriterData2D.h:224
Urho3D::ConstraintRope2D::~ConstraintRope2D
~ConstraintRope2D() override
Destruct.
Urho3D::FileSystem::HandleBeginFrame
void HandleBeginFrame(StringHash eventType, VariantMap &eventData)
Handle begin frame event to check for completed async executions.
Definition: FileSystem.cpp:904
Urho3D::RenderSurface::renderTargetView_
void * renderTargetView_
Direct3D11 rendertarget or depth-stencil view.
Definition: RenderSurface.h:134
Urho3D::Vector3::Lerp
Vector3 Lerp(const Vector3 &rhs, float t) const
Linear interpolation with another vector.
Definition: Vector3.h:405
Urho3D::IsPowerOfTwo
bool IsPowerOfTwo(unsigned value)
Check whether an unsigned integer is a power of two.
Definition: MathDefs.h:234
Urho3D::VertexBuffer
Hardware vertex buffer.
Definition: VertexBuffer.h:34
Urho3D::DynamicNavigationMesh::CollectOffMeshConnections
PODVector< OffMeshConnection * > CollectOffMeshConnections(const BoundingBox &bounds)
Off-mesh connections to be rebuilt in the mesh processor.
Definition: DynamicNavigationMesh.cpp:1039
Urho3D::AnimationController::IsPlaying
bool IsPlaying(const String &name) const
Return whether an animation is active. Note that non-looping animations that are being clamped at the...
Definition: AnimationController.cpp:429
Urho3D::ShaderVariation::GetElementHash
unsigned long long GetElementHash() const
Return vertex element hash.
Definition: ShaderVariation.h:123
Urho3D::Renderer::GetActualView
static View * GetActualView(View *view)
Return a view or its source view if it uses one. Used internally for render statistics.
Definition: Renderer.cpp:1154
Urho3D::LuaScript::AtPanic
static int AtPanic(lua_State *L)
At panic.
Definition: LuaScript.cpp:347
Urho3D::File::IsPackaged
bool IsPackaged() const
Return whether the file originates from a package.
Definition: File.h:110
Urho3D::Cursor::SetUseSystemShapes
void SetUseSystemShapes(bool enable)
Set whether to use system default shapes. Is only possible when the OS mouse cursor has been set visi...
Definition: Cursor.cpp:205
Urho3D::StaticModelGroup::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: StaticModelGroup.cpp:169
Urho3D::VertexBuffer::UnmapBuffer
void UnmapBuffer()
Unmap the GPU buffer. Not used on OpenGL.
Definition: OGLVertexBuffer.cpp:274
Urho3D::UIElement::selected_
bool selected_
Selected flag.
Definition: UIElement.h:708
Urho3D::Console::closeButton_
SharedPtr< Button > closeButton_
Close button.
Definition: Console.h:155
Urho3D::ScrollView::touchScrollSpeed_
Vector2 touchScrollSpeed_
Accumulated touch scroll speed.
Definition: ScrollView.h:165
Urho3D::Texture2DArray::loadParameters_
SharedPtr< XMLFile > loadParameters_
Parameter file acquired during BeginLoad.
Definition: Texture2DArray.h:94
Urho3D::Variant::Variant
Variant(const Vector3 &value)
Construct from a Vector3.
Definition: Variant.h:385
Urho3D::List::Node::Node
Node(const T &value)
Construct with value.
Definition: List.h:42
Urho3D::UIComponent::GetRoot
UIElement * GetRoot() const
Return UIElement.
Definition: UIComponent.cpp:183
Urho3D::Component::DoAutoRemove
void DoAutoRemove(AutoRemoveMode mode)
Perform autoremove. Called by subclasses. Caller should keep a weak pointer to itself to check whethe...
Definition: Component.cpp:309
Urho3D::JSONFile::FromString
bool FromString(const String &source)
Deserialize from a string. Return true if successful.
Definition: JSONFile.cpp:232
Urho3D::HttpRequest::mutex_
Mutex mutex_
Mutex for synchronizing the worker and the main thread.
Definition: HttpRequest.h:97
Urho3D::Serializer::WriteVector4
bool WriteVector4(const Vector4 &value)
Write a Vector4.
Definition: Serializer.cpp:132
Urho3D::InstanceData::worldTransform_
const Matrix3x4 * worldTransform_
World transform.
Definition: Batch.h:126
Urho3D::XPathQuery
XPath query.
Definition: XMLElement.h:354
Urho3D::ScriptInstance::className_
String className_
Class name.
Definition: ScriptInstance.h:198
Urho3D::UIElement::SetIndentSpacing
void SetIndentSpacing(int indentSpacing)
Set indent spacing (number of pixels per indentation level).
Definition: UIElement.cpp:1086
Urho3D::Average
auto Average(Iterator begin, Iterator end) -> typename std::decay< decltype(*begin)>::type
Compute average value of the range.
Definition: MathDefs.h:197
Urho3D::Engine::HasParameter
static bool HasParameter(const VariantMap &parameters, const String &parameter)
Return whether startup parameters contains a specific parameter.
Definition: Engine.cpp:962
Urho3D::SoundStream::IsStereo
bool IsStereo() const
Return whether data is stereo.
Definition: SoundStream.h:66
Urho3D::SoundStream::GetFrequency
float GetFrequency() const
Return default frequency as a float.
Definition: SoundStream.h:54
Urho3D::PhysicsWorld2D::ContactInfo::nodeB_
SharedPtr< Node > nodeB_
Node B.
Definition: PhysicsWorld2D.h:263
Urho3D::Graphics::BindStencilAttachment
void BindStencilAttachment(unsigned object, bool isRenderBuffer)
Bind a framebuffer stencil attachment using either extension or core functionality....
Definition: OGLGraphics.cpp:3333
Urho3D::Scene::HandleUpdate
void HandleUpdate(StringHash eventType, VariantMap &eventData)
Handle the logic update event to update the scene, if active.
Definition: Scene.cpp:1164
Urho3D::PhysicsWorld::SetApplyingTransforms
void SetApplyingTransforms(bool enable)
Set node dirtying to be disregarded.
Definition: PhysicsWorld.h:278
Urho3D::Network::GetSimulatedPacketLoss
float GetSimulatedPacketLoss() const
Return simulated packet loss probability.
Definition: Network.h:114
Urho3D::SourceBatch2D::material_
SharedPtr< Material > material_
Material.
Definition: Drawable2D.h:60
Urho3D::Drawable::AddVertexLight
void AddVertexLight(Light *light)
Add a per-vertex light affecting the object this frame.
Definition: Drawable.h:302
Urho3D::String::Split
Vector< String > Split(char separator, bool keepEmptyStrings=false) const
Return substrings split by a separator char. By default don't return empty strings.
Definition: Str.cpp:561
Urho3D::LuaScriptInstance::FindScriptObjectMethodRefs
void FindScriptObjectMethodRefs()
Find script object method refs.
Definition: LuaScriptInstance.cpp:609
Urho3D::ListView::OnKey
void OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers) override
React to a key press.
Definition: ListView.cpp:206
Urho3D::ParticleEffect2D::emitterType_
EmitterType2D emitterType_
Emitter type.
Definition: ParticleEffect2D.h:306
Urho3D::Text::SetFontSize
bool SetFontSize(float size)
Set font size only while retaining the existing font. Return true if successful.
Definition: Text.cpp:277
Urho3D::XPathResultSet::operator[]
XMLElement operator[](unsigned index) const
Definition: XMLElement.cpp:1036
Urho3D::Octant::index_
unsigned index_
Octant index relative to its siblings or ROOT_INDEX for root octant.
Definition: Octree.h:156
Urho3D::ParticleEffect::sizeAdd_
float sizeAdd_
Particle size additive parameter.
Definition: ParticleEffect.h:415
Urho3D::Quaternion::ToString
String ToString() const
Return as string.
Definition: Quaternion.cpp:325
Urho3D::RaycastVehicle::SetWheelFrictionSlip
void SetWheelFrictionSlip(int wheel, float slip)
Set wheel friction slip.
Definition: RaycastVehicle.cpp:508
Urho3D::FileSystem::CheckAccess
bool CheckAccess(const String &pathName) const
Check if a path is allowed to be accessed. If no paths are registered, all are allowed.
Definition: FileSystem.cpp:550
Urho3D::HashNodeBase::prev_
HashNodeBase * prev_
Previous node.
Definition: HashBase.h:52
Urho3D::ParticleEmitter2D::SetSpriteAttr
void SetSpriteAttr(const ResourceRef &value)
Set sprite attribute.
Definition: ParticleEmitter2D.cpp:161
Urho3D::BorderImage::texture_
SharedPtr< Texture > texture_
Texture.
Definition: BorderImage.h:117
Urho3D::View::minInstances_
int minInstances_
Minimum number of instances required in a batch group to render as instanced.
Definition: View.h:364
Urho3D::Material::GetTexture
Texture * GetTexture(TextureUnit unit) const
Return texture by unit.
Definition: Material.cpp:1197
Urho3D::HashMap::Insert
Iterator Insert(const Pair< T, U > &pair, bool &exists)
Insert a pair. Return iterator and set exists flag according to whether the key already existed.
Definition: HashMap.h:376
Urho3D::Vector::Reserve
void Reserve(unsigned newCapacity)
Set new capacity.
Definition: Vector.h:437
Urho3D::RenderPathCommand::shaderParameters_
HashMap< StringHash, Variant > shaderParameters_
Shader parameters.
Definition: RenderPath.h:160
Urho3D::CrowdManager::Update
void Update(float delta)
Update the crowd simulation.
Definition: CrowdManager.cpp:678
Urho3D::HighlightMode
HighlightMode
ListView selection highlight mode.
Definition: ListView.h:34
Urho3D::RigidBody::GetPhysicsWorld
PhysicsWorld * GetPhysicsWorld() const
Return physics world.
Definition: RigidBody.h:153
Urho3D::RaycastVehicle::GetWheelRotation
Quaternion GetWheelRotation(int wheel)
Get wheel rotation relative to RigidBody.
Definition: RaycastVehicle.cpp:424
Urho3D::Renderer::materialQuality_
MaterialQuality materialQuality_
Material quality level.
Definition: Renderer.h:544
Urho3D::Zone::SetZoneTextureAttr
void SetZoneTextureAttr(const ResourceRef &value)
Set zone texture attribute.
Definition: Zone.cpp:218
Urho3D::AnimationControl::name_
String name_
Animation resource name.
Definition: AnimationController.h:56
Urho3D::FileSystem::SystemOpen
bool SystemOpen(const String &fileName, const String &mode=String::EMPTY)
Open a file in an external program, with mode such as "edit" optionally specified....
Definition: FileSystem.cpp:437
Urho3D::WeakArrayPtr::operator->
T * operator->() const
Point to the array.
Definition: ArrayPtr.h:310
Urho3D::UIElement::useDerivedOpacity_
bool useDerivedOpacity_
Use derived opacity flag.
Definition: UIElement.h:700
Urho3D::SplinePath::ApplyAttributes
void ApplyAttributes() override
Apply Attributes to the SplinePath.
Definition: SplinePath.cpp:70
Urho3D::GeometryDesc::indexStart_
unsigned indexStart_
Index start.
Definition: Model.h:102
Urho3D::RigidBody2D::ApplyLinearImpulseToCenter
void ApplyLinearImpulseToCenter(const Vector2 &impulse, bool wake)
Apply linear impulse to center.
Definition: RigidBody2D.cpp:353
Urho3D::Window::fixedWidthResizing_
bool fixedWidthResizing_
Fixed width resize flag.
Definition: Window.h:145
Urho3D::OcclusionBuffer::GetBuffer
int * GetBuffer() const
Return highest level depth values.
Definition: OcclusionBuffer.h:126
Urho3D::CollisionShape::SetConvexHull
void SetConvexHull(Model *model, unsigned lodLevel=0, const Vector3 &scale=Vector3::ONE, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a convex hull from Model.
Definition: CollisionShape.cpp:683
Urho3D::Batch::Batch
Batch(const SourceBatch &rhs)
Construct from a drawable's source batch.
Definition: Batch.h:56
Urho3D::ParticleEmitter2D::UpdateParticle
void UpdateParticle(Particle2D &particle, float timeStep, const Vector3 &worldPosition, float worldScale)
Update particle.
Definition: ParticleEmitter2D.cpp:417
Urho3D::UIElement::GetMaxAnchor
const Vector2 & GetMaxAnchor() const
Return maximum anchor.
Definition: UIElement.h:463
Urho3D::View::NeedRenderShadowMap
bool NeedRenderShadowMap(const LightBatchQueue &queue)
Check whether a light queue needs shadow rendering.
Definition: View.cpp:3052
Urho3D::Serializer::WriteRect
bool WriteRect(const Rect &value)
Write a Rect.
Definition: Serializer.cpp:106
Urho3D::PhysicsWorld::AddConstraint
void AddConstraint(Constraint *constraint)
Add a constraint to keep track of. Called by Constraint.
Definition: PhysicsWorld.cpp:740
Urho3D::Context::eventSenders_
PODVector< Object * > eventSenders_
Event sender stack.
Definition: Context.h:238
Urho3D::CrowdManager::SetCrowdTarget
void SetCrowdTarget(const Vector3 &position, Node *node=nullptr)
Set the crowd target position. The target position is set to all crowd agents found in the specified ...
Definition: CrowdManager.cpp:188
Urho3D::PhysicsWorld2D::HandleSceneSubsystemUpdate
void HandleSceneSubsystemUpdate(StringHash eventType, VariantMap &eventData)
Handle the scene subsystem update event, step simulation here.
Definition: PhysicsWorld2D.cpp:714
Urho3D::BackgroundLoader::FinishBackgroundLoading
void FinishBackgroundLoading(BackgroundLoadItem &item)
Finish one background loaded resource.
Urho3D::Node::CreateTemporaryChild
Node * CreateTemporaryChild(const String &name=String::EMPTY, CreateMode mode=REPLICATED, unsigned id=0)
Create a temporary child scene node (with specified ID if provided).
Definition: Node.cpp:799
Urho3D::UIElement::bringToFront_
bool bringToFront_
Bring to front when focused flag.
Definition: UIElement.h:692
Urho3D::CrowdAgent::GetNavigationQuality
NavigationQuality GetNavigationQuality() const
Get the agent's navigation quality.
Definition: CrowdAgent.h:169
Urho3D::NavigationMesh::SetDetailSampleDistance
void SetDetailSampleDistance(float distance)
Set detail sampling distance.
Definition: NavigationMesh.cpp:304
Urho3D::Scene::SetVarNamesAttr
void SetVarNamesAttr(const String &value)
Set node user variable reverse mappings.
Definition: Scene.cpp:1067
Urho3D::Log::WriteRaw
static void WriteRaw(const String &message, bool error=false)
Write raw output to the log.
Definition: Log.cpp:208
Urho3D::DelayedWorldTransform
Delayed world transform assignment for parented rigidbodies.
Definition: PhysicsWorld.h:81
Urho3D::BillboardSet::UpdateBufferSize
void UpdateBufferSize()
Resize billboard vertex and index buffers.
Definition: BillboardSet.cpp:501
Urho3D::Constraint2D::collideConnected_
bool collideConnected_
Collide connected flag.
Definition: Constraint2D.h:104
Urho3D::DropDownList::OnHidePopup
void OnHidePopup() override
React to the popup being hidden.
Definition: DropDownList.cpp:138
Urho3D::SplinePath::SetInterpolationMode
void SetInterpolationMode(InterpolationMode interpolationMode)
Set the Interpolation Mode.
Definition: SplinePath.cpp:199
Urho3D::ResourceWithMetadata::CopyMetadata
void CopyMetadata(const ResourceWithMetadata &source)
Copy metadata from another resource.
Definition: Resource.cpp:188
Urho3D::String::MoveRange
void MoveRange(unsigned dest, unsigned src, unsigned count)
Move a range of characters within the string.
Definition: Str.h:517
Urho3D::UI::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
UI vertex buffer.
Definition: UI.h:369
Urho3D::LineEdit::echoCharacter_
unsigned echoCharacter_
Echo character.
Definition: LineEdit.h:150
Urho3D::BoundingBox::BoundingBox
BoundingBox(const Frustum &frustum)
Construct from a frustum.
Definition: BoundingBox.h:98
Urho3D::Matrix2::SetScale
void SetScale(const Vector2 &scale)
Set scaling elements.
Definition: Matrix2.h:140
Urho3D::View::GetLitBatches
void GetLitBatches(Drawable *drawable, LightBatchQueue &lightQueue, BatchQueue *alphaQueue)
Get pixel lit batches for a certain light and drawable.
Definition: View.cpp:1379
Urho3D::ProfilerBlock::~ProfilerBlock
virtual ~ProfilerBlock()
Destruct. Free the child blocks.
Definition: Profiler.h:62
Urho3D::Network::DiscoverHosts
void DiscoverHosts(unsigned port)
Scan the LAN/subnet for available hosts.
Definition: Network.cpp:351
Urho3D::RibbonTrail::endScale_
float endScale_
End for start of trails.
Definition: RibbonTrail.h:229
Urho3D::Drawable::SetShadowDistance
void SetShadowDistance(float distance)
Set shadow draw distance.
Definition: Drawable.cpp:179
Urho3D::Node::Remove
void Remove()
Remove from the parent node. If no other shared pointer references exist, causes immediate deletion.
Definition: Node.cpp:1119
Urho3D::ProfilerBlock::frameTime_
long long frameTime_
Time on the previous frame.
Definition: Profiler.h:152
Urho3D::Matrix3x4
3x4 matrix for scene node transform calculations.
Definition: Matrix3x4.h:35
Urho3D::Camera::GetNearClip
float GetNearClip() const
Return near clip distance. If a custom projection matrix is in use, is calculated from it instead of ...
Definition: Camera.cpp:268
Urho3D::BiasParameters::normalOffset_
float normalOffset_
Normal offset multiplier.
Definition: Light.h:77
Urho3D::HashIteratorBase::HashIteratorBase
HashIteratorBase(HashNodeBase *ptr)
Construct with a node pointer.
Definition: HashBase.h:67
Urho3D::RandomAccessIterator::operator->
constexpr T * operator->() const
Point to the object.
Definition: Iter.h:46
Urho3D::Scene::elapsedTime_
float elapsedTime_
Elapsed time accumulator.
Definition: Scene.h:328
Urho3D::Window::OnDragCancel
void OnDragCancel(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags cancelButtons, Cursor *cursor) override
React to mouse drag cancel.
Definition: Window.cpp:239
Urho3D::String::SetUTF8FromWChar
void SetUTF8FromWChar(const wchar_t *str)
Construct UTF8 content from wide characters.
Definition: Str.cpp:751
Urho3D::HashSet::Begin
ConstIterator Begin() const
Return iterator to the beginning.
Definition: HashSet.h:504
Urho3D::CollisionShape::SetCustomConvexHull
void SetCustomConvexHull(CustomGeometry *custom, const Vector3 &scale=Vector3::ONE, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a convex hull from CustomGeometry.
Definition: CollisionShape.cpp:689
Urho3D::Input::GetScancodeFromName
Scancode GetScancodeFromName(const String &name) const
Return scancode from key name.
Definition: Input.cpp:1324
Urho3D::TileMapLayer2D::GetTileNode
Node * GetTileNode(int x, int y) const
Return tile node (for tile layer only).
Definition: TileMapLayer2D.cpp:292
Urho3D::View::useLitBase_
bool useLitBase_
Forward light base pass optimization flag. If in use, combine the base pass and first light for all o...
Definition: View.h:378
Urho3D::RenderPathCommand::Load
void Load(const XMLElement &element)
Read from an XML element.
Definition: RenderPath.cpp:116
Urho3D::Graphics::Maximize
void Maximize()
Maximize the window.
Definition: Graphics.cpp:337
Urho3D::Camera::SetViewMask
void SetViewMask(unsigned mask)
Set view mask. Will be and'ed with object's view mask to see if the object should be rendered.
Definition: Camera.cpp:177
Urho3D::Batch::numWorldTransforms_
unsigned numWorldTransforms_
Number of world transforms.
Definition: Batch.h:94
Urho3D::HashMap::Iterator::Iterator
Iterator(Node *ptr)
Construct with a node pointer.
Definition: HashMap.h:113
Urho3D::Menu::acceleratorKey_
int acceleratorKey_
Accelerator key code.
Definition: Menu.h:96
Urho3D::Context::eventDataMaps_
PODVector< VariantMap * > eventDataMaps_
Event data stack.
Definition: Context.h:240
Urho3D::Console::HandleTextFinished
void HandleTextFinished(StringHash eventType, VariantMap &eventData)
Handle enter pressed on the line edit.
Definition: Console.cpp:371
Urho3D::Connection::GetAddress
String GetAddress() const
Return remote address.
Definition: Connection.cpp:1656
Urho3D::Serializer::WriteBuffer
bool WriteBuffer(const PODVector< unsigned char > &value)
Write a buffer, with size encoded as VLE.
Definition: Serializer.cpp:206
Urho3D::GPUObject::~GPUObject
virtual ~GPUObject()
Destruct. Remove from the Graphics.
Definition: GPUObject.cpp:46
Urho3D::CheckBox::checkedOffset_
IntVector2 checkedOffset_
Checked image offset.
Definition: CheckBox.h:66
Urho3D::FileSelector::HandleFilterChanged
void HandleFilterChanged(StringHash eventType, VariantMap &eventData)
Handle filter changed.
Definition: FileSelector.cpp:385
Urho3D::HashMap::ConstIterator::ConstIterator
ConstIterator(Node *ptr)
Construct with a node pointer.
Definition: HashMap.h:162
Urho3D::Node::id_
unsigned id_
Unique ID within the scene.
Definition: Node.h:687
Urho3D::PhysicsWorld::currentCollisions_
HashMap< Pair< WeakPtr< RigidBody >, WeakPtr< RigidBody > >, ManifoldPair > currentCollisions_
Collision pairs on this frame.
Definition: PhysicsWorld.h:322
Urho3D::Scene::replicatedNodeID_
unsigned replicatedNodeID_
Next free non-local node ID.
Definition: Scene.h:314
Urho3D::CustomGeometry::BeginGeometry
void BeginGeometry(unsigned index, PrimitiveType type)
Begin defining a geometry. Clears existing vertices in that index.
Definition: CustomGeometry.cpp:524
Urho3D::ConstraintWheel2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintWheel2D.cpp:159
Urho3D::List::Erase
Iterator Erase(Iterator it)
Erase an element by iterator. Return iterator to the next element.
Definition: List.h:331
Urho3D::Text3D::GetNumRows
unsigned GetNumRows() const
Return number of rows.
Definition: Text3D.cpp:473
Urho3D::UniquePtr::operator<
bool operator<(const UniquePtr< U > &rhs) const
Test for less than with another unique pointer.
Definition: Ptr.h:618
Urho3D::ScriptInstance::HasEventHandler
bool HasEventHandler(StringHash eventType) const override
Return whether has subscribed to an event.
Definition: ScriptInstance.cpp:406
Urho3D::ParticleEffect2D::SetFinishColorVariance
void SetFinishColorVariance(const Color &finishColorVariance)
Set finish color variance.
Definition: ParticleEffect2D.cpp:379
Urho3D::ConstraintMotor2D::GetAngularOffset
float GetAngularOffset() const
Return angular offset.
Definition: ConstraintMotor2D.h:58
Urho3D::Slider::dragBeginCursor_
IntVector2 dragBeginCursor_
Original mouse cursor position at drag begin.
Definition: Slider.h:112
Urho3D::Camera::SetFlipVertical
void SetFlipVertical(bool enable)
Set vertical flipping mode. Called internally by View to resolve OpenGL / Direct3D9 rendertarget samp...
Definition: Camera.cpp:246
Urho3D::ConstraintMotor2D::GetMaxTorque
float GetMaxTorque() const
Return max torque.
Definition: ConstraintMotor2D.h:64
Urho3D::LOAD_SCENE
@ LOAD_SCENE
Load scene content without preloading. Resources will be requested synchronously when encountered.
Definition: Scene.h:51
Urho3D::CrowdAgent::GetTargetPosition
const Vector3 & GetTargetPosition() const
Return the agent's requested target position.
Definition: CrowdAgent.h:131
Urho3D::ListView::SetSelection
void SetSelection(unsigned index)
Set selection.
Definition: ListView.cpp:509
Urho3D::Deserializer::ReadVLE
unsigned ReadVLE()
Read a variable-length encoded unsigned integer, which can use 29 bits maximum.
Definition: Deserializer.cpp:428
Urho3D::Script::immediateContext_
asIScriptContext * immediateContext_
Immediate execution script context.
Definition: Script.h:131
Urho3D::LuaFunction
C++ representation of Lua function object.
Definition: LuaFunction.h:38
Urho3D::NavigationMesh::SetTileSize
void SetTileSize(int size)
Set tile size.
Definition: NavigationMesh.cpp:227
Urho3D::UIElement::AddTags
void AddTags(const String &tags, char separator=';')
Add tags with the specified separator (; by default).
Definition: UIElement.cpp:1473
Urho3D::XPathQuery::Bind
void Bind()
Bind query object with variable set.
Definition: XMLElement.cpp:1070
Urho3D::DebugRenderer::AddQuad
void AddQuad(const Vector3 &center, float width, float height, const Color &color, bool depthTest=true)
Add a quad on the XZ plane.
Definition: DebugRenderer.cpp:474
Urho3D::VertexBuffer::IsDynamic
bool IsDynamic() const
Return whether is dynamic.
Definition: VertexBuffer.h:70
Urho3D::RigidBody2D
2D rigid body component.
Definition: RigidBody2D.h:47
Urho3D::HttpRequest::IsOpen
bool IsOpen() const
Return whether connection is in the open state.
Definition: HttpRequest.h:78
Urho3D::Skeleton::GetBoneParent
Bone * GetBoneParent(const Bone *bone)
Return parent of the given bone. Return null for root bones.
Definition: Skeleton.cpp:178
Urho3D::Vector3::ProjectOntoLine
Vector3 ProjectOntoLine(const Vector3 &from, const Vector3 &to, bool clamped=false) const
Project position vector onto line segment.
Definition: Vector3.h:370
Urho3D::List::ConstIterator::operator*
const T & operator*() const
Dereference the node value.
Definition: List.h:165
Urho3D::Zone::SetBoundingBox
void SetBoundingBox(const BoundingBox &box)
Set local-space bounding box. Will be used as an oriented bounding box to test whether objects or the...
Definition: Zone.cpp:99
Urho3D::ColorFrame::Interpolate
Color Interpolate(const ColorFrame &next, float time) const
Return interpolated value with another color-time pair at the time specified.
Definition: ParticleEffect.h:67
Urho3D::BillboardSet::fixedScreenSize_
bool fixedScreenSize_
Billboards fixed screen size flag.
Definition: BillboardSet.h:168
Urho3D::AnimatedModel::GetGeometrySkinMatrices
const Vector< PODVector< Matrix3x4 > > & GetGeometrySkinMatrices() const
Return per-geometry skin matrices. If empty, uses global skinning.
Definition: AnimatedModel.h:166
Urho3D::StaticSprite2D::SetHotSpot
void SetHotSpot(const Vector2 &hotspot)
Set hot spot.
Definition: StaticSprite2D.cpp:209
Urho3D::Texture::GetFormat
unsigned GetFormat() const
Return API-specific texture format.
Definition: Texture.h:73
Urho3D::DbConnection::Finalize
void Finalize()
Finalize all prepared statements, close all BLOB handles, and finish all sqlite3_backup objects.
Definition: ODBCConnection.cpp:68
Urho3D::Terrain::eastID_
unsigned eastID_
Node ID of east neighbor.
Definition: Terrain.h:323
Urho3D::Scene::localComponents_
HashMap< unsigned, Component * > localComponents_
Local components by ID.
Definition: Scene.h:290
Urho3D::DynamicNavigationMesh::DynamicNavigationMesh
DynamicNavigationMesh(Context *)
Constructor.
Definition: DynamicNavigationMesh.cpp:211
Urho3D::Billboard
One billboard in the billboard set.
Definition: BillboardSet.h:38
Urho3D::Node::GetWorldPosition
Vector3 GetWorldPosition() const
Return position in world space.
Definition: Node.h:407
Urho3D::TmxFile2D::gidToSpriteMapping_
HashMap< unsigned, SharedPtr< Sprite2D > > gidToSpriteMapping_
Gid to tile sprite mapping.
Definition: TmxFile2D.h:220
Urho3D::ScrollView::GetVerticalScrollBar
ScrollBar * GetVerticalScrollBar() const
Return vertical scroll bar.
Definition: ScrollView.h:101
Urho3D::TerrainPatch
Individually rendered part of a heightmap terrain.
Definition: TerrainPatch.h:35
Urho3D::ParticleEffect2D::GetRotationEnd
float GetRotationEnd() const
Return rotation end.
Definition: ParticleEffect2D.h:236
Urho3D::ScrollView::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: ScrollView.cpp:171
Urho3D::ParticleEmitter::SetEffectAttr
void SetEffectAttr(const ResourceRef &value)
Set particles effect attribute.
Definition: ParticleEmitter.cpp:358
Urho3D::ParticleEffect2D::SetBlendMode
void SetBlendMode(BlendMode blendMode)
Set blend mode.
Definition: ParticleEffect2D.cpp:449
Urho3D::View3D::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: View3D.cpp:75
Urho3D::Animatable::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Animatable.cpp:71
Urho3D::NavigationMesh::SetNavigationDataAttr
virtual void SetNavigationDataAttr(const PODVector< unsigned char > &value)
Set navigation data attribute.
Definition: NavigationMesh.cpp:879
Urho3D::Material::GetTextures
const HashMap< TextureUnit, SharedPtr< Texture > > & GetTextures() const
Return all textures.
Definition: Material.h:203
Urho3D::AnimatedModel::SetModelAttr
void SetModelAttr(const ResourceRef &value)
Set model attribute.
Definition: AnimatedModel.cpp:799
Urho3D::BufferedSoundStream::BufferedSoundStream
BufferedSoundStream()
Construct.
Definition: BufferedSoundStream.cpp:32
Urho3D::UIElement::layoutMode_
LayoutMode layoutMode_
Layout mode.
Definition: UIElement.h:720
Urho3D::Audio::GetSampleSize
unsigned GetSampleSize() const
Return byte size of one sample.
Definition: Audio.h:72
Urho3D::ResourceCache::GetAllResources
const HashMap< StringHash, ResourceGroup > & GetAllResources() const
Return all loaded resources.
Definition: ResourceCache.h:155
Urho3D::Texture::target_
unsigned target_
OpenGL target.
Definition: Texture.h:199
Urho3D::Scene::InstantiateJSON
Node * InstantiateJSON(const JSONValue &source, const Vector3 &position, const Quaternion &rotation, CreateMode mode=REPLICATED)
Instantiate scene content from JSON data. Return root node if successful.
Definition: Scene.cpp:574
Urho3D::Node::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately recursively to child nodes and components...
Definition: Node.cpp:275
Urho3D::LuaFile::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: LuaFile.cpp:59
Urho3D::ProfilerBlock
Profiling data for one block in the profiling tree.
Definition: Profiler.h:33
Urho3D::BatchQueue::hasExtraDefines_
bool hasExtraDefines_
Whether the pass command contains extra shader defines.
Definition: Batch.h:265
Urho3D::AnimationTrack::GetNumKeyFrames
unsigned GetNumKeyFrames() const
Return number of keyframes.
Definition: Animation.h:87
Urho3D::Context::attributes_
HashMap< StringHash, Vector< AttributeInfo > > attributes_
Attribute descriptions per object type.
Definition: Context.h:230
Urho3D::TypeInfo::TypeInfo
TypeInfo(const char *typeName, const TypeInfo *baseTypeInfo)
Construct.
Definition: Object.cpp:36
Urho3D::Matrix4::Translation
Vector3 Translation() const
Return the translation part.
Definition: Matrix4.h:548
Urho3D::LineEdit::OnKey
void OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers) override
React to a key press.
Definition: LineEdit.cpp:207
Urho3D::Batch
Queued 3D geometry draw call.
Definition: Batch.h:50
Urho3D::File::Open
bool Open(const String &fileName, FileMode mode=FILE_READ)
Open a filesystem file. Return true if successful.
Definition: File.cpp:126
Urho3D::ShaderParameterAnimationInfo::ShaderParameterAnimationInfo
ShaderParameterAnimationInfo(Material *material, const String &name, ValueAnimation *attributeAnimation, WrapMode wrapMode, float speed)
Construct.
Definition: Material.cpp:182
Urho3D::SharedPtr::AddRef
void AddRef()
Add a reference to the object pointed to.
Definition: Ptr.h:226
Urho3D::ParticleEffect2D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: ParticleEffect2D.cpp:114
Urho3D::PODVector::Erase
Iterator Erase(const Iterator &it)
Erase an element by iterator. Return iterator to the next element.
Definition: Vector.h:956
Urho3D::Acos
T Acos(T x)
Return arc cosine in degrees.
Definition: MathDefs.h:151
Urho3D::NavigationMesh::SetDrawOffMeshConnections
void SetDrawOffMeshConnections(bool enable)
Draw debug geometry for OffMeshConnection components.
Definition: NavigationMesh.h:266
Urho3D::ParticleEffect::SetColorFrames
void SetColorFrames(const Vector< ColorFrame > &colorFrames)
Set color animation of particles.
Definition: ParticleEffect.cpp:634
Urho3D::RaycastVehicle::RegisterObject
static void RegisterObject(Context *context)
Register object factory and attributes.
Definition: RaycastVehicle.cpp:185
Urho3D::Network::StopServer
void StopServer()
Stop the server.
Definition: Network.cpp:450
Urho3D::ParticleEffect2D::startParticleSize_
float startParticleSize_
Start particle size.
Definition: ParticleEffect2D.h:296
Urho3D::NavigationMesh::partitionType_
NavmeshPartitionType partitionType_
Type of the heightfield partitioning.
Definition: NavigationMesh.h:346
Urho3D::Batch::zone_
Zone * zone_
Zone.
Definition: Batch.h:98
Urho3D::ParticleEmitter2D::EmitParticle
bool EmitParticle(const Vector3 &worldPosition, float worldAngle, float worldScale)
Emit particle.
Definition: ParticleEmitter2D.cpp:363
Urho3D::PhysicsRaycastResult::normal_
Vector3 normal_
Hit worldspace normal.
Definition: PhysicsWorld.h:71
Urho3D::ComponentReplicationState::component_
WeakPtr< Component > component_
Link to the actual component.
Definition: ReplicationState.h:150
Urho3D::WM_LOOP
@ WM_LOOP
Loop mode.
Definition: AnimationDefs.h:34
Urho3D::PhysicsWorld2D::GetDrawShape
bool GetDrawShape() const
Return draw shape.
Definition: PhysicsWorld2D.h:165
Urho3D::IndexBuffer::IndexBuffer
IndexBuffer(Context *context, bool forceHeadless=false)
Construct. Optionally force headless (no GPU-side buffer) operation.
Definition: IndexBuffer.cpp:36
Urho3D::Input::SetMousePosition
void SetMousePosition(const IntVector2 &position)
Set the mouse cursor position. Uses the backbuffer (Graphics width/height) coordinates.
Definition: Input.cpp:1831
Urho3D::View::GetOctree
Octree * GetOctree() const
Return octree.
Definition: View.h:139
Urho3D::String::Trimmed
String Trimmed() const
Return string with whitespace trimmed from the beginning and the end.
Definition: Str.cpp:520
Urho3D::SourceBatch::SourceBatch
SourceBatch()
Construct with defaults.
Urho3D::Obstacle::GetObstacleID
unsigned GetObstacleID() const
Get the internal obstacle ID.
Definition: Obstacle.h:65
Urho3D::AllContentOctreeQuery::TestOctant
Intersection TestOctant(const BoundingBox &box, bool inside) override
Intersection test for an octant.
Definition: OctreeQuery.cpp:121
Urho3D::HeightfieldData
Heightfield geometry data.
Definition: CollisionShape.h:125
Urho3D::Material::~Material
~Material() override
Destruct.
Urho3D::Material::GetShaderParameters
const HashMap< StringHash, MaterialShaderParameter > & GetShaderParameters() const
Return all shader parameters.
Definition: Material.h:220
Urho3D::CrowdAgent::navQuality_
NavigationQuality navQuality_
Agent's navigation quality. The higher the setting, the higher the CPU usage during crowd simulation.
Definition: CrowdAgent.h:228
Urho3D::IKSolver::RegisterObject
static void RegisterObject(Context *context)
Registers this class to the context.
Definition: IKSolver.cpp:80
Urho3D::ScrollView::resizeContentWidth_
bool resizeContentWidth_
Resize content widget width to match panel. Internal flag, used by the ListView class.
Definition: ScrollView.h:175
Urho3D::ShaderVariation::HasTextureUnit
bool HasTextureUnit(TextureUnit unit) const
Return whether uses a texture unit (only for pixel shaders). Not applicable on OpenGL,...
Definition: ShaderVariation.h:117
Urho3D::ConstantBuffer::IsDirty
bool IsDirty() const
Return whether has unapplied data.
Definition: ConstantBuffer.h:62
Urho3D::Texture2DArray::OnDeviceReset
void OnDeviceReset() override
Recreate the GPU resource and restore data if applicable.
Definition: OGLTexture2DArray.cpp:57
Urho3D::AnimationController::nodeAnimationStates_
Vector< SharedPtr< AnimationState > > nodeAnimationStates_
Node hierarchy mode animation states.
Definition: AnimationController.h:208
Urho3D::ProgressBar::SetRange
void SetRange(float range)
Set ProgressBar range maximum value (minimum value is always 0).
Definition: ProgressBar.cpp:82
Urho3D::ParticleEmitter2D::sprite_
SharedPtr< Sprite2D > sprite_
Sprite.
Definition: ParticleEmitter2D.h:147
Urho3D::Constraint::SetOtherPosition
void SetOtherPosition(const Vector3 &position)
Set constraint position relative to the other body. If connected to the static world,...
Definition: Constraint.cpp:219
Urho3D::HM_NEVER
@ HM_NEVER
Never highlight selections.
Definition: ListView.h:37
Urho3D::RibbonTrail::UpdateBufferSize
void UpdateBufferSize()
Resize RibbonTrail vertex and index buffers.
Definition: RibbonTrail.cpp:444
Urho3D::AnimatedModel::UpdateSkinning
void UpdateSkinning()
Recalculate skinning.
Definition: AnimatedModel.cpp:1303
Urho3D::Text::ValidateSelection
void ValidateSelection()
Validate text selection to be within the text.
Definition: Text.cpp:745
Urho3D::FileSelector::SetFilters
void SetFilters(const Vector< String > &filters, unsigned defaultIndex)
Set filters.
Definition: FileSelector.cpp:215
Urho3D::CrowdObstacleAvoidanceParams
Parameter structure for obstacle avoidance params (copied from DetourObstacleAvoidance....
Definition: CrowdManager.h:44
Urho3D::File::GetMode
FileMode GetMode() const
Return the open mode.
Definition: File.h:101
Urho3D::JSONValue::GetUInt
unsigned GetUInt(unsigned defaultValue=0) const
Return unsigned integer value.
Definition: JSONValue.h:196
Urho3D::OT_POLYGON
@ OT_POLYGON
Polygon.
Definition: TileMapDefs2D.h:95
Urho3D::Renderer::GetMaxShadowMaps
int GetMaxShadowMaps() const
Return maximum number of shadow maps per resolution.
Definition: Renderer.h:307
Urho3D::Connection::ProcessNewNode
void ProcessNewNode(Node *node)
Process a node that the client has not yet received.
Definition: Connection.cpp:1239
Urho3D::RenderPathCommand::SetShaderParameter
void SetShaderParameter(const String &name, const Variant &value)
Set a shader parameter.
Definition: RenderPath.cpp:242
Urho3D::ParticleEffect::GetTextureFrames
const Vector< TextureFrame > & GetTextureFrames() const
Return all texture animation frames.
Definition: ParticleEffect.h:326
Urho3D::ParticleEffect::inactiveTime_
float inactiveTime_
Inactive period.
Definition: ParticleEffect.h:389
Urho3D::Node::HasComponent
bool HasComponent() const
Template version of checking whether has a specific component.
Definition: Node.h:738
Urho3D::Constraint::MarkFramesDirty
void MarkFramesDirty()
Mark frames dirty.
Definition: Constraint.h:168
Urho3D::CrowdAgent::GetActualVelocity
Vector3 GetActualVelocity() const
Return the agent's actual velocity.
Definition: CrowdAgent.cpp:485
Urho3D::SpriteSheet2D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: SpriteSheet2D.cpp:54
Urho3D::WeakPtr::WeakPtr
WeakPtr(std::nullptr_t) noexcept
Construct a null weak pointer.
Definition: Ptr.h:274
Urho3D::Connection::SendRemoteEvents
void SendRemoteEvents()
Send queued remote events. Called by Network.
Definition: Connection.cpp:301
Urho3D::ConstraintWheel2D::GetAnchor
const Vector2 & GetAnchor() const
Return anchor.
Definition: ConstraintWheel2D.h:59
Urho3D::ConstraintDistance2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintDistance2D.cpp:47
Urho3D::Drawable
Base class for visible components.
Definition: Drawable.h:110
Urho3D::CollisionChain2D::SetVertexCount
void SetVertexCount(unsigned count)
Set vertex count.
Definition: CollisionChain2D.cpp:68
Urho3D::Constraint::disableCollision_
bool disableCollision_
Disable collision between connected bodies flag.
Definition: Constraint.h:201
Urho3D::Camera::viewDirty_
bool viewDirty_
View matrix dirty flag.
Definition: Camera.h:236
Urho3D::HashMap::operator+=
HashMap & operator+=(const Pair< T, U > &rhs)
Add-assign a pair.
Definition: HashMap.h:282
Urho3D::Input::keyPress_
HashSet< int > keyPress_
Key pressed state.
Definition: Input.h:368
Urho3D::HashMap::Insert
void Insert(const ConstIterator &start, const ConstIterator &end)
Insert a range by iterators.
Definition: HashMap.h:400
Urho3D::LogicComponent::PostUpdate
virtual void PostUpdate(float timeStep)
Called on scene post-update, variable timestep.
Definition: LogicComponent.cpp:55
Urho3D::Graphics::BeginDumpShaders
void BeginDumpShaders(const String &fileName)
Begin dumping shader variation names to an XML file for precaching.
Definition: Graphics.cpp:361
Urho3D::UIElement::dragButtonCombo_
MouseButtonFlags dragButtonCombo_
Drag button combo.
Definition: UIElement.h:746
Urho3D::Light::GetRadius
float GetRadius() const
Return area light mode radius. Works only with PBR shaders.
Definition: Light.h:229
Urho3D::StaticModelGroup::UpdateNumTransforms
void UpdateNumTransforms()
Ensure proper size of world transforms when nodes are added/removed. Also mark node IDs dirty.
Definition: StaticModelGroup.cpp:393
Urho3D::Atan
T Atan(T x)
Return arc tangent in degrees.
Definition: MathDefs.h:154
Urho3D::Time::EndFrame
void EndFrame()
End frame. Increment total time and send frame end event.
Definition: Timer.cpp:130
Urho3D::Terrain::SetNeighbors
void SetNeighbors(Terrain *north, Terrain *south, Terrain *west, Terrain *east)
Set all neighbor terrains at once.
Definition: Terrain.cpp:340
Urho3D::NavigationMesh::agentHeight_
float agentHeight_
Navigation agent height.
Definition: NavigationMesh.h:318
Urho3D::UniquePtr::operator->
T * operator->() const
Point to the object.
Definition: Ptr.h:603
Urho3D::CrowdManager::GetNumQueryFilterTypes
unsigned GetNumQueryFilterTypes() const
Get the number of configured query filter types.
Definition: CrowdManager.h:132
Urho3D::RenderSurface::GetWidth
int GetWidth() const
Return width.
Definition: RenderSurface.cpp:82
Urho3D::Script::SetDefaultScriptFile
void SetDefaultScriptFile(ScriptFile *file)
Set immediate mode script file.
Definition: Script.cpp:213
Urho3D::JSONValue::SetVariantVector
void SetVariantVector(const VariantVector &variantVector, Context *context=nullptr)
Set variant vector, context must provide for resource ref.
Definition: JSONValue.cpp:593
Urho3D::NavigationGeometryInfo::lodLevel_
unsigned lodLevel_
Geometry LOD level if applicable.
Definition: NavigationMesh.h:64
Urho3D::ScriptInstance::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: ScriptInstance.cpp:194
Urho3D::ParticleEffect2D::SetRadialAccelVariance
void SetRadialAccelVariance(float radialAccelVariance)
Set radial acceleration variance.
Definition: ParticleEffect2D.cpp:354
Urho3D::ProgressBar::SetValue
void SetValue(float value)
Set ProgressBar current value.
Definition: ProgressBar.cpp:92
Urho3D::BorderImage::GetTexture
Texture * GetTexture() const
Return texture.
Definition: BorderImage.h:76
Urho3D::Deserializer::ReadBuffer
PODVector< unsigned char > ReadBuffer()
Read a buffer with size encoded as VLE.
Definition: Deserializer.cpp:276
Urho3D::ListView::RemoveItem
void RemoveItem(UIElement *item, unsigned index=0)
Remove specific item, starting search at the specified index if provided. In hierarchy mode will also...
Definition: ListView.cpp:415
Urho3D::Script::GetCallStack
static String GetCallStack(asIScriptContext *context)
Get call stack.
Definition: Script.cpp:270
Urho3D::TmxLayer2D::visible_
bool visible_
Visible.
Definition: TmxFile2D.h:85
Urho3D::ParticleEffect::GetInactiveTime
float GetInactiveTime() const
Return emission inactive period length (0 = infinite).
Definition: ParticleEffect.h:272
Urho3D::Vector3::UP
static const Vector3 UP
(0,1,0) vector.
Definition: Vector3.h:487
Urho3D::Graphics::GetWindowPosition
IntVector2 GetWindowPosition() const
Return window position.
Definition: Graphics.cpp:234
Urho3D::View::depthOnlyDummyTexture_
Texture * depthOnlyDummyTexture_
Dummy texture for D3D9 depth only rendering.
Definition: View.h:344
Urho3D::TerrainPatch::GetOcclusionGeometry
Geometry * GetOcclusionGeometry() const
Return geometry used for occlusion.
Definition: TerrainPatch.cpp:258
Urho3D::RenderPathCommand::blendMode_
BlendMode blendMode_
Blend mode. Affects quad command only.
Definition: RenderPath.h:174
Urho3D::ShaderParameterAnimationInfo
Material's shader parameter animation instance.
Definition: Material.h:76
Urho3D::List::Iterator::operator*
T & operator*() const
Dereference the node value.
Definition: List.h:103
Urho3D::UIElement::IsEnabledSelf
bool IsEnabledSelf() const
Returns the element's last own enabled state. May be different than the value returned by IsEnabled w...
Definition: UIElement.h:514
Urho3D::Connection::GetBytesOutPerSec
float GetBytesOutPerSec() const
Return bytes sent per second.
Definition: Connection.cpp:1100
Urho3D::SharedPtr::SharedPtr
SharedPtr(T *ptr) noexcept
Construct from a raw pointer.
Definition: Ptr.h:73
Urho3D::Vector::Find
Iterator Find(const T &value)
Return iterator to value, or to the end if not found.
Definition: Vector.h:465
Urho3D::DynamicNavigationMesh::BuildTiles
unsigned BuildTiles(Vector< NavigationGeometryInfo > &geometryList, const IntVector2 &from, const IntVector2 &to)
Build tiles in the rectangular area. Return number of built tiles.
Definition: DynamicNavigationMesh.cpp:999
Urho3D::Color::SaturationHSV
float SaturationHSV() const
Return saturation as defined for HSV.
Definition: Color.cpp:143
Urho3D::AbstractFile::AbstractFile
AbstractFile(unsigned int size)
Construct.
Definition: AbstractFile.h:38
Urho3D::LM_FORCE_CLAMPED
@ LM_FORCE_CLAMPED
Force clamped.
Definition: AnimatedSprite2D.h:46
Urho3D::WorkItem::end_
void * end_
Data end pointer.
Definition: WorkQueue.h:53
Urho3D::ListView::Expand
void Expand(unsigned index, bool enable, bool recursive=false)
Expand item at index. Only has effect in hierarchy mode.
Definition: ListView.cpp:773
Urho3D::Connection::nodeLatestData_
HashMap< unsigned, PODVector< unsigned char > > nodeLatestData_
Pending latest data for not yet received nodes.
Definition: Connection.h:307
Urho3D::Image::IsArray
bool IsArray() const
Whether this texture has been detected as a volume, only relevant for DDS.
Definition: Image.h:141
Urho3D::BillboardSet::relative_
bool relative_
Billboards relative flag.
Definition: BillboardSet.h:162
Urho3D::SpriteSheet2D::SpriteSheet2D
SpriteSheet2D(Context *context)
Construct.
Definition: SpriteSheet2D.cpp:42
Urho3D::Sprite::GetTexture
Texture * GetTexture() const
Return texture.
Definition: Sprite.h:95
Urho3D::NavigationMesh::GetWorldBoundingBox
BoundingBox GetWorldBoundingBox() const
Return world space bounding box of the navigation mesh.
Definition: NavigationMesh.cpp:867
Urho3D::Renderer2D::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: Renderer2D.cpp:276
Urho3D::CullMode
CullMode
Culling mode.
Definition: GraphicsDefs.h:98
Urho3D::Camera::GetClipPlane
const Plane & GetClipPlane() const
Return the custom clipping plane.
Definition: Camera.h:185
Urho3D::CustomGeometryVertex
Custom geometry vertex.
Definition: CustomGeometry.h:31
Urho3D::IKConstraint::SetIKConstraintNode
void SetIKConstraintNode(ik_node_t *constraintNode)
Intended to be used only by IKSolver.
Definition: IKConstraint.cpp:108
Urho3D::SmoothedTransform::~SmoothedTransform
~SmoothedTransform() override
Destruct.
Urho3D::DebugHud::GetProfilerText
Text * GetProfilerText() const
Return profiler text.
Definition: DebugHud.h:82
Urho3D::Renderer2D::frame_
FrameInfo frame_
View frame info for current frame.
Definition: Renderer2D.h:123
Urho3D::BoundingBox::Transformed
BoundingBox Transformed(const Matrix3 &transform) const
Return transformed by a 3x3 matrix.
Definition: BoundingBox.cpp:126
Urho3D::ResourceCache::SetReturnFailedResources
void SetReturnFailedResources(bool enable)
Enable or disable returning resources that failed to load. Default false. This may be useful in editi...
Definition: ResourceCache.h:126
Urho3D::ShaderParameterAnimationInfo::ApplyValue
void ApplyValue(const Variant &newValue) override
Apply new animation value to the target object. Called by Update().
Definition: Material.cpp:193
Urho3D::GraphicsImpl
Graphics subsystem implementation. Holds API-specific objects.
Definition: OGLGraphicsImpl.h:99
Urho3D::Light::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: Light.cpp:167
Urho3D::Variant::GetColor
const Color & GetColor() const
Return color or default on type mismatch. Vector4 is aliased to Color if necessary.
Definition: Variant.h:1194
Urho3D::UniquePtr::operator*
T & operator*() const
Dereference the object.
Definition: Ptr.h:610
Urho3D::CascadeParameters
Cascaded shadow map parameters.
Definition: Light.h:81
Urho3D::ParticleEffect::dampingForce_
float dampingForce_
Particle velocity damping force.
Definition: ParticleEffect.h:385
Urho3D::BatchQueue::SortBackToFront
void SortBackToFront()
Sort non-instanced draw calls back to front.
Definition: Batch.cpp:728
Urho3D::AnimatedModel::geometrySkinMatrices_
Vector< PODVector< Matrix3x4 > > geometrySkinMatrices_
Subgeometry skinning matrices, used if more bones than skinning shader can manage.
Definition: AnimatedModel.h:225
Urho3D::TmxLayer2D::tmxFile_
WeakPtr< TmxFile2D > tmxFile_
Tmx file.
Definition: TmxFile2D.h:75
Urho3D::VariantAttributeAccessorImpl::Get
void Get(const Serializable *ptr, Variant &value) const override
Invoke getter function.
Definition: Serializable.h:160
Urho3D::Connection::GetTimeStamp
unsigned char GetTimeStamp() const
Return the controls timestamp, sent from client to server along each control update.
Definition: Connection.h:186
Urho3D::Scene::ClearRequiredPackageFiles
void ClearRequiredPackageFiles()
Clear required package files.
Definition: Scene.cpp:686
Urho3D::PhysicsRaycastResult::body_
RigidBody * body_
Rigid body that was hit.
Definition: PhysicsWorld.h:77
Urho3D::Node::CloneComponent
Component * CloneComponent(Component *component, unsigned id=0)
Clone a component from another node using its create mode. Return the clone if successful or null on ...
Definition: Node.cpp:942
Urho3D::Zone::ambientColor_
Color ambientColor_
Ambient color.
Definition: Zone.h:148
Urho3D::Light::brightness_
float brightness_
Brightness multiplier.
Definition: Light.h:373
Urho3D::WeakPtr::operator*
T & operator*() const
Dereference the object.
Definition: Ptr.h:414
Urho3D::PODVector::PODVector
PODVector(const T *data, unsigned size)
Construct with initial data.
Definition: Vector.h:711
Urho3D::Camera::SetReflectionPlaneAttr
void SetReflectionPlaneAttr(const Vector4 &value)
Set reflection plane attribute.
Definition: Camera.cpp:616
Urho3D::DropDownList::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: DropDownList.cpp:81
Urho3D::Deserializer::Read
virtual unsigned Read(void *dest, unsigned size)=0
Read bytes from the stream. Return number of bytes actually read.
Urho3D::Tile2D::GetFlipY
bool GetFlipY() const
Return flip Y.
Definition: TileMapDefs2D.h:142
Urho3D::Node::GetTags
const StringVector & GetTags() const
Return all tags.
Definition: Node.h:353
Urho3D::File::mode_
FileMode mode_
Open mode.
Definition: File.h:123
Urho3D::OcclusionBuffer::IsThreaded
bool IsThreaded() const
Return whether is using threads to speed up rendering.
Definition: OcclusionBuffer.h:150
Urho3D::UI::DebugDraw
void DebugDraw(UIElement *element)
Debug draw a UI element.
Definition: UI.cpp:546
Urho3D::LuaFunction::PushFloat
void PushFloat(float value)
Push float to stack.
Definition: LuaFunction.cpp:116
Urho3D::ValueAnimationInfo::GetSpeed
float GetSpeed() const
Return speed.
Definition: ValueAnimationInfo.h:75
Urho3D::IKSolver::CalculateJointRotations
void CalculateJointRotations()
Skinned models require joint rotations to be calculated so skinning works correctly....
Definition: IKSolver.cpp:393
Urho3D::LightQueryResult
Intermediate light processing result.
Definition: View.h:55
Urho3D::BatchGroupKey::ToHash
unsigned ToHash() const
Return hash value.
Definition: Batch.cpp:714
Urho3D::Vector::operator==
bool operator==(const Vector< T > &rhs) const
Test for equality with another vector.
Definition: Vector.h:161
Urho3D::ComponentReplicationState::dirtyAttributes_
DirtyBits dirtyAttributes_
Dirty attribute bits.
Definition: ReplicationState.h:152
Urho3D::UIElement::GetHeight
int GetHeight() const
Return height.
Definition: UIElement.h:418
Urho3D::RigidBody::SetRestitution
void SetRestitution(float restitution)
Set restitution coefficient.
Definition: RigidBody.cpp:401
Urho3D::FloatToHalf
unsigned short FloatToHalf(float value)
Convert float to half float. From https://gist.github.com/martinkallman/5049614.
Definition: MathDefs.h:302
Urho3D::Component::id_
unsigned id_
Unique ID within the scene.
Definition: Component.h:140
Urho3D::FlagSet::operator!=
bool operator!=(Enum rhs) const
Non-equality check against enum value.
Definition: FlagSet.h:202
Urho3D::RigidBody::AddBodyToWorld
void AddBodyToWorld()
Create the rigid body, or re-add to the physics world with changed flags. Calls UpdateMass().
Definition: RigidBody.cpp:952
Urho3D::BackgroundLoader::FinishResources
void FinishResources(int maxMs)
Process resources that are ready to finish.
Urho3D::BatchGroup::SetInstancingData
void SetInstancingData(void *lockedData, unsigned stride, unsigned &freeIndex)
Pre-set the instance data. Buffer must be big enough to hold all data.
Definition: Batch.cpp:645
Urho3D::Graphics::SetDepthBias
void SetDepthBias(float constantBias, float slopeScaledBias)
Set depth bias.
Definition: OGLGraphics.cpp:1803
Urho3D::Variant::GetCustom
T GetCustom() const
Return custom variant value or default-constructed on type mismatch.
Definition: Variant.h:1309
Urho3D::Input::GetJoystick
JoystickState * GetJoystick(SDL_JoystickID id)
Return joystick state by ID, or null if does not exist.
Definition: Input.cpp:1474
Urho3D::Serializable::Serializable
Serializable(Context *context)
Construct.
Definition: Serializable.cpp:56
Urho3D::USE_POSTUPDATE
@ USE_POSTUPDATE
Bitmask for using the scene post-update event.
Definition: LogicComponent.h:40
Urho3D::AnimationController::AnimationController
AnimationController(Context *context)
Construct.
Definition: AnimationController.cpp:56
Urho3D::ResourceCache::GetResource
Resource * GetResource(StringHash type, const String &name, bool sendEventOnFailure=true)
Return a resource by type and name. Load if not loaded yet. Return null if not found or if fails,...
Definition: ResourceCache.cpp:562
Urho3D::LogicComponent
Helper base class for user-defined game logic components that hooks up to update events and forwards ...
Definition: LogicComponent.h:49
Urho3D::LuaScriptInstance::LuaScriptInstance
LuaScriptInstance(Context *context)
Construct.
Definition: LuaScriptInstance.cpp:66
Urho3D::HashMap::Rehash
void Rehash()
Rehash the buckets.
Definition: HashMap.h:766
Urho3D::RenderPath::RemoveCommand
void RemoveCommand(unsigned index)
Remove a command by index.
Definition: RenderPath.cpp:484
Urho3D::Graphics::scratchBuffers_
Vector< ScratchBuffer > scratchBuffers_
Scratch buffers.
Definition: Graphics.h:769
Urho3D::Drawable::GetNumOccluderTriangles
virtual unsigned GetNumOccluderTriangles()
Return number of occlusion geometry triangles.
Definition: Drawable.h:144
Urho3D::String::CStringLength
static unsigned CStringLength(const char *str)
Return length of a C string.
Definition: Str.h:498
Urho3D::IndexBuffer::lockState_
LockState lockState_
Buffer locking state.
Definition: IndexBuffer.h:105
Urho3D::Serializable::GetNumNetworkAttributes
unsigned GetNumNetworkAttributes() const
Return number of network replication attributes.
Definition: Serializable.cpp:994
Urho3D::StringHashRegister::GetInternalMap
const StringMap & GetInternalMap() const
Return map of hashes. Return value is unsafe to use if RegisterString is called from other threads.
Definition: StringHashRegister.h:55
Urho3D::DelayedCall::repeat_
bool repeat_
Repeat flag.
Definition: ScriptEventListener.h:44
Urho3D::Rect::Rect
Rect() noexcept
Construct an undefined rect.
Definition: Rect.h:35
Urho3D::Constraint::GetRotation
const Quaternion & GetRotation() const
Return constraint rotation relative to own body.
Definition: Constraint.h:119
Urho3D::CrowdManager::SetCrowdVelocity
void SetCrowdVelocity(const Vector3 &velocity, Node *node=nullptr)
Set the crowd move velocity. The move velocity is applied to all crowd agents found in the specified ...
Definition: CrowdManager.cpp:216
Urho3D::Renderer::GetShadowMapSize
int GetShadowMapSize() const
Return shadow map resolution.
Definition: Renderer.h:289
Urho3D::ConstraintRope2D::SetOwnerBodyAnchor
void SetOwnerBodyAnchor(const Vector2 &anchor)
Set owner body anchor.
Definition: ConstraintRope2D.cpp:58
Urho3D::ResourceCache::backgroundLoader_
SharedPtr< BackgroundLoader > backgroundLoader_
Resource background loader.
Definition: ResourceCache.h:244
Urho3D::PackageFile::nameHash_
StringHash nameHash_
Package file name hash.
Definition: PackageFile.h:94
Urho3D::SoundSource::soundTypeHash_
StringHash soundTypeHash_
SoundSource type hash.
Definition: SoundSource.h:134
Urho3D::Node::GetDerivedComponent
T * GetDerivedComponent(bool recursive=false) const
Return first component derived from class.
Definition: Node.h:740
Urho3D::AnimationController::Update
virtual void Update(float timeStep)
Update the animations. Is called from HandleScenePostUpdate().
Definition: AnimationController.cpp:88
Urho3D::ParticleEmitter2D::GetEffect
ParticleEffect2D * GetEffect() const
Return particle effect.
Definition: ParticleEmitter2D.cpp:140
Urho3D::Serializable::LoadXML
virtual bool LoadXML(const XMLElement &source)
Load from XML data. Return true if successful.
Definition: Serializable.cpp:344
Urho3D::AllContentOctreeQuery
Definition: OctreeQuery.h:257
Urho3D::NamedPipe::NamedPipe
NamedPipe(Context *context)
Construct.
Definition: NamedPipe.cpp:45
Urho3D::ConstraintMouse2D::SetDampingRatio
void SetDampingRatio(float dampingRatio)
Set damping ratio.
Definition: ConstraintMouse2D.cpp:102
Urho3D::Obstacle::HandleNavigationTileAdded
void HandleNavigationTileAdded(StringHash eventType, VariantMap &eventData)
Handle navigation mesh tile added.
Definition: Obstacle.cpp:142
Urho3D::AnimationSet2D::sprite_
SharedPtr< Sprite2D > sprite_
Spine sprite.
Definition: AnimationSet2D.h:100
Urho3D::Text::fontFace_
WeakPtr< FontFace > fontFace_
Current face.
Definition: Text.h:221
Urho3D::ParticleEmitter2D::OnDrawOrderChanged
void OnDrawOrderChanged() override
Handle draw order changed.
Definition: ParticleEmitter2D.cpp:204
Urho3D::ObjectAnimation::RemoveAttributeAnimation
void RemoveAttributeAnimation(const String &name)
Remove attribute animation, attribute name can in following format: "attribute" or "#0/#1/attribute" ...
Definition: ObjectAnimation.cpp:204
Urho3D::SourceBatch
Source data for a 3D geometry draw call.
Definition: Drawable.h:81
Urho3D::HashMap::HashMap
HashMap(const HashMap< T, U > &map)
Construct from another hash map.
Definition: HashMap.h:226
Urho3D::O_ORTHOGONAL
@ O_ORTHOGONAL
Orthogonal.
Definition: TileMapDefs2D.h:39
Urho3D::BoundingBox::BoundingBox
BoundingBox(float min, float max) noexcept
Construct from minimum and maximum floats (all dimensions same).
Definition: BoundingBox.h:75
Urho3D::BorderImage::imageBorder_
IntRect imageBorder_
Border dimensions on the image.
Definition: BorderImage.h:123
Urho3D::NavArea::NavArea
NavArea(Context *)
Construct.
Definition: NavArea.cpp:41
Urho3D::Vector::CalculateCapacity
static unsigned CalculateCapacity(unsigned size, unsigned capacity)
Calculate new vector capacity.
Definition: Vector.h:570
Urho3D::HttpRequest::ThreadFunction
void ThreadFunction() override
Process the connection in the worker thread until closed.
Definition: HttpRequest.cpp:78
Urho3D::Sprite::transform_
Matrix3x4 transform_
Transform matrix.
Definition: Sprite.h:126
Urho3D::Ln
T Ln(T x)
Return natural logarithm of X.
Definition: MathDefs.h:163
Urho3D::CustomGeometry::GetGeometryDataAttr
PODVector< unsigned char > GetGeometryDataAttr() const
Return geometry data attribute.
Definition: CustomGeometry.cpp:775
Urho3D::CollisionEdge2D::vertex2_
Vector2 vertex2_
Vertex 2.
Definition: CollisionEdge2D.h:67
Urho3D::Color::Bounds
void Bounds(float *min, float *max, bool clipped=false) const
Stores the values of least and greatest RGB component at specified pointer addresses,...
Definition: Color.cpp:159
Urho3D::Log::HandleEndFrame
void HandleEndFrame(StringHash eventType, VariantMap &eventData)
Handle end of frame. Process the threaded log messages.
Definition: Log.cpp:267
Urho3D::Profiler::intervalFrames_
unsigned intervalFrames_
Frames in the current interval.
Definition: Profiler.h:227
Urho3D::RigidBody2D::IsAwake
bool IsAwake() const
Return awake.
Definition: RigidBody2D.cpp:533
Urho3D::CollisionEdge2D::vertex1_
Vector2 vertex1_
Vertex 1.
Definition: CollisionEdge2D.h:65
Urho3D::Min
T Min(T lhs, U rhs)
Return the smaller of two values.
Definition: MathDefs.h:83
Urho3D::Graphics::GetWindow
SDL_Window * GetWindow() const
Return SDL window.
Definition: Graphics.h:333
Urho3D::Context::RegisterAttribute
AttributeHandle RegisterAttribute(StringHash objectType, const AttributeInfo &attr)
Register object attribute.
Definition: Context.cpp:196
Urho3D::CustomGeometry::SetMaterialsAttr
void SetMaterialsAttr(const ResourceRefList &value)
Set materials attribute.
Definition: CustomGeometry.cpp:768
Urho3D::ScreenModeParams::resizable_
bool resizable_
Whether the window is resizable.
Definition: Graphics.h:88
Urho3D::ShaderProgram::vertexShader_
WeakPtr< ShaderVariation > vertexShader_
Vertex shader.
Definition: OGLShaderProgram.h:91
Urho3D::RigidBody::SetCcdRadius
void SetCcdRadius(float radius)
Set continuous collision detection swept sphere radius.
Definition: RigidBody.cpp:419
Urho3D::BackgroundLoader::~BackgroundLoader
~BackgroundLoader() override
Destruct. Forcibly clear the load queue.
Urho3D::NetworkPriority::CheckUpdate
bool CheckUpdate(float distance, float &accumulator)
Increment and check priority accumulator. Return true if should update. Called by Connection.
Definition: NetworkPriority.cpp:85
Urho3D::Matrix3::IsInf
bool IsInf() const
Return whether any element is Inf.
Definition: Matrix3.h:287
Urho3D::NavigationMesh::Allocate
virtual bool Allocate(const BoundingBox &boundingBox, unsigned maxTiles)
Allocate the navigation mesh without building any tiles. Bounding box is not padded....
Definition: NavigationMesh.cpp:325
Urho3D::Renderer::GetOcclusionBuffer
OcclusionBuffer * GetOcclusionBuffer(Camera *camera)
Allocate an occlusion buffer.
Definition: Renderer.cpp:1103
Urho3D::ListView::~ListView
~ListView() override
Destruct.
Urho3D::Mutex::Acquire
void Acquire()
Acquire the mutex. Block if already acquired.
Definition: Mutex.cpp:89
Urho3D::Constraint::recreateConstraint_
bool recreateConstraint_
Recreate constraint flag.
Definition: Constraint.h:203
Urho3D::ParticleEffect::SetMaxDirection
void SetMaxDirection(const Vector3 &direction)
Set positive direction limit.
Definition: ParticleEffect.cpp:495
Urho3D::Graphics::GetWindowTitle
const String & GetWindowTitle() const
Return window title.
Definition: Graphics.h:336
Urho3D::Constraint2D::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: Constraint2D.cpp:148
Urho3D::UIElement::resizeNestingLevel_
unsigned resizeNestingLevel_
Resize nesting level to prevent multiple events and endless loop.
Definition: UIElement.h:728
Urho3D::AreaAllocator::Cleanup
void Cleanup()
Clean up redundant free space. Not called in fast mode.
Definition: AreaAllocator.cpp:207
Urho3D::IndexBufferDesc
Description of index buffer data for asynchronous loading.
Definition: Model.h:80
Urho3D::Image::GetPixelInt
unsigned GetPixelInt(int x, int y) const
Return a 2D pixel integer color. R component is in the 8 lowest bits.
Definition: Image.cpp:1510
Urho3D::Vector::MoveTag
Definition: Vector.h:46
Urho3D::Renderer2D::CreateMaterial
SharedPtr< Material > CreateMaterial(Texture2D *texture, BlendMode blendMode)
Create material by texture and blend mode.
Definition: Renderer2D.cpp:283
Urho3D::RigidBody::GetLinearDamping
float GetLinearDamping() const
Return linear velocity damping factor.
Definition: RigidBody.cpp:638
Urho3D::SphereOctreeQuery::TestOctant
Intersection TestOctant(const BoundingBox &box, bool inside) override
Intersection test for an octant.
Definition: OctreeQuery.cpp:54
Urho3D::Pass::GetBlendMode
BlendMode GetBlendMode() const
Return blend mode.
Definition: Technique.h:90
Urho3D::UIElement::GetMinAnchor
const Vector2 & GetMinAnchor() const
Return minimum anchor.
Definition: UIElement.h:460
Urho3D::UIElement::name_
String name_
Name.
Definition: UIElement.h:678
Urho3D::OcclusionBufferData::used_
bool used_
Use flag.
Definition: OcclusionBuffer.h:61
Urho3D::Animation::AddTrigger
void AddTrigger(const AnimationTriggerPoint &trigger)
Add a trigger point.
Definition: Animation.cpp:342
Urho3D::Serializable::WriteInitialDeltaUpdate
void WriteInitialDeltaUpdate(Serializer &dest, unsigned char timeStamp)
Write initial delta network update.
Definition: Serializable.cpp:737
Urho3D::IntVector2::y_
int y_
Y coordinate.
Definition: Vector2.h:158
Urho3D::AnimatedSprite2D
Animated sprite component, it uses to play animation created by Spine (http://www....
Definition: AnimatedSprite2D.h:57
Urho3D::RoundToInt
int RoundToInt(T x)
Round value to nearest integer.
Definition: MathDefs.h:213
Urho3D::UIComponent::OnElementResized
void OnElementResized(StringHash eventType, VariantMap &args)
Handle resizing of element. Setting size of element will automatically resize texture....
Definition: UIComponent.cpp:222
Urho3D::IM_LINEAR
@ IM_LINEAR
Linear interpolation (default).
Definition: ValueAnimation.h:42
Urho3D::SoundListener::~SoundListener
~SoundListener() override
Destruct.
Urho3D::RigidBody2D::SetAngularVelocity
void SetAngularVelocity(float angularVelocity)
Set angular velocity.
Definition: RigidBody2D.cpp:314
Urho3D::Input::RemoveScreenJoystick
bool RemoveScreenJoystick(SDL_JoystickID id)
Remove screen joystick by instance ID.
Definition: Input.cpp:1148
Urho3D::UniquePtr::UniquePtr
UniquePtr(std::nullptr_t)
Construct empty.
Definition: Ptr.h:589
Urho3D::ShaderProgram::HasTextureUnit
bool HasTextureUnit(TextureUnit unit) const
Return whether uses a texture unit.
Definition: OGLShaderProgram.h:62
Urho3D::Text3D::SetEffectRoundStroke
void SetEffectRoundStroke(bool roundStroke)
Set stroke rounding. Corners of the font will be rounded off in the stroke so the stroke won't have c...
Definition: Text3D.cpp:293
Urho3D::Drawable::OnRemoveFromOctree
virtual void OnRemoveFromOctree()
Handle removal from octree.
Definition: Drawable.h:318
Urho3D::Billboard::direction_
Vector3 direction_
Direction (For direction based billboard only).
Definition: BillboardSet.h:51
Urho3D::Network::CheckRemoteEvent
bool CheckRemoteEvent(StringHash eventType) const
Return whether a remote event is allowed to be received.
Definition: Network.cpp:690
Urho3D::Sphere::IsInside
Intersection IsInside(const Sphere &sphere) const
Test if another sphere is inside, outside or intersects.
Definition: Sphere.h:166
Urho3D::Vector2
Two-dimensional vector.
Definition: Vector2.h:175
Urho3D::ParticleEffect::SetMinTimeToLive
void SetMinTimeToLive(float time)
Set particle minimum time to live.
Definition: ParticleEffect.cpp:540
Urho3D::Variant::GetVariantMap
const VariantMap & GetVariantMap() const
Return a variant map or empty on type mismatch.
Definition: Variant.h:1244
Urho3D::CrowdAgent::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CrowdAgent.cpp:105
Urho3D::Octant::CheckDrawableFit
bool CheckDrawableFit(const BoundingBox &box) const
Check if a drawable object fits.
Definition: Octree.cpp:168
Urho3D::PhysicsWorld2D::GetVelocityIterations
int GetVelocityIterations() const
Return velocity iterations.
Definition: PhysicsWorld2D.h:194
Urho3D::Skybox
Static model component with fixed position in relation to the camera.
Definition: Skybox.h:31
Urho3D::Graphics::SetFlushGPU
void SetFlushGPU(bool enable)
Set whether to flush the GPU command buffer to prevent multiple frames being queued and uneven frame ...
Definition: OGLGraphics.cpp:532
Urho3D::UIElement::SetParent
void SetParent(UIElement *parent, unsigned index=M_MAX_UNSIGNED)
Set parent element. Same as parent->InsertChild(index, this).
Definition: UIElement.cpp:1433
Urho3D::XMLElement::GetColor
Color GetColor(const String &name) const
Return a color attribute, or default if missing.
Definition: XMLElement.cpp:787
Urho3D::Texture::depth_
int depth_
Texture depth.
Definition: Texture.h:221
Urho3D::Sphere::center_
Vector3 center_
Sphere center.
Definition: Sphere.h:202
Urho3D::Billboard::rotation_
float rotation_
Rotation.
Definition: BillboardSet.h:49
Urho3D::Drawable::IsZoneDirty
bool IsZoneDirty() const
Return whether current zone is inconclusive or dirty due to the drawable moving.
Definition: Drawable.h:257
Urho3D::FontFace::FontFace
FontFace(Font *font)
Construct.
Definition: FontFace.cpp:37
Urho3D::Vector3::IsInf
bool IsInf() const
Return whether any component is Inf.
Definition: Vector3.h:420
Urho3D::NodeImpl
Internal implementation structure for less performance-critical Node variables.
Definition: Node.h:58
Urho3D::View::occlusionBuffer_
OcclusionBuffer * occlusionBuffer_
Occlusion buffer for the main camera.
Definition: View.h:330
Urho3D::Font::fontType_
FontType fontType_
Font type.
Definition: Font.h:109
Urho3D::CollisionChain2D::vertices_
PODVector< Vector2 > vertices_
Vertices.
Definition: CollisionChain2D.h:79
Urho3D::PhysicsRaycastResult::position_
Vector3 position_
Hit worldspace position.
Definition: PhysicsWorld.h:69
Urho3D::PhysicsWorld2D::positionIterations_
int positionIterations_
Position iterations.
Definition: PhysicsWorld2D.h:226
Urho3D::RigidBody::GetLinearRestThreshold
float GetLinearRestThreshold() const
Return linear velocity deactivation threshold.
Definition: RigidBody.cpp:633
Urho3D::TmxFile2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: TmxFile2D.cpp:388
Urho3D::AnimatedSprite2D::GetAnimationSetAttr
ResourceRef GetAnimationSetAttr() const
Return animation set attribute.
Definition: AnimatedSprite2D.cpp:207
Urho3D::Scene::SaveXML
bool SaveXML(Serializer &dest, const String &indentation="\t") const
Save to an XML file. Return true if successful.
Definition: Scene.cpp:263
Urho3D::Node::RemoveAllTags
void RemoveAllTags()
Remove all tags.
Definition: Node.cpp:417
Urho3D::Drawable::SetViewMask
void SetViewMask(unsigned mask)
Set view mask. Is and'ed with camera's view mask to see if the object should be rendered.
Definition: Drawable.cpp:191
Urho3D::AnimatedModel::GetAnimationState
AnimationState * GetAnimationState(Animation *animation) const
Return animation state by animation pointer.
Definition: AnimatedModel.cpp:657
Urho3D::CrowdAgent::height_
float height_
Agent's height, if 0 the navigation mesh's setting will be used.
Definition: CrowdAgent.h:222
Urho3D::Node::CreateComponent
Component * CreateComponent(StringHash type, CreateMode mode=REPLICATED, unsigned id=0)
Create a component to this node (with specified ID if provided).
Definition: Node.cpp:914
Urho3D::List::FreeNode
void FreeNode(Node *node)
Free a node.
Definition: List.h:491
Urho3D::Drawable::Update
virtual void Update(const FrameInfo &frame)
Update before octree reinsertion. Is called from a worker thread.
Definition: Drawable.h:131
Urho3D::Node::SetWorldPosition
void SetWorldPosition(const Vector3 &position)
Set position in world space.
Definition: Node.cpp:513
Urho3D::Node::SetScaleSilent
void SetScaleSilent(const Vector3 &scale)
Set scale in parent space silently without marking the node & child nodes dirty. Used by animation co...
Definition: Node.h:631
Urho3D::AnimatedSprite2D::SetSpriterAnimation
void SetSpriterAnimation()
Handle set spriter animation.
Definition: AnimatedSprite2D.cpp:389
Urho3D::XMLElement::GetName
String GetName() const
Return element name (or attribute name if it is an attribute only XPath query result).
Definition: XMLElement.cpp:578
Urho3D::Localization::languageIndex_
int languageIndex_
Index of current language.
Definition: Localization.h:73
Urho3D::ParticleEffect::GetMinEmissionRate
float GetMinEmissionRate() const
Return minimum emission rate.
Definition: ParticleEffect.h:275
Urho3D::View::SetCameraShaderParameters
void SetCameraShaderParameters(Camera *camera)
Set camera-specific shader parameters. Called by Batch and internally by View.
Definition: View.cpp:704
Urho3D::PListFile::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: PListFile.cpp:306
Urho3D::HashMap::Insert
void Insert(const HashMap< T, U > &map)
Insert a map.
Definition: HashMap.h:385
Urho3D::Matrix4::RotationMatrix
Matrix3 RotationMatrix() const
Return the rotation matrix with scaling removed.
Definition: Matrix4.h:536
Urho3D::Material::subscribed_
bool subscribed_
Flag for whether is subscribed to animation updates.
Definition: Material.h:319
Urho3D::FontGlyph::texHeight_
short texHeight_
Height in texture.
Definition: FontFace.h:46
Urho3D::UI::SaveLayout
bool SaveLayout(Serializer &dest, UIElement *element)
Save a UI layout to an XML file. Return true if successful.
Definition: UI.cpp:625
Urho3D::Graphics::SetFillMode
void SetFillMode(FillMode mode)
Set polygon fill mode.
Definition: OGLGraphics.cpp:1843
Urho3D::CollisionShape::HandleModelReloadFinished
void HandleModelReloadFinished(StringHash eventType, VariantMap &eventData)
Update trimesh or convex shape after a model has reloaded itself.
Definition: CollisionShape.cpp:1209
Urho3D::HashSet::operator=
HashSet & operator=(const HashSet< T > &rhs)
Assign a hash set.
Definition: HashSet.h:219
Urho3D::ConvexData::indexCount_
unsigned indexCount_
Number of indices.
Definition: CollisionShape.h:121
Urho3D::TerrainPatch::GetSouthPatch
TerrainPatch * GetSouthPatch() const
Return south neighbor patch.
Definition: TerrainPatch.h:92
Urho3D::FileSelector::GetFileName
const String & GetFileName() const
Return current filename.
Definition: FileSelector.cpp:261
Urho3D::ParticleEffect2D::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: ParticleEffect2D.cpp:227
Urho3D::Drawable::LimitVertexLights
void LimitVertexLights(bool removeConvertedLights)
Sort and limit per-vertex lights to maximum allowed.
Definition: Drawable.cpp:338
Urho3D::Drawable::viewCameras_
PODVector< Camera * > viewCameras_
List of cameras from which is seen on the current frame.
Definition: Drawable.h:383
Urho3D::JSONValue::JSONValue
JSONValue(const String &value)
Construct with a string.
Definition: JSONValue.h:113
Urho3D::ScriptInstance::RemoveEventHandler
void RemoveEventHandler(StringHash eventType) override
Remove a scripted event handler.
Definition: ScriptInstance.cpp:381
Urho3D::UIBatch::customMaterial_
Material * customMaterial_
Custom material.
Definition: UIBatch.h:97
Urho3D::Resource::GetAsyncLoadState
AsyncLoadState GetAsyncLoadState() const
Return the asynchronous loading state.
Definition: Resource.h:98
Urho3D::File::GetHandle
void * GetHandle() const
Return the file handle.
Definition: File.h:107
Urho3D::String::AppendUTF8
String & AppendUTF8(unsigned unicodeChar)
Append Unicode character at the end as UTF8.
Definition: Str.cpp:855
Urho3D::IntVector3::y_
int y_
Y coordinate.
Definition: Vector3.h:161
Urho3D::VertexBufferDesc::dataSize_
unsigned dataSize_
Vertex data size.
Definition: Model.h:74
Urho3D::SoundSource::Seek
void Seek(float seekTime)
Seek to time.
Definition: SoundSource.cpp:147
Urho3D::ConstraintMouse2D::GetFrequencyHz
float GetFrequencyHz() const
Return frequency Hz.
Definition: ConstraintMouse2D.h:59
Urho3D::Node::GetNumPersistentComponents
unsigned GetNumPersistentComponents() const
Calculate number of non-temporary components.
Definition: Node.cpp:1881
Urho3D::Audio::SetMode
bool SetMode(int bufferLengthMSec, int mixRate, bool stereo, bool interpolation=true)
Initialize sound output with specified buffer length and output mode.
Definition: Audio.cpp:75
Urho3D::AnimationController::SetBlendMode
bool SetBlendMode(const String &name, AnimationBlendMode mode)
Set animation blending mode. Return true on success.
Definition: AnimationController.cpp:405
Urho3D::RemoteEvent
Queued remote event.
Definition: Connection.h:55
Urho3D::ValueAnimationInfo::SetWrapMode
void SetWrapMode(WrapMode wrapMode)
Set wrap mode.
Definition: ValueAnimationInfo.h:57
Urho3D::AsyncProgress
Asynchronous loading progress of a scene.
Definition: Scene.h:57
Urho3D::CollisionShape::SetModelShape
void SetModelShape(ShapeType shapeType, Model *model, unsigned lodLevel, const Vector3 &scale, const Vector3 &position, const Quaternion &rotation)
Set as specified shape type using model and LOD.
Definition: CollisionShape.cpp:1139
Urho3D::Constraint::SetHighLimit
void SetHighLimit(const Vector2 &limit)
Set high limit. Interpretation is constraint type specific.
Definition: Constraint.cpp:282
Urho3D::OcclusionBatch::model_
Matrix3x4 model_
Model matrix.
Definition: OcclusionBuffer.h:68
Urho3D::Serializable::GetAttribute
Variant GetAttribute(unsigned index) const
Return attribute value by index. Return empty if illegal index.
Definition: Serializable.cpp:902
Urho3D::CrowdManager::HandleNavMeshChanged
void HandleNavMeshChanged(StringHash eventType, VariantMap &eventData)
Handle navigation mesh changed event. It can be navmesh being rebuilt or being removed from its node.
Definition: CrowdManager.cpp:707
Urho3D::Profiler::current_
ProfilerBlock * current_
Current profiling block.
Definition: Profiler.h:223
Urho3D::OcclusionBuffer::offsetX_
float offsetX_
X offset for viewport transform.
Definition: OcclusionBuffer.h:219
Urho3D::Graphics::instancingSupport_
bool instancingSupport_
Instancing support flag.
Definition: Graphics.h:755
Urho3D::HashNodeBase::next_
HashNodeBase * next_
Next node.
Definition: HashBase.h:54
Urho3D::Input::GainFocus
void GainFocus()
Prepare input state for application gaining input focus.
Definition: Input.cpp:1591
Urho3D::GraphicsImpl::systemFBO_
unsigned systemFBO_
iOS/tvOS system framebuffer handle.
Definition: OGLGraphicsImpl.h:114
Urho3D::RibbonTrail::endTail_
TrailPoint endTail_
End of trail point for smoother tail disappearance.
Definition: RibbonTrail.h:252
Urho3D::Texture2D::loadParameters_
SharedPtr< XMLFile > loadParameters_
Parameter file acquired during BeginLoad.
Definition: Texture2D.h:92
Urho3D::NavigationMesh::~NavigationMesh
~NavigationMesh() override
Destruct.
Definition: NavigationMesh.cpp:129
Urho3D::TextEffect
TextEffect
Text effect.
Definition: Text.h:39
Urho3D::Text::SetText
void SetText(const String &text)
Set text. Text is assumed to be either ASCII or UTF8-encoded.
Definition: Text.cpp:293
Urho3D::Console::GetCommandInterpreter
const String & GetCommandInterpreter() const
Return the last used command interpreter.
Definition: Console.h:99
Urho3D::Technique::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Technique.cpp:258
Urho3D::VertexElement::offset_
unsigned offset_
Offset of element from vertex start. Filled by VertexBuffer once the vertex declaration is built.
Definition: GraphicsDefs.h:220
Urho3D::Script::GetModuleMutex
Mutex & GetModuleMutex()
Return the script module create/delete mutex.
Definition: Script.h:105
Urho3D::RaycastVehicle::GetWheelSkidInfoCumulative
float GetWheelSkidInfoCumulative(int wheel) const
Get cumulative skid info.
Definition: RaycastVehicle.cpp:373
Urho3D::RibbonTrail::startColor_
Color startColor_
Color for start of trails.
Definition: RibbonTrail.h:223
Urho3D::ScriptInstance::ClearScriptAttributes
void ClearScriptAttributes()
Clear attributes to C++ side attributes only.
Definition: ScriptInstance.cpp:620
Urho3D::RandomAccessIterator::URHO_CPP14
URHO_CPP14(constexpr) RandomAccessIterator< T > &operator--()
Predecrement the pointer.
Definition: Iter.h:67
Urho3D::Node::GetName
const String & GetName() const
Return name.
Definition: Node.h:347
Urho3D::AnimationControl::removeOnCompletion_
bool removeOnCompletion_
Sets whether this should automatically be removed when it finishes playing.
Definition: AnimationController.h:80
Urho3D::SoundSource::MixStereoToStereoIP
void MixStereoToStereoIP(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix stereo sample to stereo buffer interpolated.
Definition: SoundSource.cpp:1153
Urho3D::NetworkPriority::SetBasePriority
void SetBasePriority(float priority)
Set base priority. Default 100 (send updates at full frequency).
Definition: NetworkPriority.cpp:61
Urho3D::IndexBuffer::OnDeviceReset
void OnDeviceReset() override
Recreate the buffer and restore data if applicable. May be a no-op depending on the API.
Definition: OGLIndexBuffer.cpp:44
Urho3D::Node::vars_
VariantMap vars_
User variables.
Definition: Node.h:707
Urho3D::RigidBody::SetRotation
void SetRotation(const Quaternion &rotation)
Set rigid body rotation in world space.
Definition: RigidBody.cpp:249
Urho3D::Graphics::ReserveScratchBuffer
void * ReserveScratchBuffer(unsigned size)
Reserve a CPU-side scratch buffer.
Definition: Graphics.cpp:399
Urho3D::Serializer::WriteFloat
bool WriteFloat(float value)
Write a float.
Definition: Serializer.cpp:81
Urho3D::IKEffector::GetRotationDecay
float GetRotationDecay() const
Retrieves the rotation decay factor. See SetRotationDecay() for info.
Definition: IKEffector.cpp:200
Urho3D::IntRect::Clip
void Clip(const IntRect &rect)
Definition: Rect.cpp:40
Urho3D::Terrain::lastNumVertices_
IntVector2 lastNumVertices_
Terrain size in vertices at the time of last update.
Definition: Terrain.h:277
Urho3D::Engine::CreateDebugHud
DebugHud * CreateDebugHud()
Create the debug hud.
Definition: Engine.cpp:542
Urho3D::Connection::scene_
WeakPtr< Scene > scene_
Scene.
Definition: Connection.h:299
Urho3D::View::viewSize_
IntVector2 viewSize_
Viewport size.
Definition: View.h:348
Urho3D::DebugLine::start_
Vector3 start_
Start position.
Definition: DebugRenderer.h:58
Urho3D::AllocatorNode
Allocator node.
Definition: Allocator.h:54
Urho3D::RenderSurface::IsResolveDirty
bool IsResolveDirty() const
Return whether multisampled rendertarget needs resolve.
Definition: RenderSurface.h:120
Urho3D::OcclusionBuffer::maxTriangles_
unsigned maxTriangles_
Maximum number of triangles.
Definition: OcclusionBuffer.h:195
Urho3D::TmxObjectGroup2D::StoreObject
void StoreObject(const XMLElement &objectElem, const SharedPtr< TileMapObject2D > &object, const TileMapInfo2D &info, bool isTile=false)
Store object.
Definition: TmxFile2D.cpp:249
Urho3D::ConstraintMouse2D::SetFrequencyHz
void SetFrequencyHz(float frequencyHz)
Set frequency Hz.
Definition: ConstraintMouse2D.cpp:87
Urho3D::CheckBox::SetChecked
void SetChecked(bool enable)
Set checked state.
Definition: CheckBox.cpp:91
Urho3D::AttributeInfo::GetMetadata
const Variant & GetMetadata(const StringHash &key) const
Get attribute metadata.
Definition: Attribute.h:89
Urho3D::RayOctreeQuery::level_
RayQueryLevel level_
Raycast detail level.
Definition: OctreeQuery.h:254
Urho3D::HttpRequest::error_
String error_
Error string. Empty if no error.
Definition: HttpRequest.h:89
Urho3D::IndexBuffer::SetData
bool SetData(const void *data)
Set all data in the buffer.
Definition: OGLIndexBuffer.cpp:78
Urho3D::Renderer::SetViewport
void SetViewport(unsigned index, Viewport *viewport)
Set a backbuffer viewport.
Definition: Renderer.cpp:285
Urho3D::PackageFile::IsCompressed
bool IsCompressed() const
Return whether the files are compressed.
Definition: PackageFile.h:83
Urho3D::XMLElement::GetStringVector
StringVector GetStringVector() const
Return a string vector attribute, or empty if missing.
Definition: XMLElement.cpp:917
Urho3D::NamedPipe::readHandle_
int readHandle_
Pipe handle.
Definition: NamedPipe.h:79
Urho3D::OcclusionBuffer::numTriangles_
unsigned numTriangles_
Number of rendered triangles.
Definition: OcclusionBuffer.h:193
Urho3D::USE_NO_EVENT
@ USE_NO_EVENT
Bitmask for not using any events.
Definition: LogicComponent.h:36
Urho3D::Animation::SetTrigger
void SetTrigger(unsigned index, const AnimationTriggerPoint &trigger)
Set a trigger point at index.
Definition: Animation.cpp:331
Urho3D::IKSolver::IsSolverTreeValid
bool IsSolverTreeValid() const
Returns false if calling Solve() would cause the IK library to abort. Urho3D's error handling philoso...
Definition: IKSolver.cpp:501
Urho3D::Polyhedron::Clip
void Clip(const Plane &plane)
Clip with a plane.
Definition: Polyhedron.cpp:97
Urho3D::Text3D::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: Text3D.cpp:138
Urho3D::NavigationMesh::SetAreaCost
void SetAreaCost(unsigned areaID, float cost)
Set the cost of an area.
Definition: NavigationMesh.cpp:861
Urho3D::Deserializer::ReadVector2
Vector2 ReadVector2()
Read a Vector2.
Definition: Deserializer.cpp:166
Urho3D::Color::Color
Color(const Vector3 &color)
Construct from 3-vector.
Definition: Color.h:105
Urho3D::ParticleEffect::SetMaxVelocity
void SetMaxVelocity(float velocity)
Set particle maximum velocity.
Definition: ParticleEffect.cpp:555
Urho3D::Graphics::ToggleFullscreen
bool ToggleFullscreen()
Toggle between full screen and windowed mode. Return true if successful.
Definition: Graphics.cpp:169
Urho3D::Animatable::SaveJSON
bool SaveJSON(JSONValue &dest) const override
Save as JSON data. Return true if successful.
Definition: Animatable.cpp:213
Urho3D::DelayedWorldTransform::worldRotation_
Quaternion worldRotation_
New world rotation.
Definition: PhysicsWorld.h:90
Urho3D::StaticModel::StaticModel
StaticModel(Context *context)
Construct.
Definition: StaticModel.cpp:47
Urho3D::CollisionShape::GetLodLevel
unsigned GetLodLevel() const
Return model LOD level.
Definition: CollisionShape.h:239
Urho3D::Input::focusedThisFrame_
bool focusedThisFrame_
Gained focus on this frame flag.
Definition: Input.h:424
Urho3D::UI::dragConfirmedCount_
int dragConfirmedCount_
Number of elements in dragElements_ with dragPending = false.
Definition: UI.h:431
Urho3D::PhysicsWorld::nodeCollisionData_
VariantMap nodeCollisionData_
Preallocated event data map for node collision events.
Definition: PhysicsWorld.h:336
Urho3D::Color::ToUIntMask
unsigned ToUIntMask(const ChannelMask &mask) const
Return color packed to a 32-bit integer with arbitrary channel mask. Components are clamped to [0,...
Definition: Color.cpp:43
Urho3D::HashSet::Find
Iterator Find(const T &key)
Return iterator to the key, or end iterator if not found.
Definition: HashSet.h:463
Urho3D::Sprite2D::GetSpriteSheet
SpriteSheet2D * GetSpriteSheet() const
Return sprite sheet.
Definition: Sprite2D.h:80
Urho3D::Graphics::ClearTransformSources
void ClearTransformSources()
Clear remembered transform shader parameter sources.
Definition: OGLGraphics.cpp:1483
Urho3D::WeakPtr::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Ptr.h:504
Urho3D::RigidBody::GetCollisionEventMode
CollisionEventMode GetCollisionEventMode() const
Return collision event signaling mode.
Definition: RigidBody.h:226
Urho3D::ConstraintWheel2D::GetMaxMotorTorque
float GetMaxMotorTorque() const
Return maxMotor torque.
Definition: ConstraintWheel2D.h:68
Urho3D::UIElement::Remove
void Remove()
Remove from the parent element. If no other shared pointer references exist, causes immediate deletio...
Definition: UIElement.cpp:1421
Urho3D::UIElement::SetPivot
void SetPivot(const Vector2 &pivot)
Set pivot relative to element's size (from 0 to 1, where 0.5 is center). Overrides horizontal & verti...
Definition: UIElement.cpp:799
Urho3D::UIElement::SetBringToFront
void SetBringToFront(bool enable)
Set whether should be brought to front when focused.
Definition: UIElement.cpp:859
Urho3D::DecalSet::MarkDecalsDirty
void MarkDecalsDirty()
Mark decals and the bounding box dirty.
Definition: DecalSet.cpp:992
Urho3D::HashMap::HashMap
HashMap(const std::initializer_list< Pair< T, U >> &list)
Aggregate initialization constructor.
Definition: HashMap.h:241
Urho3D::AnimationSet2D::spriteSheetFilePath_
String spriteSheetFilePath_
Sprite sheet file path.
Definition: AnimationSet2D.h:116
Urho3D::ConstraintPulley2D::GetOwnerBodyGroundAnchor
const Vector2 & GetOwnerBodyGroundAnchor() const
Return owner body ground anchor.
Definition: ConstraintPulley2D.h:55
Urho3D::CustomVariantValue::typeInfo_
const std::type_info & typeInfo_
Type info.
Definition: Variant.h:210
Urho3D::TmxLayer2D::GetHeight
int GetHeight() const
Return height.
Definition: TmxFile2D.h:57
Urho3D::SimpleNavBuildData::~SimpleNavBuildData
~SimpleNavBuildData() override
Descturctor.
Definition: NavBuildData.cpp:58
Urho3D::DbResult::GetNumRows
unsigned GetNumRows() const
Return number of rows in the resultset or 0 if the number of rows is not available.
Definition: ODBCResult.h:48
Urho3D::Vector::Size
unsigned Size() const
Return size of vector.
Definition: Vector.h:532
Urho3D::Connection::RequestPackage
void RequestPackage(const String &name, unsigned fileSize, unsigned checksum)
Initiate a package download.
Definition: Connection.cpp:1545
Urho3D::Batch::isBase_
bool isBase_
Base batch flag. This tells to draw the object fully without light optimizations.
Definition: Batch.h:86
Urho3D::ValueAnimation::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ValueAnimation.cpp:64
Urho3D::JSONValue::GetValueTypeFromName
static JSONValueType GetValueTypeFromName(const String &typeName)
Return a value type from name; null if unrecognized.
Definition: JSONValue.cpp:633
Urho3D::HttpRequest::GetState
HttpRequestState GetState() const
Return connection state.
Definition: HttpRequest.cpp:287
Urho3D::StaticModel::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: StaticModel.cpp:132
Urho3D::Graphics::dummyColorFormat_
unsigned dummyColorFormat_
Shadow map dummy color texture format.
Definition: Graphics.h:771
Urho3D::HashMap::Node::Down
Node * Down() const
Return next node in the bucket.
Definition: HashMap.h:103
Urho3D::WorkQueue::GetTolerance
int GetTolerance() const
Return the pool tolerance.
Definition: WorkQueue.h:112
Urho3D::Text3D::customWorldTransform_
Matrix3x4 customWorldTransform_
Custom world transform for facing the camera automatically.
Definition: Text3D.h:202
Urho3D::PrimitiveType
PrimitiveType
Primitive type.
Definition: GraphicsDefs.h:44
Urho3D::Vector2::ProjectOntoAxis
float ProjectOntoAxis(const Vector2 &axis) const
Project vector onto axis.
Definition: Vector2.h:313
Urho3D::LuaFunction::EndCall
bool EndCall(int numReturns=0)
End call and actually execute the function. The return values, if any, are still left in the stack wh...
Definition: LuaFunction.cpp:85
Urho3D::CustomGeometry::materialsAttr_
ResourceRefList materialsAttr_
Material list attribute.
Definition: CustomGeometry.h:176
Urho3D::View::farClipZone_
Zone * farClipZone_
Zone at far clip plane.
Definition: View.h:328
Urho3D::ParticleEmitter2D::GetSprite
Sprite2D * GetSprite() const
Return sprite.
Definition: ParticleEmitter2D.cpp:145
Urho3D::DragAndDropMode
DragAndDropMode
Definition: UIElement.h:104
Urho3D::Text::GetRowHeight
float GetRowHeight() const
Return row height.
Definition: Text.h:172
Urho3D::Input::GetScreenKeyboardSupport
bool GetScreenKeyboardSupport() const
Return whether on-screen keyboard is supported.
Definition: Input.cpp:1486
Urho3D::SimpleNavBuildData
Definition: NavBuildData.h:87
Urho3D::Constraint::SetWorldPosition
void SetWorldPosition(const Vector3 &position)
Set constraint world space position. Resets both own and other body relative position,...
Definition: Constraint.cpp:261
Urho3D::Time::GetElapsedTime
float GetElapsedTime()
Return elapsed time from program start as seconds.
Definition: Timer.cpp:157
Urho3D::DropDownList::RemoveAllItems
void RemoveAllItems()
Remove all items.
Definition: DropDownList.cpp:178
Urho3D::Context::GetAttribute
AttributeInfo * GetAttribute(StringHash objectType, const char *name)
Return a specific attribute description for an object, or null if not found.
Definition: Context.cpp:389
Urho3D::IndexBuffer::~IndexBuffer
~IndexBuffer() override
Destruct.
Definition: IndexBuffer.cpp:54
Urho3D::BillboardSet::MarkPositionsDirty
void MarkPositionsDirty()
Mark billboard vertex buffer to need an update.
Definition: BillboardSet.cpp:767
Urho3D::Connection::RequestNeededPackages
bool RequestNeededPackages(unsigned numPackages, MemoryBuffer &msg)
Check a package list received from server and initiate package downloads as necessary....
Definition: Connection.cpp:1474
Urho3D::ConstraintMouse2D
2D mouse constraint component.
Definition: ConstraintMouse2D.h:31
Urho3D::OffMeshConnection::MarkEndPointDirty
void MarkEndPointDirty()
Mark end point dirty.
Definition: OffMeshConnection.h:76
Urho3D::NavigationMesh::agentRadius_
float agentRadius_
Navigation agent radius.
Definition: NavigationMesh.h:320
Urho3D::Graphics::GetNumPrimitives
unsigned GetNumPrimitives() const
Return number of primitives drawn this frame.
Definition: Graphics.h:402
Urho3D::Variant::Variant
Variant(bool value)
Construct from a bool.
Definition: Variant.h:361
Urho3D::LuaFunction::PushUserType
void PushUserType(const T &userType, const char *typeName)
Push user type to stack.
Definition: LuaFunction.h:86
Urho3D::String::LengthUTF8
unsigned LengthUTF8() const
Calculate number of characters in UTF8 content.
Definition: Str.cpp:780
Urho3D::Drawable::shadowMask_
unsigned shadowMask_
Shadow mask.
Definition: Drawable.h:357
Urho3D::Deserializer::ReadString
String ReadString()
Read a null-terminated string.
Definition: Deserializer.cpp:247
Urho3D::RaycastVehicle::GetWheelDampingRelaxation
float GetWheelDampingRelaxation(int wheel) const
Get wheel damping relaxation.
Definition: RaycastVehicle.cpp:487
Urho3D::TypeInfo::baseTypeInfo_
const TypeInfo * baseTypeInfo_
Base class type info.
Definition: Object.h:66
Urho3D::ConstraintPrismatic2D::GetEnableLimit
bool GetEnableLimit() const
Return enable limit.
Definition: ConstraintPrismatic2D.h:67
Urho3D::Controls::Set
void Set(unsigned buttons, bool down=true)
Set or release buttons.
Definition: Controls.h:43
Urho3D::PhysicsWorld::SetMaxSubSteps
void SetMaxSubSteps(int num)
Set maximum number of physics substeps per frame. 0 (default) is unlimited. Positive values cap the a...
Definition: PhysicsWorld.cpp:327
Urho3D::BoundingBox::IsInsideFast
Intersection IsInsideFast(const BoundingBox &box) const
Test if another bounding box is (partially) inside or outside.
Definition: BoundingBox.h:303
Urho3D::CollisionShape2D::fixture_
b2Fixture * fixture_
Box2D fixture.
Definition: CollisionShape2D.h:114
Urho3D::JSONNumberType
JSONNumberType
JSON number type.
Definition: JSONValue.h:50
Urho3D::Texture3D::~Texture3D
~Texture3D() override
Destruct.
Definition: Texture3D.cpp:52
Urho3D::List::Begin
Iterator Begin()
Return iterator to the first element.
Definition: List.h:394
Urho3D::Viewport::GetRect
const IntRect & GetRect() const
Return view rectangle. A zero rectangle (0 0 0 0) means to use the rendertarget's full dimensions....
Definition: Viewport.h:78
Urho3D::NetworkPriority::basePriority_
float basePriority_
Base priority.
Definition: NetworkPriority.h:69
Urho3D::Deserializer::ReadUShort
unsigned short ReadUShort()
Read a 16-bit unsigned integer.
Definition: Deserializer.cpp:105
Urho3D::Node::FindAttributeAnimationTarget
Animatable * FindAttributeAnimationTarget(const String &name, String &outName) override
Find target of an attribute animation from object hierarchy by name.
Definition: Node.cpp:1913
Urho3D::CustomVariantValueImpl::GetValue
const T & GetValue() const
Get const value.
Definition: Variant.h:239
Urho3D::Texture::resolveDirty_
bool resolveDirty_
Multisampling resolve needed -flag.
Definition: Texture.h:243
Urho3D::ParticleEffect::SetUpdateInvisible
void SetUpdateInvisible(bool enable)
Set whether to update when particles are not visible.
Definition: ParticleEffect.cpp:450
Urho3D::ValueAnimationInfo::SetSpeed
void SetSpeed(float speed)
Set speed.
Definition: ValueAnimationInfo.h:60
Urho3D::Animation::length_
float length_
Animation length.
Definition: Animation.h:197
Urho3D::UIElement::OnPositionSet
virtual void OnPositionSet(const IntVector2 &newPosition)
React to position change.
Definition: UIElement.h:195
Urho3D::NavigationMesh::tileSize_
int tileSize_
Tile size.
Definition: NavigationMesh.h:312
Urho3D::Sphere::Define
void Define(const Vector3 &center, float radius)
Define from center and radius.
Definition: Sphere.h:95
Urho3D::Node::Roll
void Roll(float angle, TransformSpace space=TS_LOCAL)
Rotate around the Z axis.
Definition: Node.cpp:665
Urho3D::ScrollBar::GetSlider
Slider * GetSlider() const
Return slider element.
Definition: ScrollBar.h:93
Urho3D::DD_SOURCE
@ DD_SOURCE
Drag and drop source flag.
Definition: UIElement.h:109
Urho3D::TileMapInfo2D::TileIndexToPosition
Vector2 TileIndexToPosition(int x, int y) const
Convert tile index to position.
Definition: TileMapDefs2D.cpp:71
Urho3D::XPathQuery::EvaluateToBool
bool EvaluateToBool(const XMLElement &element) const
Evaluate XPath query and expecting a boolean return value.
Definition: XMLElement.cpp:1162
Urho3D::ResourceCache::GetSearchPackagesFirst
bool GetSearchPackagesFirst() const
Return whether when getting resources should check package files or directories first.
Definition: ResourceCache.h:193
Urho3D::Polyhedron::Polyhedron
Polyhedron(const BoundingBox &box)
Construct from a bounding box.
Definition: Polyhedron.h:58
Urho3D::Input::IsMouseGrabbed
bool IsMouseGrabbed() const
Return whether the mouse is currently being grabbed by an operation.
Definition: Input.h:290
Urho3D::Technique::desktopSupport_
bool desktopSupport_
Cached desktop GPU support flag.
Definition: Technique.h:280
Urho3D::NavigationMesh::RemoveTile
virtual void RemoveTile(const IntVector2 &tile)
Remove tile from navigation mesh.
Definition: NavigationMesh.cpp:568
Urho3D::Pass::SetVertexShaderDefines
void SetVertexShaderDefines(const String &defines)
Set vertex shader defines. Separate multiple defines with spaces.
Definition: Technique.cpp:147
Urho3D::Connection::ToString
String ToString() const
Return an address:port string.
Definition: Connection.cpp:1121
Urho3D::NavigationMesh::GetDrawNavAreas
bool GetDrawNavAreas() const
Return whether to draw NavArea components.
Definition: NavigationMesh.h:275
Urho3D::CrowdManager::SetNavigationMesh
void SetNavigationMesh(NavigationMesh *navMesh)
Assigns the navigation mesh for the crowd.
Definition: CrowdManager.cpp:256
Urho3D::Spriter::LoopMode
LoopMode
Loop Mode.
Definition: SpriterInstance2D.h:38
Urho3D::PhysicsWorld::getDebugMode
int getDebugMode() const override
Return debug draw flags.
Definition: PhysicsWorld.h:159
Urho3D::CollisionShape::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: CollisionShape.cpp:906
Urho3D::CrowdManager::navigationMeshId_
unsigned navigationMeshId_
The NavigationMesh component Id for pending crowd creation.
Definition: CrowdManager.h:187
Urho3D::Terrain::patchWorldSize_
Vector2 patchWorldSize_
Size of a patch on the XZ-plane.
Definition: Terrain.h:273
Urho3D::Renderer::shadowSoftness_
float shadowSoftness_
Shadow softness, only works when SHADOWQUALITY_BLUR_VSM is used.
Definition: Renderer.h:550
Urho3D::Image::width_
int width_
Width.
Definition: Image.h:216
Urho3D::NavigationMesh::detailSampleMaxError_
float detailSampleMaxError_
Detail sampling maximum error.
Definition: NavigationMesh.h:336
Urho3D::XMLElement::GetNext
XMLElement GetNext(const String &name=String::EMPTY) const
Return next sibling element.
Definition: XMLElement.cpp:622
Urho3D::Particle2D::radialAcceleration_
float radialAcceleration_
Radial acceleration.
Definition: ParticleEmitter2D.h:60
Urho3D::Material::scene_
WeakPtr< Scene > scene_
Associated scene for shader parameter animation updates.
Definition: Material.h:327
Urho3D::Spriter::SpriterInstance::SetAnimation
bool SetAnimation(int index, LoopMode loopMode=Default)
Set current animation.
Definition: SpriterInstance2D.cpp:84
Urho3D::UIElement::AddTag
void AddTag(const String &tag)
Add a tag.
Definition: UIElement.cpp:1465
Urho3D::StaticModelGroup::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: StaticModelGroup.cpp:106
Urho3D::Geometry::IsInside
bool IsInside(const Ray &ray) const
Return whether or not the ray is inside geometry.
Definition: Geometry.cpp:329
Urho3D::ScriptEventInvoker::IsObjectAlive
bool IsObjectAlive() const
Returns whether the ScriptObject is still alive. Will return true if there is no reference and object...
Definition: ScriptFile.cpp:1044
Urho3D::XMLElement::SetMatrix3x4
bool SetMatrix3x4(const String &name, const Matrix3x4 &value)
Set a Matrix3x4 attribute.
Definition: XMLElement.cpp:553
Urho3D::File::File
File(Context *context)
Construct.
Definition: File.cpp:68
Urho3D::Pass::GetShadersLoadedFrameNumber
unsigned GetShadersLoadedFrameNumber() const
Return last shaders loaded frame number.
Definition: Technique.h:102
Urho3D::RaycastVehicle::GetWheelNode
Node * GetWheelNode(int wheel) const
Get node of the wheel.
Definition: RaycastVehicle.cpp:601
Urho3D::Camera::GetFrustum
const Frustum & GetFrustum() const
Return frustum in world space.
Definition: Camera.cpp:284
Urho3D::OcclusionBuffer::SetSize
bool SetSize(int width, int height, bool threaded)
Set occlusion buffer size and whether to reserve multiple buffers for threading optimization.
Definition: OcclusionBuffer.cpp:61
Urho3D::AnimatedModel::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: AnimatedModel.cpp:945
Urho3D::CollisionShape::SetCylinder
void SetCylinder(float diameter, float height, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a cylinder.
Definition: CollisionShape.cpp:620
Urho3D::Light::SetTemperature
void SetTemperature(float temperature)
Set temperature of the light in Kelvin. Modulates the light color when "use physical values" is enabl...
Definition: Light.cpp:290
Urho3D::RaycastVehicle::UP_FORWARD_RIGHT
static const IntVector3 UP_FORWARD_RIGHT
(1, 2, 0) coordinate system.
Definition: RaycastVehicle.h:176
Urho3D::RibbonTrail::baseVelocity_
Vector3 baseVelocity_
Base velocity applied to the trail.
Definition: RibbonTrail.h:190
Urho3D::Color::Color
Color(float r, float g, float b, float a) noexcept
Construct from RGBA values.
Definition: Color.h:84
Urho3D::CollisionEdge2D::SetVertex2
void SetVertex2(const Vector2 &vertex)
Set vertex 2.
Definition: CollisionEdge2D.cpp:66
Urho3D::TerrainPatch::GetGeometry
Geometry * GetGeometry() const
Return visible geometry.
Definition: TerrainPatch.cpp:248
Urho3D::Renderer::BlurShadowMap
void BlurShadowMap(View *view, Texture2D *shadowMap, float blurScale)
Blur the shadow map.
Definition: Renderer.cpp:1962
Urho3D::OcclusionBuffer::projOffsetScaleY_
float projOffsetScaleY_
Combined Y projection and viewport transform.
Definition: OcclusionBuffer.h:225
Urho3D::ParticleEffect::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: ParticleEffect.cpp:101
Urho3D::Graphics::ResetDepthStencil
void ResetDepthStencil()
Reset depth-stencil surface.
Definition: OGLGraphics.cpp:1626
Urho3D::WorkQueue
Work queue subsystem for multithreading.
Definition: WorkQueue.h:68
Urho3D::RigidBody::readdBody_
bool readdBody_
Readd body to world flag.
Definition: RigidBody.h:305
Urho3D::TileMapLayer2D::GetHeight
int GetHeight() const
Return height (for tile layer only).
Definition: TileMapLayer2D.cpp:279
Urho3D::Vector2::Data
const float * Data() const
Return float data.
Definition: Vector2.h:368
Urho3D::VariantVector
Vector< Variant > VariantVector
Vector of variants.
Definition: Variant.h:80
Urho3D::ListView::GetBaseIndent
int GetBaseIndent() const
Return base indent.
Definition: ListView.h:156
Urho3D::UnknownComponent::SaveXML
bool SaveXML(XMLElement &dest) const override
Save as XML data. Return true if successful.
Definition: UnknownComponent.cpp:192
Urho3D::XMLFile::Patch
void Patch(XMLFile *patchFile)
Patch the XMLFile with another XMLFile. Based on RFC 5261.
Definition: XMLFile.cpp:191
Urho3D::Terrain::visible_
bool visible_
Visible flag.
Definition: Terrain.h:293
Urho3D::ParticleEffect::SetTextureFrame
void SetTextureFrame(unsigned index, const TextureFrame &textureFrame)
Set number of texture animation frames.
Definition: ParticleEffect.cpp:714
Urho3D::SceneResolver::components_
HashMap< unsigned, WeakPtr< Component > > components_
Components.
Definition: SceneResolver.h:56
Urho3D::DropDownList::GetItem
UIElement * GetItem(unsigned index) const
Return item at index.
Definition: DropDownList.cpp:203
Urho3D::Sphere::Sphere
Sphere() noexcept
Construct undefined.
Definition: Sphere.h:39
Urho3D::RibbonTrail::trailType_
TrailType trailType_
Trail type.
Definition: RibbonTrail.h:188
Urho3D::Vector3::AbsDotProduct
float AbsDotProduct(const Vector3 &rhs) const
Calculate absolute dot product.
Definition: Vector3.h:354
Urho3D::ParticleEffect::SortColorFrames
void SortColorFrames()
Sort the list of color frames based on time.
Definition: ParticleEffect.cpp:658
Urho3D::Time::GetTimeStep
float GetTimeStep() const
Return current frame timestep as seconds.
Definition: Timer.h:99
Urho3D::Window::resizeBorder_
IntRect resizeBorder_
Resize area width at edges.
Definition: Window.h:149
Urho3D::Quaternion::RollAngle
float RollAngle() const
Return roll angle in degrees.
Definition: Quaternion.cpp:219
Urho3D::BorderImage::SetDisabledOffset
void SetDisabledOffset(const IntVector2 &offset)
Set offset to image rectangle used when disabled.
Definition: BorderImage.cpp:123
Urho3D::GeometryDesc::type_
PrimitiveType type_
Primitive type.
Definition: Model.h:96
Urho3D::Graphics::GetPixelShader
ShaderVariation * GetPixelShader() const
Return current pixel shader.
Definition: Graphics.h:473
Urho3D::XMLFile::AddNode
void AddNode(const pugi::xml_node &patch, const pugi::xpath_node &original) const
Add a node in the Patch.
Definition: XMLFile.cpp:277
Urho3D::FontGlyph::used_
bool used_
Used flag.
Definition: FontFace.h:60
Urho3D::AttributeAnimationInfo::attributeInfo_
const AttributeInfo & attributeInfo_
Attribute information.
Definition: Animatable.h:59
Urho3D::Network::rakPeer_
SLNet::RakPeerInterface * rakPeer_
SLikeNet peer instance for server connection.
Definition: Network.h:150
Urho3D::Node::GetParentComponent
Component * GetParentComponent(StringHash type, bool fullTraversal=false) const
Return component in parent node. If there are several, returns the first. May optional traverse up to...
Definition: Node.cpp:1422
Urho3D::ValueAnimation::LoadXML
bool LoadXML(const XMLElement &source)
Load from XML data. Return true if successful.
Definition: ValueAnimation.cpp:89
Urho3D::GlyphLocation::glyph_
const FontGlyph * glyph_
Glyph.
Definition: Text.h:71
Urho3D::Input::scancodeDown_
HashSet< int > scancodeDown_
Key down state by scancode.
Definition: Input.h:370
Urho3D::StaticModel::GetMaterialsAttr
const ResourceRefList & GetMaterialsAttr() const
Return materials attribute.
Definition: StaticModel.cpp:391
Urho3D::Matrix2::Matrix2
Matrix2() noexcept
Construct an identity matrix.
Definition: Matrix2.h:35
Urho3D::ShaderVariation::compilerOutput_
String compilerOutput_
Shader compile error string.
Definition: ShaderVariation.h:176
Urho3D::Material::GetDepthBias
const BiasParameters & GetDepthBias() const
Return depth bias.
Definition: Material.h:232
Urho3D::CrowdAgent::SetTargetVelocity
void SetTargetVelocity(const Vector3 &velocity)
Submit a new target velocity request for this agent.
Definition: CrowdAgent.cpp:345
Urho3D::XMLElement::GetVector3
Vector3 GetVector3(const String &name) const
Return a Vector3 attribute, or zero vector if missing.
Definition: XMLElement.cpp:955
Urho3D::Variant::Variant
Variant(float value)
Construct from a float.
Definition: Variant.h:367
Urho3D::StaticSprite2D::SetSwapXY
void SetSwapXY(bool swapXY)
Set swap X and Y.
Definition: StaticSprite2D.cpp:152
Urho3D::ConstraintRope2D::ConstraintRope2D
ConstraintRope2D(Context *context)
Construct.
Definition: ConstraintRope2D.cpp:37
Urho3D::Material::RemoveShaderParameter
void RemoveShaderParameter(const String &name)
Remove shader parameter.
Definition: Material.cpp:1124
Urho3D::Text3D::GetFontAttr
ResourceRef GetFontAttr() const
Return font attribute.
Definition: Text3D.cpp:566
Urho3D::RigidBody::kinematic_
bool kinematic_
Kinematic flag.
Definition: RigidBody.h:299
Urho3D::JoystickState::controller_
SDL_GameController * controller_
SDL game controller.
Definition: Input.h:113
Urho3D::ParticleEmitter::autoRemove_
AutoRemoveMode autoRemove_
Automatic removal mode.
Definition: ParticleEmitter.h:154
Urho3D::UIElement::IsEditable
bool IsEditable() const
Return whether value is editable through input.
Definition: UIElement.h:517
Urho3D::View::zones_
PODVector< Zone * > zones_
Visible zones.
Definition: View.h:392
Urho3D::Graphics::GetApiName
const String & GetApiName() const
Return graphics API name.
Definition: Graphics.h:339
Urho3D::Console::autoVisibleOnError_
bool autoVisibleOnError_
Auto visible on error flag.
Definition: Console.h:143
Urho3D::NodeReplicationState::priorityAcc_
float priorityAcc_
Interest management priority accumulator.
Definition: ReplicationState.h:169
Urho3D::Rect::Defined
bool Defined() const
Return true if this rect is defined via a previous call to Define() or Merge().
Definition: Rect.h:194
Urho3D::List::ConstIterator::ConstIterator
ConstIterator()=default
Construct.
Urho3D::ScriptFile::HandleUpdate
void HandleUpdate(StringHash eventType, VariantMap &eventData)
Handle application update event.
Definition: ScriptFile.cpp:988
Urho3D::RenderSurface::GetNumViewports
unsigned GetNumViewports() const
Return number of viewports.
Definition: RenderSurface.h:81
Urho3D::Material::SetShadowCullMode
void SetShadowCullMode(CullMode mode)
Set culling mode for shadows.
Definition: Material.cpp:1079
Urho3D::LinkedList::Erase
bool Erase(T *element, T *previous)
Erase an element when the previous element is known (optimization). Return true if successful.
Definition: LinkedList.h:147
Urho3D::MessageBox::~MessageBox
~MessageBox() override
Destruct.
Definition: MessageBox.cpp:102
Urho3D::DropDownList::GetItems
PODVector< UIElement * > GetItems() const
Return all items.
Definition: DropDownList.cpp:208
Urho3D::Terrain::maxLodLevels_
unsigned maxLodLevels_
Maximum number of LOD levels.
Definition: Terrain.h:287
Urho3D::Terrain::GetHeightData
SharedArrayPtr< float > GetHeightData() const
Return raw height data.
Definition: Terrain.h:157
Urho3D::LightBatchQueue::litBatches_
BatchQueue litBatches_
Lit geometry draw calls, non-base (additive).
Definition: Batch.h:303
Urho3D::SplinePath::SetControlledIdAttr
void SetControlledIdAttr(unsigned value)
Set Controlled Node ID attribute.
Definition: SplinePath.cpp:277
Urho3D::Network::blacklistedRemoteEvents_
HashSet< StringHash > blacklistedRemoteEvents_
Remote event fixed blacklist.
Definition: Network.h:160
Urho3D::Renderer::Render
void Render()
Render. Called by Engine.
Definition: Renderer.cpp:692
Urho3D::UI::HandleTouchBegin
void HandleTouchBegin(StringHash eventType, VariantMap &eventData)
Handle touch begin event.
Definition: UI.cpp:1883
Urho3D::Sprite::SetBlendMode
void SetBlendMode(BlendMode mode)
Set blend mode.
Definition: Sprite.cpp:213
Urho3D::Graphics::apiName_
String apiName_
Graphics API name.
Definition: Graphics.h:863
Urho3D::Text3D::GetRowHeight
int GetRowHeight() const
Return row height.
Definition: Text3D.cpp:468
Urho3D::HashMap::Iterator::operator--
Iterator & operator--()
Predecrement the pointer.
Definition: HashMap.h:134
Urho3D::Graphics::anisotropySupport_
bool anisotropySupport_
Anisotropic filtering support flag.
Definition: Graphics.h:743
Urho3D::Drawable::SetOctant
void SetOctant(Octant *octant)
Move into another octree octant.
Definition: Drawable.h:326
Urho3D::Variant
Variable that supports a fixed set of types.
Definition: Variant.h:324
Urho3D::RaycastVehicle::SetMaxSideSlipSpeed
void SetMaxSideSlipSpeed(float speed)
Set side speed which is considered sliding.
Definition: RaycastVehicle.cpp:358
Urho3D::XMLElement::RemoveAttribute
bool RemoveAttribute(const String &name=String::EMPTY)
Remove an attribute by name. Return true if successful.
Definition: XMLElement.cpp:206
Urho3D::View::tempDrawables_
Vector< PODVector< Drawable * > > tempDrawables_
Per-thread octree query results.
Definition: View.h:388
Urho3D::ConstraintRevolute2D::ConstraintRevolute2D
ConstraintRevolute2D(Context *context)
Construct.
Definition: ConstraintRevolute2D.cpp:37
Urho3D::Vector::Vector
Vector(Vector< T > &&vector)
Move-construct from another vector.
Definition: Vector.h:89
Urho3D::Graphics::GetBorderless
bool GetBorderless() const
Return whether window is borderless.
Definition: Graphics.h:363
Urho3D::ParticleEffect2D::SetMaxParticles
void SetMaxParticles(int maxParticles)
Set max particles.
Definition: ParticleEffect2D.cpp:384
Urho3D::LineEdit::dragBeginCursor_
unsigned dragBeginCursor_
Drag begin cursor position.
Definition: LineEdit.h:142
Urho3D::Animatable::SaveXML
bool SaveXML(XMLElement &dest) const override
Save as XML data. Return true if successful.
Definition: Animatable.cpp:179
Urho3D::TrailPoint::position_
Vector3 position_
Position.
Definition: RibbonTrail.h:49
Urho3D::Constraint::GetOtherBody
RigidBody * GetOtherBody() const
Return the other rigid body. May be null if connected to the static world.
Definition: Constraint.h:113
Urho3D::ListIteratorBase::GotoPrev
void GotoPrev()
Go to the previous node.
Definition: ListBase.h:82
Urho3D::NetworkPriority::GetMinPriority
float GetMinPriority() const
Return minimum priority.
Definition: NetworkPriority.h:59
Urho3D::IsNaN
bool IsNaN(T value)
Check whether a floating point value is NaN.
Definition: MathDefs.h:113
Urho3D::Constraint::SetPosition
void SetPosition(const Vector3 &position)
Set constraint position relative to own body.
Definition: Constraint.cpp:177
Urho3D::ConstraintRope2D::SetMaxLength
void SetMaxLength(float maxLength)
Set max length.
Definition: ConstraintRope2D.cpp:80
Urho3D::SceneResolver::~SceneResolver
~SceneResolver()
Destruct.
Urho3D::Graphics::pvrtcTextureSupport_
bool pvrtcTextureSupport_
PVRTC formats support flag.
Definition: Graphics.h:751
Urho3D::Slider::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Slider.cpp:62
Urho3D::PListValue::GetInt
int GetInt() const
Return int.
Definition: PListFile.cpp:192
Urho3D::Window::SetFixedWidthResizing
void SetFixedWidthResizing(bool enable)
Set whether resizing width is fixed.
Definition: Window.cpp:262
Urho3D::LinkedListNode::next_
LinkedListNode * next_
Pointer to next node.
Definition: LinkedList.h:45
Urho3D::Drawable::SetShadowMask
void SetShadowMask(unsigned mask)
Set shadow mask. Is and'ed with light's light mask and zone's shadow mask to see if the object should...
Definition: Drawable.cpp:203
Urho3D::Vector4::AbsDotProduct
float AbsDotProduct(const Vector4 &rhs) const
Calculate absolute dot product.
Definition: Vector4.h:174
Urho3D::PODVector::PODVector
PODVector(unsigned size, const T &value)
Construct with initial size and default value.
Definition: Vector.h:703
Urho3D::RigidBody::GetCollisionMask
unsigned GetCollisionMask() const
Return collision mask.
Definition: RigidBody.h:223
Urho3D::SoundStream::GetIntFrequency
unsigned GetIntFrequency() const
Return default frequency as an integer.
Definition: SoundStream.h:57
Urho3D::XMLElement::SetVariantVector
bool SetVariantVector(const VariantVector &value)
Set a variant vector attribute. Creates child elements as necessary.
Definition: XMLElement.cpp:473
Urho3D::SharedArrayPtr::Refs
int Refs() const
Return the array's reference count, or 0 if the pointer is null.
Definition: ArrayPtr.h:162
Urho3D::Light::lightLength_
float lightLength_
Length of the light source. If above 0 and radius is above 0 it will create a tube light....
Definition: Light.h:355
Urho3D::TypeInfo::GetBaseTypeInfo
const TypeInfo * GetBaseTypeInfo() const
Return base type info.
Definition: Object.h:58
Urho3D::Scene::LoadAsyncXML
bool LoadAsyncXML(File *file, LoadMode mode=LOAD_SCENE_AND_RESOURCES)
Load from an XML file asynchronously. Return true if started successfully. The LOAD_RESOURCES_ONLY mo...
Definition: Scene.cpp:382
Urho3D::WorkQueue::IsCompleted
bool IsCompleted(unsigned priority) const
Return whether all work with at least the specified priority is finished.
Definition: WorkQueue.cpp:296
Urho3D::PointOctreeQuery
Point octree query.
Definition: OctreeQuery.h:73
Urho3D::PODVector::Find
Iterator Find(const T &value)
Return iterator to value, or to the end if not found.
Definition: Vector.h:1093
Urho3D::UI::SetWidth
void SetWidth(float width)
Scale UI to the specified width in pixels.
Definition: UI.cpp:745
Urho3D::Node::SaveDefaultAttributes
bool SaveDefaultAttributes() const override
Return whether should save default-valued attributes into XML. Always save node transforms for readab...
Definition: Node.h:105
Urho3D::Audio::Stop
void Stop()
Suspend sound output.
Definition: Audio.cpp:157
Urho3D::CrowdAgent::SetNavigationQuality
void SetNavigationQuality(NavigationQuality val)
Set the agent's navigation quality.
Definition: CrowdAgent.cpp:453
Urho3D::RigidBody::GetAngularDamping
float GetAngularDamping() const
Return angular velocity damping factor.
Definition: RigidBody.cpp:658
Urho3D::Scene::SetTimeScale
void SetTimeScale(float scale)
Set update time scale. 1.0 = real time (default).
Definition: Scene.cpp:649
Urho3D::Light::SetRampTexture
void SetRampTexture(Texture *texture)
Set range attenuation texture.
Definition: Light.cpp:404
Urho3D::NavigationMesh::ReadTile
bool ReadTile(Deserializer &source, bool silent)
Read tile data to the navigation mesh.
Definition: NavigationMesh.cpp:1267
Urho3D::IntVector2::IntVector2
IntVector2(const int *data) noexcept
Construct from an int array.
Definition: Vector2.h:50
Urho3D::Vector::Begin
ConstIterator Begin() const
Return const iterator to the beginning.
Definition: Vector.h:495
Urho3D::SceneResolver::Resolve
void Resolve()
Resolve component and node ID attributes and reset.
Definition: SceneResolver.cpp:57
Urho3D::WorkQueue::Resume
void Resume()
Resume worker threads.
Definition: WorkQueue.cpp:234
Urho3D::Light::Light
Light(Context *context)
Construct.
Definition: Light.cpp:92
Urho3D::AnimationController::~AnimationController
~AnimationController() override
Destruct.
Urho3D::DbConnection::Execute
DbResult Execute(const String &sql, bool useCursorEvent=false)
Execute an SQL statements immediately. Send E_DBCURSOR event for each row in the resultset when useCu...
Definition: ODBCConnection.cpp:73
Urho3D::RibbonTrail::IsEmitting
bool IsEmitting() const
Return whether is currently emitting.
Definition: RibbonTrail.h:167
Urho3D::Node::CreateChild
Node * CreateChild(const String &name=String::EMPTY, CreateMode mode=REPLICATED, unsigned id=0, bool temporary=false)
Create a child scene node (with specified ID if provided).
Definition: Node.cpp:792
Urho3D::LineEdit
Single-line text editor UI element.
Definition: LineEdit.h:34
Urho3D::String::Substring
String Substring(unsigned pos) const
Return a substring from position to end.
Definition: Str.cpp:490
Urho3D::FileSelector::~FileSelector
~FileSelector() override
Destruct.
Definition: FileSelector.cpp:133
Urho3D::StaticModelGroup::AddInstanceNode
void AddInstanceNode(Node *node)
Add an instance scene node. It does not need any drawable components of its own.
Definition: StaticModelGroup.cpp:273
Urho3D::ParticleEffect::emitterType_
EmitterType emitterType_
Emitter shape.
Definition: ParticleEffect.h:375
Urho3D::UIElement::SetOpacity
void SetOpacity(float opacity)
Set opacity.
Definition: UIElement.cpp:853
Urho3D::Node::SetTags
void SetTags(const StringVector &tags)
Set tags. Old tags are overwritten.
Definition: Node.cpp:345
Urho3D::ResourceRefList
List of typed resource references.
Definition: Variant.h:137
Urho3D::ViewBatchInfo2D::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: Renderer2D.h:52
Urho3D::PhysicsRaycastResult2D::normal_
Vector2 normal_
Hit worldspace normal.
Definition: PhysicsWorld2D.h:49
Urho3D::ConstraintPulley2D::SetRatio
void SetRatio(float ratio)
Set ratio.
Definition: ConstraintPulley2D.cpp:108
Urho3D::SpriteSheet2D::GetSpriteMapping
const HashMap< String, SharedPtr< Sprite2D > > & GetSpriteMapping() const
Return sprite mapping.
Definition: SpriteSheet2D.h:66
Urho3D::CrowdAgent::navPushiness_
NavigationPushiness navPushiness_
Agent's navigation pushiness. The higher the setting, the stronger the agent pushes its colliding nei...
Definition: CrowdAgent.h:230
Urho3D::Serializer::WriteIntRect
bool WriteIntRect(const IntRect &value)
Write an IntRect.
Definition: Serializer.cpp:91
Urho3D::Drawable::GetBatches
const Vector< SourceBatch > & GetBatches() const
Return draw call source data.
Definition: Drawable.h:224
Urho3D::UIElement::GetPosition
const IntVector2 & GetPosition() const
Return position.
Definition: UIElement.h:409
Urho3D::StaticModelGroup::nodesDirty_
bool nodesDirty_
Whether node IDs have been set and nodes should be searched for during ApplyAttributes.
Definition: StaticModelGroup.h:94
Urho3D::AnimationController::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post-update event.
Definition: AnimationController.cpp:911
Urho3D::PackageUpload::file_
SharedPtr< File > file_
Source file.
Definition: Connection.h:94
Urho3D::Deserializer::ReadUInt64
unsigned long long ReadUInt64()
Read a 64-bit unsigned integer.
Definition: Deserializer.cpp:91
Urho3D::Camera::IsProjectionValid
bool IsProjectionValid() const
Return if projection parameters are valid for rendering and raycasting.
Definition: Camera.cpp:580
Urho3D::Script::IncScriptNestingLevel
void IncScriptNestingLevel()
Increase script nesting level.
Definition: Script.h:113
Urho3D::Renderer::SetMobileNormalOffsetMul
void SetMobileNormalOffsetMul(float mul)
Set shadow normal offset multiplier for mobile platforms to counteract possible worse shadow map prec...
Definition: Renderer.cpp:507
Urho3D::ResourceCache::GetFile
SharedPtr< File > GetFile(const String &name, bool sendEventOnFailure=true)
Open and return a file from the resource load paths or from inside a package file....
Definition: ResourceCache.cpp:488
Urho3D::List::operator!=
bool operator!=(const List< T > &rhs) const
Test for inequality with another list.
Definition: List.h:261
Urho3D::CollisionShape::GetModelAttr
ResourceRef GetModelAttr() const
Return model attribute.
Definition: CollisionShape.cpp:884
Urho3D::SharedPtr::operator*
T & operator*() const
Dereference the object.
Definition: Ptr.h:138
Urho3D::SharedPtr::DynamicCast
void DynamicCast(const SharedPtr< U > &rhs)
Perform a dynamic cast from a shared pointer of another type.
Definition: Ptr.h:195
Urho3D::AnimationSet2D::HasAnimation
bool HasAnimation(const String &animationName) const
Check has animation.
Definition: AnimationSet2D.cpp:182
Urho3D::NavigationMesh::GetAreaCost
float GetAreaCost(unsigned areaID) const
Get the current cost of an area.
Definition: NavigationMesh.cpp:872
Urho3D::Sprite::OnPositionSet
void OnPositionSet(const IntVector2 &newPosition) override
React to position change.
Definition: Sprite.cpp:130
Urho3D::CollisionShape2D::SetMaskBits
void SetMaskBits(int maskBits)
Set filter mask bits.
Definition: CollisionShape2D.cpp:107
Urho3D::Tile2D::Tile2D
Tile2D()
Construct.
Definition: TileMapDefs2D.cpp:163
Urho3D::Spriter::SpriterInstance
Spriter instance.
Definition: SpriterInstance2D.h:46
Urho3D::TriangleMeshData::meshInterface_
UniquePtr< TriangleMeshInterface > meshInterface_
Bullet triangle mesh interface.
Definition: CollisionShape.h:84
Urho3D::ScrollView::OnKey
void OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers) override
React to a key press.
Definition: ScrollView.cpp:197
Urho3D::Pass::isDesktop_
bool isDesktop_
Require desktop level hardware flag.
Definition: Technique.h:164
Urho3D::LogicComponent::OnNodeSet
void OnNodeSet(Node *node) override
Handle scene node being assigned at creation.
Definition: LogicComponent.cpp:76
Urho3D::Network::IsServerRunning
bool IsServerRunning() const
Return whether the server is running.
Definition: Network.cpp:683
Urho3D::FileSystem::allowedPaths_
HashSet< String > allowedPaths_
Allowed directories.
Definition: FileSystem.h:117
Urho3D::RigidBody::SetAngularVelocity
void SetAngularVelocity(const Vector3 &velocity)
Set angular velocity.
Definition: RigidBody.cpp:336
Urho3D::ScreenModeParams
Screen mode parameters.
Definition: Graphics.h:81
Urho3D::AnimationController::IsLooped
bool IsLooped(const String &name) const
Return animation looping.
Definition: AnimationController.cpp:513
Urho3D::ShapeType
ShapeType
Collision shape type.
Definition: CollisionShape.h:52
Urho3D::BatchQueue::vsExtraDefines_
String vsExtraDefines_
Vertex shader extra defines.
Definition: Batch.h:267
Urho3D::LineEdit::SetCursorPosition
void SetCursorPosition(unsigned position)
Set cursor position.
Definition: LineEdit.cpp:491
Urho3D::Obstacle::Obstacle
Obstacle(Context *context)
Construct.
Definition: Obstacle.cpp:40
Urho3D::SimpleNavBuildData::contourSet_
rcContourSet * contourSet_
Recast contour set.
Definition: NavBuildData.h:95
Urho3D::Camera::SetViewOverrideFlags
void SetViewOverrideFlags(ViewOverrideFlags flags)
Set view override flags.
Definition: Camera.cpp:183
Urho3D::RigidBody::GetAngularRestThreshold
float GetAngularRestThreshold() const
Return angular velocity deactivation threshold.
Definition: RigidBody.cpp:653
Urho3D::View::maxZ_
float maxZ_
Maximum Z value of the visible scene.
Definition: View.h:358
Urho3D::PhysicsWorld::debugDepthTest_
bool debugDepthTest_
Debug draw depth test mode.
Definition: PhysicsWorld.h:358
Urho3D::Drawable::SetMinMaxZ
void SetMinMaxZ(float minZ, float maxZ)
Set view-space depth bounds.
Definition: Drawable.h:232
Urho3D::Vector::Insert
Iterator Insert(const Iterator &dest, const T *start, const T *end)
Insert elements.
Definition: Vector.h:332
Urho3D::Deserializer::ReadDouble
double ReadDouble()
Read a double.
Definition: Deserializer.cpp:131
Urho3D::UIElement::UpdateAnchoring
void UpdateAnchoring()
Update anchored size & position. Only called when anchoring is enabled.
Definition: UIElement.cpp:2040
Urho3D::Texture::GetFilterMode
TextureFilterMode GetFilterMode() const
Return filtering mode.
Definition: Texture.h:91
Urho3D::Graphics::CreateFramebuffer
unsigned CreateFramebuffer()
Create a framebuffer using either extension or core functionality. Used only on OpenGL.
Definition: OGLGraphics.cpp:3255
Urho3D::ConstraintWeld2D::anchor_
Vector2 anchor_
Anchor.
Definition: ConstraintWeld2D.h:66
Urho3D::RayQueryResult::drawable_
Drawable * drawable_
Drawable.
Definition: OctreeQuery.h:215
Urho3D::AnimatedSprite2D::speed_
float speed_
Speed.
Definition: AnimatedSprite2D.h:128
Urho3D::OffMeshConnection::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: OffMeshConnection.cpp:76
Urho3D::CustomGeometry::GetMaterialsAttr
const ResourceRefList & GetMaterialsAttr() const
Return materials attribute.
Definition: CustomGeometry.cpp:806
Urho3D::Sprite::GetTransform
const Matrix3x4 & GetTransform() const
Update and return rendering transform, also used to transform child sprites.
Definition: Sprite.cpp:218
Urho3D::Audio::HasMasterGain
bool HasMasterGain(const String &type) const
Return whether the specified master gain has been defined.
Definition: Audio.h:102
Urho3D::BorderImage::GetTextureAttr
ResourceRef GetTextureAttr() const
Return texture attribute.
Definition: BorderImage.cpp:226
Urho3D::Serializer::WriteUByte
bool WriteUByte(unsigned char value)
Write an 8-bit unsigned integer.
Definition: Serializer.cpp:71
Urho3D::UIElement::GetPivot
const Vector2 & GetPivot() const
Return pivot.
Definition: UIElement.h:472
Urho3D::Animatable::RemoveAttributeAnimation
void RemoveAttributeAnimation(const String &name)
Remove attribute animation. Same as calling SetAttributeAnimation with a null pointer.
Definition: Animatable.cpp:418
Urho3D::TmxFile2D::GetSpriteTextureEdgeOffset
float GetSpriteTextureEdgeOffset() const
Return texture edge offset, in pixels.
Definition: TmxFile2D.h:205
Urho3D::FontFaceFreeType::BoxFilter
void BoxFilter(unsigned char *dest, size_t destSize, const unsigned char *src, size_t srcSize)
Smooth one row of a horizontally oversampled glyph image.
Definition: FontFaceFreeType.cpp:351
Urho3D::Vector::operator=
Vector< T > & operator=(const Vector< T > &rhs)
Assign from another vector.
Definition: Vector.h:111
Urho3D::Sprite2D::GetDrawRectangle
bool GetDrawRectangle(Rect &rect, bool flipX=false, bool flipY=false) const
Return draw rectangle.
Definition: Sprite2D.cpp:143
Urho3D::UIElement::GetDerivedColor
const Color & GetDerivedColor() const
Return derived color. Only valid when no gradient.
Definition: UIElement.cpp:1683
Urho3D::AnimatedModel::CloneGeometries
void CloneGeometries()
Clone geometries for vertex morphing.
Definition: AnimatedModel.cpp:1105
Urho3D::Text3D::GetHorizontalAlignment
HorizontalAlignment GetHorizontalAlignment() const
Return horizontal alignment.
Definition: Text3D.cpp:403
Urho3D::WorkQueue::Complete
void Complete(unsigned priority)
Finish all queued work which has at least the specified priority. Main thread will also execute prior...
Definition: WorkQueue.cpp:244
Urho3D::InterpolationMode
InterpolationMode
Definition: Spline.h:36
Urho3D::List::EraseNode
Node * EraseNode(Node *node)
Erase and free a node. Return pointer to the next node, or to the end if could not erase.
Definition: List.h:452
Urho3D::ScrollView::viewPositionAttr_
IntVector2 viewPositionAttr_
View offset attribute.
Definition: ScrollView.h:163
Urho3D::LineEdit::IsCursorMovable
bool IsCursorMovable() const
Return whether can move cursor with arrows or mouse.
Definition: LineEdit.h:105
Urho3D::Font::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Font.cpp:71
Urho3D::Graphics::lineAntiAlias_
bool lineAntiAlias_
Line antialiasing enable flag.
Definition: Graphics.h:819
Urho3D::Object::GetEventSender
Object * GetEventSender() const
Return active event sender. Null outside event handling.
Definition: Object.cpp:426
Urho3D::View::SendViewEvent
void SendViewEvent(StringHash eventType)
Send a view update or render related event through the Renderer subsystem. The parameters are the sam...
Definition: View.cpp:3168
Urho3D::Slider::range_
float range_
Slider range.
Definition: Slider.h:106
Urho3D::VAnimEventFrame::eventData_
VariantMap eventData_
Event data.
Definition: ValueAnimation.h:64
Urho3D::Constraint::GetWorldPosition
Vector3 GetWorldPosition() const
Return constraint world position, calculated from own body.
Definition: Constraint.cpp:336
Urho3D::DecalSet::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: DecalSet.cpp:654
Urho3D::Allocator::Free
void Free(T *object)
Destruct and free an object.
Definition: Allocator.h:116
Urho3D::Sound::Sound
Sound(Context *context)
Construct.
Definition: Sound.cpp:63
Urho3D::Terrain::SetSouthNeighbor
void SetSouthNeighbor(Terrain *south)
Set south (negative Z) neighbor terrain for seamless LOD changes across terrains.
Definition: Terrain.cpp:283
Urho3D::Variant::GetCustomVariantValuePtr
CustomVariantValue * GetCustomVariantValuePtr()
Return pointer to custom variant value.
Definition: Variant.h:1292
Urho3D::ScriptEventInvoker::file_
ScriptFile * file_
Parent script file.
Definition: ScriptFile.h:178
Urho3D::ValueAnimation::LoadJSON
bool LoadJSON(const JSONValue &source)
Load from JSON data. Return true if successful.
Definition: ValueAnimation.cpp:151
Urho3D::Quaternion::Quaternion
Quaternion(const Vector3 &start, const Vector3 &end) noexcept
Construct from the rotation difference between two direction vectors.
Definition: Quaternion.h:120
Urho3D::ProgressBar::orientation_
Orientation orientation_
Orientation.
Definition: ProgressBar.h:98
Urho3D::ConstraintPulley2D::jointDef_
b2PulleyJointDef jointDef_
Box2D joint def.
Definition: ConstraintPulley2D.h:75
Urho3D::TmxFile2D::~TmxFile2D
~TmxFile2D() override
Destruct.
Definition: TmxFile2D.cpp:382
Urho3D::Serializable::ApplyAttributes
virtual void ApplyAttributes()
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: Serializable.h:76
Urho3D::Renderer::GetNumOccluders
unsigned GetNumOccluders(bool allViews=false) const
Return number of occluders rendered.
Definition: Renderer.cpp:630
Urho3D::Light::range_
float range_
Range.
Definition: Light.h:375
Urho3D::IntVector2
Two-dimensional vector with integer values.
Definition: Vector2.h:32
Urho3D::VertexBuffer::dynamic_
bool dynamic_
Dynamic flag.
Definition: VertexBuffer.h:168
Urho3D::Model::SetGeometry
bool SetGeometry(unsigned index, unsigned lodLevel, Geometry *geometry)
Set geometry.
Definition: Model.cpp:573
Urho3D::Variant::GetIntRect
const IntRect & GetIntRect() const
Return an integer rect or empty on type mismatch.
Definition: Variant.h:1253
Urho3D::Graphics::GetVertexBuffer
VertexBuffer * GetVertexBuffer(unsigned index) const
Return current vertex buffer by index.
Definition: OGLGraphics.cpp:2147
Urho3D::Vector3::Length
float Length() const
Return length.
Definition: Vector3.h:345
Urho3D::ScrollView::ScrollView
ScrollView(Context *context)
Construct.
Definition: ScrollView.cpp:43
Urho3D::Zone::ambientStartColor_
Color ambientStartColor_
Cached ambient start color.
Definition: Zone.h:150
Urho3D::Camera::SetReflectionPlane
void SetReflectionPlane(const Plane &plane)
Set reflection plane in world space for reflection mode.
Definition: Camera.cpp:224
Urho3D::AnimatedModel::HandleModelReloadFinished
void HandleModelReloadFinished(StringHash eventType, VariantMap &eventData)
Handle model reload finished.
Definition: AnimatedModel.cpp:1433
Urho3D::Text3D::GetVerticalAlignment
VerticalAlignment GetVerticalAlignment() const
Return vertical alignment.
Definition: Text3D.cpp:408
Urho3D::Console::SetNumRows
void SetNumRows(unsigned rows)
Set number of displayed rows.
Definition: Console.cpp:227
Urho3D::RefCounted::~RefCounted
virtual ~RefCounted()
Destruct. Mark as expired and also delete the reference count structure if no outside weak references...
Definition: RefCounted.cpp:39
Urho3D::ToolTip::target_
WeakPtr< UIElement > target_
The element that is being tracked for hovering. Normally the parent element.
Definition: ToolTip.h:61
Urho3D::IntVector2::Length
float Length() const
Return length.
Definition: Vector2.h:153
Urho3D::RayOctreeQuery::result_
PODVector< RayQueryResult > & result_
Result vector reference.
Definition: OctreeQuery.h:244
Urho3D::LightBatchQueue::shadowMap_
Texture2D * shadowMap_
Shadow map depth texture.
Definition: Batch.h:299
Urho3D::SharedArrayPtr::NotNull
bool NotNull() const
Check if the pointer is not null.
Definition: ArrayPtr.h:156
Urho3D::ParticleEffect2D::SetRotationEnd
void SetRotationEnd(float rotationEnd)
Set rotation end.
Definition: ParticleEffect2D.cpp:464
Urho3D::BoundingBox::Size
Vector3 Size() const
Return size.
Definition: BoundingBox.h:265
Urho3D::Geometry::SetIndexBuffer
void SetIndexBuffer(IndexBuffer *buffer)
Set the index buffer.
Definition: Geometry.cpp:79
Urho3D::Drawable::MarkForUpdate
void MarkForUpdate()
Mark for update and octree reinsertion. Update is automatically queued when the drawable's scene node...
Definition: Drawable.cpp:247
Urho3D::Renderer::GetDefaultZone
Zone * GetDefaultZone() const
Return the default zone.
Definition: Renderer.h:361
Urho3D::Drawable::octant_
Octant * octant_
Octree octant.
Definition: Drawable.h:349
Urho3D::TileMapObject2D::GetProperty
const String & GetProperty(const String &name) const
Return property value.
Definition: TileMapDefs2D.cpp:215
Urho3D::IndexBuffer::lockCount_
unsigned lockCount_
Lock number of vertices.
Definition: IndexBuffer.h:109
Urho3D::Viewport::SetCullCamera
void SetCullCamera(Camera *camera)
Set separate camera to use for culling. Sharing a culling camera between several viewports allows to ...
Definition: Viewport.cpp:79
Urho3D::Text3D::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: Text3D.h:194
Urho3D::XPathResultSet
XPath query result set.
Definition: XMLElement.h:319
Urho3D::Window::GetModalShadeColor
const Color & GetModalShadeColor() const
Get modal shade color.
Definition: Window.h:119
Urho3D::CustomVariantValue::GetSize
virtual unsigned GetSize() const
Get size.
Definition: Variant.h:199
Urho3D::XMLElement::XMLElement
XMLElement()
Construct null element.
Definition: XMLElement.cpp:38
Urho3D::RaycastVehicle::wheelSideSlipSpeed_
Vector< float > wheelSideSlipSpeed_
Wheel side movement speed.
Definition: RaycastVehicle.h:202
Urho3D::DebugRenderer::IsInside
bool IsInside(const BoundingBox &box) const
Check whether a bounding box is inside the view frustum.
Definition: DebugRenderer.cpp:641
Urho3D::UI::RenderToTextureData::vertexData_
PODVector< float > vertexData_
UI rendering vertex data.
Definition: UI.h:257
Urho3D::AnimationState::AddTime
void AddTime(float delta)
Modify time position. Animation triggers will be fired.
Definition: AnimationState.cpp:253
Urho3D::Batch::CalculateSortKey
void CalculateSortKey()
Calculate state sorting key, which consists of base pass flag, light, pass and geometry.
Definition: Batch.cpp:162
Urho3D::Camera::lodBias_
float lodBias_
LOD bias.
Definition: Camera.h:260
Urho3D::Animation::GetNumTracks
unsigned GetNumTracks() const
Return number of animation tracks.
Definition: Animation.h:172
Urho3D::DebugHud::GetDefaultStyle
XMLFile * GetDefaultStyle() const
Return the UI style file.
Definition: DebugHud.cpp:270
Urho3D::ScrollView::viewSize_
IntVector2 viewSize_
Total view size.
Definition: ScrollView.h:161
Urho3D::Scene::asyncProgress_
AsyncProgress asyncProgress_
Asynchronous loading progress.
Definition: Scene.h:294
Urho3D::Network::password_
String password_
Server/Client password used for connecting.
Definition: Network.h:178
Urho3D::BatchQueue::sortedBatches_
PODVector< Batch * > sortedBatches_
Sorted non-instanced draw calls.
Definition: Batch.h:259
Urho3D::Window::IsMovable
bool IsMovable() const
Return whether is movable.
Definition: Window.h:101
Urho3D::StaticModel::~StaticModel
~StaticModel() override
Destruct.
Urho3D::RaycastVehicle::UP_RIGHT_FORWARD
static const IntVector3 UP_RIGHT_FORWARD
(1, 0, 2) coordinate system.
Definition: RaycastVehicle.h:178
Urho3D::Matrix2::Scale
Vector2 Scale() const
Return the scaling part.
Definition: Matrix2.h:154
Urho3D::Technique::passes_
Vector< SharedPtr< Pass > > passes_
Passes.
Definition: Technique.h:282
Urho3D::Camera::GetHalfViewSize
float GetHalfViewSize() const
Return half view size.
Definition: Camera.cpp:479
Urho3D::ListIteratorBase::operator!=
bool operator!=(const ListIteratorBase &rhs) const
Test for inequality with another iterator.
Definition: ListBase.h:72
Urho3D::CollisionShape2D::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: CollisionShape2D.cpp:304
Urho3D::Matrix3x4::SetTranslation
void SetTranslation(const Vector3 &translation)
Set translation elements.
Definition: Matrix3x4.h:504
Urho3D::Menu::GetShowPopup
bool GetShowPopup() const
Return whether popup is open.
Definition: Menu.h:78
Urho3D::ParticleEffect2D::GetParticleLifeSpan
float GetParticleLifeSpan() const
Return particle lifespan.
Definition: ParticleEffect2D.h:149
Urho3D::ScrollView::HandleScrollBarChanged
void HandleScrollBarChanged(StringHash eventType, VariantMap &eventData)
Handle scrollbar value changed.
Definition: ScrollView.cpp:522
Urho3D::FileWatcher::SetDelay
void SetDelay(float interval)
Set the delay in seconds before file changes are notified. This (hopefully) avoids notifying when a f...
Definition: FileWatcher.cpp:232
Urho3D::Object::OnEvent
virtual void OnEvent(Object *sender, StringHash eventType, VariantMap &eventData)
Handle event.
Definition: Object.cpp:89
Urho3D::Light::GetShadowFadeDistance
float GetShadowFadeDistance() const
Return shadow fade start distance.
Definition: Light.h:265
Urho3D::Vector3::FORWARD
static const Vector3 FORWARD
(0,0,1) vector.
Definition: Vector3.h:491
Urho3D::UI::SetModalElement
bool SetModalElement(UIElement *modalElement, bool enable)
Definition: UI.cpp:235
Urho3D::UI::RenderToTextureData::debugVertexBuffer_
SharedPtr< VertexBuffer > debugVertexBuffer_
UI debug geometry vertex buffer.
Definition: UI.h:265
Urho3D::AnimatedModel::loading_
bool loading_
Loading flag. During loading bone nodes are not created, as they will be serialized as child nodes.
Definition: AnimatedModel.h:257
Urho3D::PODVector::CopyElements
static void CopyElements(T *dest, const T *src, unsigned count)
Copy elements from one buffer to another.
Definition: Vector.h:1172
Urho3D::Input::HandleBeginFrame
void HandleBeginFrame(StringHash eventType, VariantMap &eventData)
Handle frame start event.
Definition: Input.cpp:2435
Urho3D::Camera::GetReflectionPlane
const Plane & GetReflectionPlane() const
Return the reflection plane.
Definition: Camera.h:179
Urho3D::Context::EndSendEvent
void EndSendEvent()
End event send. Clean up event receivers removed in the meanwhile.
Definition: Context.cpp:468
Urho3D::ValueAnimation::LinearInterpolation
Variant LinearInterpolation(unsigned index1, unsigned index2, float scaledTime) const
Linear interpolation.
Definition: ValueAnimation.cpp:374
Urho3D::Renderer::SetMaxSortedInstances
void SetMaxSortedInstances(int instances)
Set maximum number of sorted instances per batch group. If exceeded, instances are rendered unsorted.
Definition: Renderer.cpp:481
Urho3D::Matrix3::Scale
Vector3 Scale() const
Return the scaling part.
Definition: Matrix3.h:193
Urho3D::PhysicsRaycastResult2D::distance_
float distance_
Hit distance from ray origin.
Definition: PhysicsWorld2D.h:51
Urho3D::BorderImage::SetTexture
void SetTexture(Texture *texture)
Set texture.
Definition: BorderImage.cpp:78
Urho3D::CrowdManager::GetRandomPointInCircle
Vector3 GetRandomPointInCircle(const Vector3 &center, float radius, int queryFilterType, dtPolyRef *randomRef=nullptr)
Return a random point on the navigation mesh within a circle using the crowd initialized query extent...
Definition: CrowdManager.cpp:419
Urho3D::FileWatcher::AddChange
void AddChange(const String &fileName)
Add a file change into the changes queue.
Definition: FileWatcher.cpp:326
Urho3D::Resource::name_
String name_
Name.
Definition: Resource.h:102
Urho3D::Camera::ScreenToWorldPoint
Vector3 ScreenToWorldPoint(const Vector3 &screenPos) const
Convert normalized screen coordinates (0 - 1) and distance along view Z axis (in Z coordinate) to a w...
Definition: Camera.cpp:432
Urho3D::CrowdAgent::updateNodePosition_
bool updateNodePosition_
Flag indicating the node's position should be updated by Detour crowd manager.
Definition: CrowdAgent.h:214
Urho3D::RigidBody2D::GetLinearDamping
float GetLinearDamping() const
Return linear damping.
Definition: RigidBody2D.h:135
Urho3D::Scene::Clear
void Clear(bool clearReplicated=true, bool clearLocal=true)
Clear scene completely of either replicated, local or all nodes and components.
Definition: Scene.cpp:615
Urho3D::Model::SetGeometryCenter
bool SetGeometryCenter(unsigned index, const Vector3 &center)
Set geometry center.
Definition: Model.cpp:590
Urho3D::AnimatedModel::IsMaster
bool IsMaster() const
Return whether is the master (first) animated model.
Definition: AnimatedModel.h:143
Urho3D::Material::GetShaderParameter
const Variant & GetShaderParameter(const String &name) const
Return shader parameter.
Definition: Material.cpp:1203
Urho3D::Sprite2D
Sprite.
Definition: Sprite2D.h:34
Urho3D::FileSystem::DirExists
bool DirExists(const String &pathName) const
Check if a directory exists.
Definition: FileSystem.cpp:627
Urho3D::Graphics::shaderPath_
String shaderPath_
Base directory for shaders.
Definition: Graphics.h:849
Urho3D::ScrollView::SetScrollBarsAutoVisible
void SetScrollBarsAutoVisible(bool enable)
Set whether to automatically show/hide scrollbars. Default true.
Definition: ScrollView.cpp:331
Urho3D::PODVector::PODVector
PODVector(unsigned size)
Construct with initial size.
Definition: Vector.h:697
Urho3D::Renderer2D::frustum_
Frustum frustum_
Frustum for current frame.
Definition: Renderer2D.h:127
Urho3D::Connection::SendMessage
void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer &msg, unsigned contentID=0)
Send a message.
Definition: Connection.cpp:111
Urho3D::Shader::RefreshMemoryUse
void RefreshMemoryUse()
Recalculate the memory used by the shader.
Definition: Shader.cpp:215
Urho3D::LM_DEFAULT
@ LM_DEFAULT
Default, use animation's value.
Definition: AnimatedSprite2D.h:42
Urho3D::Connection::statsTimer_
Timer statsTimer_
Statistics timer.
Definition: Connection.h:319
Urho3D::Graphics::SetVertexBuffer
void SetVertexBuffer(VertexBuffer *buffer)
Set vertex buffer.
Definition: OGLGraphics.cpp:961
Urho3D::Light::SetRampTextureAttr
void SetRampTextureAttr(const ResourceRef &value)
Set ramp texture attribute.
Definition: Light.cpp:520
Urho3D::Variant::GetRect
const Rect & GetRect() const
Return a rect or empty on type mismatch.
Definition: Variant.h:1250
Urho3D::ScriptFile::delayedCalls_
Vector< DelayedCall > delayedCalls_
Delayed function calls.
Definition: ScriptFile.h:148
Urho3D::BatchQueue::sortedBatchGroups_
PODVector< BatchGroup * > sortedBatchGroups_
Sorted instanced draw calls.
Definition: Batch.h:261
Urho3D::Object::GetTypeName
virtual const String & GetTypeName() const =0
Return type name.
Urho3D::Localization::Localization
Localization(Context *context)
Construct.
Definition: Localization.cpp:36
Urho3D::TileMapLayer2D::~TileMapLayer2D
~TileMapLayer2D() override
Destruct.
Urho3D::Scene::localNodes_
HashMap< unsigned, Node * > localNodes_
Local scene nodes by ID.
Definition: Scene.h:286
Urho3D::WeakArrayPtr::Get
T * Get() const
Return raw pointer. If expired, return null.
Definition: ArrayPtr.h:301
Urho3D::Sprite::SetPosition
void SetPosition(const Vector2 &position)
Set floating point position.
Definition: Sprite.cpp:136
Urho3D::CustomGeometry::GetNumVertices
unsigned GetNumVertices(unsigned index) const
Return number of vertices in a geometry.
Definition: CustomGeometry.cpp:718
Urho3D::Node::AddChild
void AddChild(Node *node, unsigned index=M_MAX_UNSIGNED)
Add a child scene node at a specific index. If index is not explicitly specified or is greater than c...
Definition: Node.cpp:804
Urho3D::IKSolver::ComponentIsInOurSubtree
bool ComponentIsInOurSubtree(Component *component) const
Definition: IKSolver.cpp:355
Urho3D::Light::GetShadowCascade
const CascadeParameters & GetShadowCascade() const
Return directional light cascaded shadow parameters.
Definition: Light.h:271
Urho3D::Connection::ProcessSceneChecksumError
void ProcessSceneChecksumError(int msgID, MemoryBuffer &msg)
Process a SceneChecksumError message from the server. Called by Network.
Definition: Connection.cpp:576
Urho3D::NavigationMesh::HasTile
bool HasTile(const IntVector2 &tile) const
Return whether the navigation mesh has tile.
Definition: NavigationMesh.cpp:537
Urho3D::Vector3::Vector3
Vector3(const Vector2 &vector) noexcept
Construct from a two-dimensional vector (for Urho2D).
Definition: Vector3.h:207
Urho3D::Controls::pitch_
float pitch_
Mouse pitch.
Definition: Controls.h:68
Urho3D::Engine::maxInactiveFps_
unsigned maxInactiveFps_
Maximum frames per second when the application does not have input focus.
Definition: Engine.h:142
Urho3D::HashSet::Iterator::operator--
Iterator & operator--()
Predecrement the pointer.
Definition: HashSet.h:91
Urho3D::List::End
Iterator End()
Return iterator to the end.
Definition: List.h:400
Urho3D::Graphics::GetMultiSample
int GetMultiSample() const
Return multisample mode (1 = no multisampling).
Definition: Graphics.h:354
Urho3D::Text3D::GetEffectColor
const Color & GetEffectColor() const
Return effect color.
Definition: Text3D.cpp:448
Urho3D::TileMapInfo2D::tileHeight_
float tileHeight_
Tile height.
Definition: TileMapDefs2D.h:60
Urho3D::FontFaceFreeType::SetupNextTexture
bool SetupNextTexture(int textureWidth, int textureHeight)
Setup next texture.
Definition: FontFaceFreeType.cpp:332
Urho3D::Scene::networkUpdateComponents_
HashSet< unsigned > networkUpdateComponents_
Components to check for attribute changes on the next network update.
Definition: Scene.h:306
Urho3D::Audio::GetMutex
Mutex & GetMutex()
Return audio thread mutex.
Definition: Audio.h:110
Urho3D::JSONValue::JSONValue
JSONValue(unsigned value)
Construct with a unsigned integer.
Definition: JSONValue.h:95
Urho3D::Color::GammaToLinear
Color GammaToLinear() const
Convert color from gamma to linear space.
Definition: Color.h:213
Urho3D::VertexBuffer::SetDataRange
bool SetDataRange(const void *data, unsigned start, unsigned count, bool discard=false)
Set a data range in the buffer. Optionally discard data outside the range.
Definition: OGLVertexBuffer.cpp:116
Urho3D::TerrainPatch::GetNumOccluderTriangles
unsigned GetNumOccluderTriangles() override
Return number of occlusion geometry triangles.
Definition: TerrainPatch.cpp:170
Urho3D::VertexBufferDesc::vertexCount_
unsigned vertexCount_
Vertex count.
Definition: Model.h:70
Urho3D::Node::LoadXML
bool LoadXML(const XMLElement &source) override
Load from XML data. Return true if successful.
Definition: Node.cpp:156
Urho3D::CollisionEdge2D
2D edge collision component.
Definition: CollisionEdge2D.h:31
Urho3D::Deserializer::ReadByte
signed char ReadByte()
Read an 8-bit integer.
Definition: Deserializer.cpp:84
Urho3D::Context::GetSubsystem
T * GetSubsystem() const
Template version of returning a subsystem.
Definition: Context.h:273
Urho3D::ScriptFile::methods_
HashMap< asITypeInfo *, HashMap< String, asIScriptFunction * > > methods_
Search cache for methods.
Definition: ScriptFile.h:146
Urho3D::LuaFunction::BeginCall
bool BeginCall(const LuaScriptInstance *instance=nullptr)
Begin function call. When a script object is given then pass it as self argument (first parameter) to...
Definition: LuaFunction.cpp:68
Urho3D::OcclusionBuffer::GetHeight
int GetHeight() const
Return buffer height.
Definition: OcclusionBuffer.h:138
Urho3D::XMLElement::GetVariantMap
VariantMap GetVariantMap() const
Return a variant map attribute, or empty if missing.
Definition: XMLElement.cpp:931
Urho3D::Matrix3x4::ToMatrix4
Matrix4 ToMatrix4() const
Convert to a 4x4 matrix by filling in an identity last row.
Definition: Matrix3x4.h:558
Urho3D::UIElement::traversalMode_
TraversalMode traversalMode_
Traversal mode for rendering.
Definition: UIElement.h:815
Urho3D::IKSolver::MarkChainsNeedUpdating
void MarkChainsNeedUpdating()
Indicates that the internal structures of the IK library need to be updated. See the documentation of...
Definition: IKSolver.cpp:489
Urho3D::View::deferred_
bool deferred_
Deferred flag. Inferred from the existence of a light volume command in the renderpath.
Definition: View.h:374
Urho3D::Scene::LoadAsyncJSON
bool LoadAsyncJSON(File *file, LoadMode mode=LOAD_SCENE_AND_RESOURCES)
Load from a JSON file asynchronously. Return true if started successfully. The LOAD_RESOURCES_ONLY mo...
Definition: Scene.cpp:451
Urho3D::RibbonTrail::RibbonTrail
RibbonTrail(Context *context)
Construct.
Definition: RibbonTrail.cpp:62
Urho3D::DbConnection::HandleRuntimeError
void HandleRuntimeError(const char *message, const char *cause)
Internal helper method to handle runtime exception by logging it to stderr stream.
Definition: ODBCConnection.cpp:158
Urho3D::ConvexData::ConvexData
ConvexData(Model *model, unsigned lodLevel)
Construct from a model.
Definition: CollisionShape.cpp:227
Urho3D::FileSelector::FileSelector
FileSelector(Context *context)
Construct.
Definition: FileSelector.cpp:52
Urho3D::Color::Equals
bool Equals(const Color &rhs) const
Test for equality with another color with epsilon.
Definition: Color.h:241
Urho3D::BoxOctreeQuery::TestOctant
Intersection TestOctant(const BoundingBox &box, bool inside) override
Intersection test for an octant.
Definition: OctreeQuery.cpp:76
Urho3D::Drawable::maxZ_
float maxZ_
Current maximum view space depth.
Definition: Drawable.h:375
Urho3D::RaycastVehicle::~RaycastVehicle
~RaycastVehicle() override
Destruct.
Definition: RaycastVehicle.cpp:152
Urho3D::EventHandler11Impl
Template implementation of the event handler invoke helper (std::function instance).
Definition: Object.h:330
Urho3D::ParticleEffect::faceCameraMode_
FaceCameraMode faceCameraMode_
Particle rotation mode in relation to the camera.
Definition: ParticleEffect.h:425
Urho3D::Allocator::Reserve
T * Reserve()
Reserve and default-construct an object.
Definition: Allocator.h:94
Urho3D::SoundStream::SetFormat
void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
Set sound data format.
Definition: SoundStream.cpp:45
Urho3D::Node::SaveJSON
bool SaveJSON(JSONValue &dest) const override
Save as JSON data. Return true if successful.
Definition: Node.cpp:231
Urho3D::FontFaceFreeType::FontFaceFreeType
FontFaceFreeType(Font *font)
Construct.
Definition: FontFaceFreeType.cpp:79
Urho3D::View::AllocateScreenBuffers
void AllocateScreenBuffers()
Allocate needed screen buffers.
Definition: View.cpp:1952
Urho3D::Menu::GetPopup
UIElement * GetPopup() const
Return popup element.
Definition: Menu.h:72
Urho3D::ConvexData::vertexData_
SharedArrayPtr< Vector3 > vertexData_
Vertex data.
Definition: CollisionShape.h:115
Urho3D::BoundingBox::Define
void Define(const Vector3 &point)
Define from a point.
Definition: BoundingBox.h:170
Urho3D::ObjectFactory::GetTypeName
const String & GetTypeName() const
Return type name of objects created by this factory.
Definition: Object.h:222
Urho3D::StaticSprite2D::GetFlipX
bool GetFlipX() const
Return flip X.
Definition: StaticSprite2D.h:89
Urho3D::ScriptInstance::attributeInfos_
Vector< AttributeInfo > attributeInfos_
Attributes, including script object variables.
Definition: ScriptInstance.h:204
Urho3D::NavBuildData::compactHeightField_
rcCompactHeightfield * compactHeightField_
Recast compact heightfield.
Definition: NavBuildData.h:82
Urho3D::Resource::Resource
Resource(Context *context)
Construct.
Definition: Resource.cpp:34
Urho3D::VertexBuffer::IsShadowed
bool IsShadowed() const
Return whether CPU memory shadowing is enabled.
Definition: VertexBuffer.h:67
Urho3D::Text::charLocations_
PODVector< CharLocation > charLocations_
Cached locations of each character in the text.
Definition: Text.h:263
Urho3D::Text3D::material_
SharedPtr< Material > material_
Material to use as a base for the text material(s).
Definition: Text3D.h:196
Urho3D::Variant::ToString
String ToString() const
Convert value to string. Pointers are returned as null, and VariantBuffer or VariantMap are not suppo...
Definition: Variant.cpp:440
Urho3D::SourceBatch2D
2D source batch.
Definition: Drawable2D.h:48
Urho3D::ParticleEffect2D::SetStartColor
void SetStartColor(const Color &startColor)
Set start color.
Definition: ParticleEffect2D.cpp:364
Urho3D::StaticModel::GetNumOccluderTriangles
unsigned GetNumOccluderTriangles() override
Return number of occlusion geometry triangles.
Definition: StaticModel.cpp:168
Urho3D::ResourceCache::ReleaseAllResources
void ReleaseAllResources(bool force=false)
Release all resources. When called with the force flag false, releases all currently unused resources...
Definition: ResourceCache.cpp:344
Urho3D::TerrainPatch::coordinates_
IntVector2 coordinates_
Patch coordinates in the terrain. (0,0) is the northwest corner.
Definition: TerrainPatch.h:138
Urho3D::RenderSurface::linkedRenderTarget_
WeakPtr< RenderSurface > linkedRenderTarget_
Linked color buffer.
Definition: RenderSurface.h:150
Urho3D::CollisionPolygon2D::SetVertex
void SetVertex(unsigned index, const Vector2 &vertex)
Set vertex.
Definition: CollisionPolygon2D.cpp:60
Urho3D::SmoothedTransform::GetTargetPosition
const Vector3 & GetTargetPosition() const
Return target position in parent space.
Definition: SmoothedTransform.h:68
Urho3D::CustomVariantValueImpl
Custom variant value implementation.
Definition: Variant.h:225
Urho3D::Matrix3x4::Rotation
Quaternion Rotation() const
Return the rotation part.
Definition: Matrix3x4.h:613
Urho3D::XPathResultSet::Empty
bool Empty() const
Return whether result set is empty.
Definition: XMLElement.cpp:1056
Urho3D::View::GetCamera
Camera * GetCamera() const
Return viewport camera.
Definition: View.h:142
Urho3D::Plane::UP
static const Plane UP
Plane at origin with normal pointing up.
Definition: Plane.h:125
Urho3D::FontFace::kerningMapping_
HashMap< unsigned, float > kerningMapping_
Kerning mapping.
Definition: FontFace.h:108
Urho3D::Renderer::OptimizeLightByStencil
void OptimizeLightByStencil(Light *light, Camera *camera)
Optimize a light by marking it to the stencil buffer and setting a stencil test.
Definition: Renderer.cpp:1380
Urho3D::AnimatedModel::geometryBoneMappings_
Vector< PODVector< unsigned > > geometryBoneMappings_
Mapping of subgeometry bone indices, used if more bones than skinning shader can manage.
Definition: AnimatedModel.h:223
Urho3D::RenderSurface::GetRenderTargetView
void * GetRenderTargetView() const
Return Direct3D11 rendertarget or depth-stencil view. Not valid on OpenGL.
Definition: RenderSurface.h:108
Urho3D::UIElement::GetMinHeight
int GetMinHeight() const
Return minimum height.
Definition: UIElement.h:427
Urho3D::RigidBody2D::ApplyLinearImpulse
void ApplyLinearImpulse(const Vector2 &impulse, const Vector2 &point, bool wake)
Apply linear impulse.
Definition: RigidBody2D.cpp:347
Urho3D::Particle2D::emitRotation_
float emitRotation_
Emit rotation.
Definition: ParticleEmitter2D.h:70
Urho3D::PhysicsWorld::isVisible
bool isVisible(const btVector3 &aabbMin, const btVector3 &aabbMax) override
Check if an AABB is visible for debug drawing.
Definition: PhysicsWorld.cpp:215
Urho3D::Constraint::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: Constraint.cpp:451
Urho3D::UIElement::SetElementEventSender
void SetElementEventSender(bool flag)
Set element event sender flag. When child element is added or deleted, the event would be sent using ...
Definition: UIElement.cpp:1454
Urho3D::PackageFile::GetEntries
const HashMap< String, PackageEntry > & GetEntries() const
Return all file entries.
Definition: PackageFile.h:62
Urho3D::ShaderParameter::buffer_
unsigned buffer_
Constant buffer index. Only used on Direct3D11.
Definition: ShaderVariation.h:75
Urho3D::Camera::GetLodDistance
float GetLodDistance(float distance, float scale, float bias) const
Return a scene node's LOD scaled distance.
Definition: Camera.cpp:512
Urho3D::Quaternion::FromLookRotation
bool FromLookRotation(const Vector3 &direction, const Vector3 &up=Vector3::UP)
Define from a direction to look in and an up direction. Return true if successful,...
Definition: Quaternion.cpp:151
Urho3D::FrameInfo::camera_
Camera * camera_
Camera being used.
Definition: Drawable.h:77
Urho3D::TmxFile2D::SetInfo
bool SetInfo(Orientation2D orientation, int width, int height, float tileWidth, float tileHeight)
Set Tilemap information.
Definition: TmxFile2D.cpp:530
Urho3D::Technique::isDesktop_
bool isDesktop_
Require desktop GPU flag.
Definition: Technique.h:278
Urho3D::Octree::drawableUpdates_
PODVector< Drawable * > drawableUpdates_
Drawable objects that require update.
Definition: Octree.h:208
Urho3D::PackageDownload::totalFragments_
unsigned totalFragments_
Total number of fragments.
Definition: Connection.h:80
Urho3D::ConstantBuffer::SetParameter
void SetParameter(unsigned offset, unsigned size, const void *data)
Set a generic parameter and mark buffer dirty.
Definition: ConstantBuffer.cpp:45
Urho3D::LightQueryResult::shadowCasterEnd_
unsigned shadowCasterEnd_[MAX_LIGHT_SPLITS]
Shadow caster end indices.
Definition: View.h:68
Urho3D::FontFace::GetTextures
const Vector< SharedPtr< Texture2D > > & GetTextures() const
Return textures.
Definition: FontFace.h:94
Urho3D::CollisionShape::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionShape.cpp:479
Urho3D::Billboard::position_
Vector3 position_
Position.
Definition: BillboardSet.h:41
Urho3D::Context::RegisterSubsystem
void RegisterSubsystem(Object *object)
Register a subsystem.
Definition: Context.cpp:181
Urho3D::StaticModel::GetOcclusionLodLevel
unsigned GetOcclusionLodLevel() const
Return occlusion LOD level.
Definition: StaticModel.h:88
Urho3D::StaticSprite2D::SetTextureRect
void SetTextureRect(const Rect &rect)
Set texture rectangle.
Definition: StaticSprite2D.cpp:108
Urho3D::Vector::Insert
Iterator Insert(const Iterator &dest, const T &value)
Insert an element by iterator.
Definition: Vector.h:304
Urho3D::Audio::Update
void Update(float timeStep)
Run update on sound sources. Not required for continued playback, but frees unused sound sources & so...
Definition: Audio.cpp:129
Urho3D::Input::HandleScreenJoystickTouch
void HandleScreenJoystickTouch(StringHash eventType, VariantMap &eventData)
Handle touch events from the controls of screen joystick(s).
Definition: Input.cpp:2453
Urho3D::Plane::Reflect
Vector3 Reflect(const Vector3 &direction) const
Reflect a normalized direction vector.
Definition: Plane.h:103
Urho3D::RibbonTrail::GetAnimationLodBias
float GetAnimationLodBias() const
Return animation LOD bias.
Definition: RibbonTrail.h:155
Urho3D::LuaScript::HandleConsoleCommand
void HandleConsoleCommand(StringHash eventType, VariantMap &eventData)
Handle a console command event.
Definition: LuaScript.cpp:483
Urho3D::ListView::overlayContainer_
SharedPtr< UIElement > overlayContainer_
Overlay container, used in hierarchy mode only.
Definition: ListView.h:180
Urho3D::EventHandler::GetReceiver
Object * GetReceiver() const
Return event receiver.
Definition: Object.h:274
Urho3D::LuaScriptInstance::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: LuaScriptInstance.cpp:291
Urho3D::RenderPath::SetRenderTarget
void SetRenderTarget(unsigned index, const RenderTargetInfo &info)
Assign rendertarget at index.
Definition: RenderPath.cpp:427
Urho3D::DeferredLightVSVariation
DeferredLightVSVariation
Deferred light volume vertex shader variations.
Definition: Renderer.h:111
Urho3D::TextureCube::GetData
bool GetData(CubeMapFace face, unsigned level, void *dest) const
Get data from a face's mip level. The destination buffer must be big enough. Return true if successfu...
Definition: OGLTextureCube.cpp:372
Urho3D::WorkQueue::threads_
Vector< SharedPtr< WorkerThread > > threads_
Worker threads.
Definition: WorkQueue.h:130
Urho3D::DynamicNavigationMesh::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: DynamicNavigationMesh.cpp:592
Urho3D::UnknownComponent::LoadJSON
bool LoadJSON(const JSONValue &source) override
Load from JSON data. Return true if successful.
Definition: UnknownComponent.cpp:141
Urho3D::HashMap::FindNode
Node * FindNode(const T &key, unsigned hashKey) const
Find a node from the buckets. Do not call if the buckets have not been allocated.
Definition: HashMap.h:629
Urho3D::ClosestPowerOfTwo
unsigned ClosestPowerOfTwo(unsigned value)
Round up or down to the closest power of two.
Definition: MathDefs.h:253
Urho3D::TmxObjectGroup2D::GetNumObjects
unsigned GetNumObjects() const
Return number of objects.
Definition: TmxFile2D.h:119
Urho3D::DebugLine::color_
unsigned color_
Color.
Definition: DebugRenderer.h:62
Urho3D::List::List
List(const List< T > &list)
Construct from another list.
Definition: List.h:176
Urho3D::Sprite::GetScale
const Vector2 & GetScale() const
Return scale.
Definition: Sprite.h:89
Urho3D::JSON_BOOL
@ JSON_BOOL
JSON boolean type.
Definition: JSONValue.h:38
Urho3D::Drawable::SetZone
void SetZone(Zone *zone, bool temporary=false)
Set new zone. Zone assignment may optionally be temporary, meaning it needs to be re-evaluated on the...
Definition: Drawable.cpp:283
Urho3D::SoundStream::stopAtEnd_
bool stopAtEnd_
Stop when no more data flag.
Definition: SoundStream.h:72
Urho3D::UnknownComponent::SaveJSON
bool SaveJSON(JSONValue &dest) const override
Save as JSON data. Return true if successful.
Definition: UnknownComponent.cpp:219
Urho3D::Component::SetNode
void SetNode(Node *node)
Set scene node. Called by Node when creating the component.
Definition: Component.cpp:259
Urho3D::PhysicsWorld2D::Update
void Update(float timeStep)
Step the simulation forward.
Definition: PhysicsWorld2D.cpp:279
Urho3D::ScratchBuffer
CPU-side scratch buffer for vertex data updates.
Definition: Graphics.h:64
Urho3D::Texture::GetDataType
static unsigned GetDataType(unsigned format)
Return the data type corresponding to an OpenGL internal format.
Definition: OGLTexture.cpp:282
Urho3D::Script::enumValues_
HashMap< int, PODVector< const char * > > enumValues_
Cache of typeIds to array of enum value strings for attributes.
Definition: Script.h:141
Urho3D::ParticleEmitter2D::SetEffect
void SetEffect(ParticleEffect2D *effect)
Set particle effect.
Definition: ParticleEmitter2D.cpp:89
Urho3D::UI::GetMaxDoubleClickDistance
float GetMaxDoubleClickDistance() const
Return max screen distance in pixels for double clicks to register.
Definition: UI.h:176
Urho3D::RaycastVehicle::GetWheelConnectionPoint
Vector3 GetWheelConnectionPoint(int wheel) const
Get wheel connection point relative to RigidBody.
Definition: RaycastVehicle.cpp:432
Urho3D::Node::GetChildrenRecursive
void GetChildrenRecursive(PODVector< Node * > &dest) const
Return child nodes recursively.
Definition: Node.cpp:2135
Urho3D::Node::SetVar
void SetVar(StringHash key, const Variant &value)
Set a user variable.
Definition: Node.cpp:1146
Urho3D::Menu::HandleKeyDown
void HandleKeyDown(StringHash eventType, VariantMap &eventData)
Handle keypress for checking accelerator.
Definition: Menu.cpp:422
Urho3D::HashIteratorBase
Hash set/map iterator base class.
Definition: HashBase.h:58
Urho3D::HashMap::operator=
HashMap & operator=(const HashMap< T, U > &rhs)
Assign a hash map.
Definition: HashMap.h:262
Urho3D::TerrainPatch::lodErrors_
PODVector< float > lodErrors_
Geometrical error per LOD level.
Definition: TerrainPatch.h:136
Urho3D::UI::useMutableGlyphs_
bool useMutableGlyphs_
Flag for using mutable (erasable) font glyphs.
Definition: UI.h:403
Urho3D::CrowdObstacleAvoidanceParams::gridSize
unsigned char gridSize
grid
Definition: CrowdManager.h:52
Urho3D::ConstraintRevolute2D::GetUpperAngle
float GetUpperAngle() const
Return upper angle.
Definition: ConstraintRevolute2D.h:68
Urho3D::Connection::GetScene
Scene * GetScene() const
Return the scene used by this connection.
Definition: Connection.cpp:1063
Urho3D::Thread::shouldRun_
volatile bool shouldRun_
Running flag.
Definition: Thread.h:74
Urho3D::ScrollView::autoDisableThreshold_
float autoDisableThreshold_
Threshold to trigger auto disable children.
Definition: ScrollView.h:191
Urho3D::Text::GetFontAttr
ResourceRef GetFontAttr() const
Return font attribute.
Definition: Text.cpp:449
Urho3D::Batch::lightMask_
unsigned char lightMask_
8-bit light mask for stencil marking in deferred rendering.
Definition: Batch.h:84
Urho3D::ScriptFile::validClasses_
HashMap< asITypeInfo *, bool > validClasses_
Search cache for checking whether script classes implement "ScriptObject" interface.
Definition: ScriptFile.h:142
Urho3D::NamedPipe::Close
void Close()
Close the pipe. Note that once a client has disconnected, the server needs to close and reopen the pi...
Definition: NamedPipe.cpp:323
Urho3D::Font::GetAbsoluteGlyphOffset
const IntVector2 & GetAbsoluteGlyphOffset() const
Return absolute position adjustment for glyphs.
Definition: Font.h:79
Urho3D::CustomGeometry::GetNumOccluderTriangles
unsigned GetNumOccluderTriangles() override
Return number of occlusion geometry triangles.
Definition: CustomGeometry.cpp:143
Urho3D::LuaScript::Loader
static int Loader(lua_State *L)
Loader.
Definition: LuaScript.cpp:355
Urho3D::ToolTip::Reset
void Reset()
Hide tooltip if visible and reset parentage.
Definition: ToolTip.cpp:111
Urho3D::Texture::GetBackupTexture
Texture * GetBackupTexture() const
Return backup texture.
Definition: Texture.h:121
Urho3D::Animatable::UpdateAttributeAnimations
void UpdateAttributeAnimations(float timeStep)
Update attribute animations.
Definition: Animatable.cpp:508
Urho3D::XMLElement::GetVariantValue
Variant GetVariantValue(VariantType type) const
Return a variant attribute with static type.
Definition: XMLElement.cpp:853
Urho3D::Graphics::renderTargets_
RenderSurface * renderTargets_[MAX_RENDERTARGETS]
Rendertargets in use.
Definition: Graphics.h:793
Urho3D::UIElement::GetDebugDrawBatches
virtual void GetDebugDrawBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor)
Return UI rendering batches for debug draw.
Definition: UIElement.cpp:349
Urho3D::Obstacle::SetHeight
void SetHeight(float newHeight)
Set the height of this obstacle.
Definition: Obstacle.cpp:73
Urho3D::ConstraintMotor2D::GetCorrectionFactor
float GetCorrectionFactor() const
Return correction factor.
Definition: ConstraintMotor2D.h:67
Urho3D::Engine::pauseMinimized_
bool pauseMinimized_
Pause when minimized flag.
Definition: Engine.h:144
Urho3D::HashNodeBase::down_
HashNodeBase * down_
Next node in the bucket.
Definition: HashBase.h:50
Urho3D::Variant::GetTypeFromName
static VariantType GetTypeFromName(const String &typeName)
Return variant type from type name.
Definition: Variant.cpp:969
Urho3D::RigidBody2D::AddCollisionShape2D
void AddCollisionShape2D(CollisionShape2D *collisionShape)
Add collision shape.
Definition: RigidBody2D.cpp:468
Urho3D::Node::SetTransform2D
void SetTransform2D(const Vector2 &position, float rotation, const Vector2 &scale)
Set position, rotation, and scale in parent space as an atomic operation (for Urho2D).
Definition: Node.h:179
Urho3D::UIElement::bringToBack_
bool bringToBack_
Bring to back when defocused flag.
Definition: UIElement.h:694
Urho3D::WorkQueue::WorkQueue
WorkQueue(Context *context)
Construct.
Definition: WorkQueue.cpp:63
Urho3D::ScriptInstance::scriptObject_
asIScriptObject * scriptObject_
Script object.
Definition: ScriptInstance.h:196
Urho3D::Shader
Shader resource consisting of several shader variations.
Definition: Shader.h:34
Urho3D::Quaternion::Quaternion
Quaternion(float angle, const Vector3 &axis) noexcept
Construct from an angle (in degrees) and axis.
Definition: Quaternion.h:96
Urho3D::DebugHud::SetMode
void SetMode(unsigned mode)
Set elements to show.
Definition: DebugHud.cpp:225
Urho3D::List::Resize
void Resize(unsigned newSize)
Resize the list by removing or adding items at the end.
Definition: List.h:363
Urho3D::PListValueType
PListValueType
PList value types.
Definition: PListFile.h:35
Urho3D::AnimationControl::speed_
float speed_
Animation speed.
Definition: AnimationController.h:60
Urho3D::Vector4::z_
float z_
Z coordinate.
Definition: Vector4.h:229
Urho3D::CrowdManager::GetNumObstacleAvoidanceTypes
unsigned GetNumObstacleAvoidanceTypes() const
Get the number of configured obstacle avoidance types.
Definition: CrowdManager.h:146
Urho3D::WString::At
wchar_t & At(unsigned index)
Return char at index.
Definition: Str.h:596
Urho3D::Quaternion::IDENTITY
static const Quaternion IDENTITY
Identity quaternion.
Definition: Quaternion.h:470
Urho3D::GlyphLocation
Glyph and its location within the text. Used when preparing text rendering.
Definition: Text.h:56
Urho3D::Renderer::viewports_
Vector< SharedPtr< Viewport > > viewports_
Backbuffer viewports.
Definition: Renderer.h:520
Urho3D::EventHandler::GetEventType
const StringHash & GetEventType() const
Return event type.
Definition: Object.h:280
Urho3D::Texture::SetMipsToSkip
void SetMipsToSkip(MaterialQuality quality, int toSkip)
Set mip levels to skip on a quality setting when loading. Ensures higher quality levels do not skip m...
Definition: Texture.cpp:109
Urho3D::CrowdManager::Raycast
Vector3 Raycast(const Vector3 &start, const Vector3 &end, int queryFilterType, Vector3 *hitNormal=nullptr)
Perform a walkability raycast on the navigation mesh between start and end using the crowd initialize...
Definition: CrowdManager.cpp:439
Urho3D::Octant::cullingBox_
BoundingBox cullingBox_
Bounding box used for drawable object fitting.
Definition: Octree.h:138
Urho3D::RibbonTrail::GetStartColor
const Color & GetStartColor() const
Get vertex blended color for start of trail.
Definition: RibbonTrail.h:137
Urho3D::OcclusionBuffer::ClearBuffer
void ClearBuffer(unsigned threadIndex)
Clear a thread work buffer.
Definition: OcclusionBuffer.cpp:1028
Urho3D::Decal
One decal in a decal set.
Definition: DecalSet.h:76
Urho3D::ScrollView::GetVerticalScrollBarVisible
bool GetVerticalScrollBarVisible() const
Return whether the vertical scrollbar is visible.
Definition: ScrollView.cpp:363
Urho3D::ParticleEffect::GetMinRotation
float GetMinRotation() const
Return particle minimum rotation.
Definition: ParticleEffect.h:299
Urho3D::UIElement::GetLayoutFlexScale
const Vector2 & GetLayoutFlexScale() const
Return layout flex scale.
Definition: UIElement.h:558
Urho3D::StaticSprite2D::color_
Color color_
Color.
Definition: StaticSprite2D.h:154
Urho3D::HashMap::KeyValue::KeyValue
KeyValue(const KeyValue &value)
Copy-construct.
Definition: HashMap.h:61
Urho3D::Quaternion::Quaternion
Quaternion(const Vector3 &angles) noexcept
Construct from Euler angles (in degrees).
Definition: Quaternion.h:114
Urho3D::WorkQueue::~WorkQueue
~WorkQueue() override
Destruct.
Definition: WorkQueue.cpp:76
Urho3D::HashBase::Ptrs
HashNodeBase ** Ptrs() const
Return bucket head pointers.
Definition: HashBase.h:146
Urho3D::Cursor::useSystemShapes_
bool useSystemShapes_
Use system default shapes flag.
Definition: Cursor.h:142
Urho3D::StretchableSprite2D::GetBorder
const IntRect & GetBorder() const
Get border as number of pixels from each side.
Definition: StretchableSprite2D.h:43
Urho3D::PhysicsWorld2D
2D physics simulation world component. Should be added only to the root scene node.
Definition: PhysicsWorld2D.h:70
Urho3D::Drawable::RegisterObject
static void RegisterObject(Context *context)
Register object attributes. Drawable must be registered first.
Definition: Drawable.cpp:99
Urho3D::PListFile::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: PListFile.cpp:311
Urho3D::Image::cubemap_
bool cubemap_
Cubemap status if DDS.
Definition: Image.h:226
Urho3D::LuaFile::LuaFile
LuaFile(Context *context)
Construct.
Definition: LuaFile.cpp:44
Urho3D::WeakPtr::Refs
int Refs() const
Return the object's reference count, or 0 if null pointer or if object has expired.
Definition: Ptr.h:486
Urho3D::RibbonTrail::SetEndColor
void SetEndColor(const Color &color)
Set vertex blended scale for end of trail.
Definition: RibbonTrail.cpp:824
Urho3D::Node::Pitch
void Pitch(float angle, TransformSpace space=TS_LOCAL)
Rotate around the X axis.
Definition: Node.cpp:660
Urho3D::NetworkPriority::NetworkPriority
NetworkPriority(Context *context)
Construct.
Definition: NetworkPriority.cpp:40
Urho3D::Batch::geometryType_
GeometryType geometryType_
Geometry type.
Definition: Batch.h:108
Urho3D::Connection::address_
SLNet::AddressOrGUID * address_
Address of this connection.
Definition: Connection.h:337
Urho3D::DecalVertex
Decal vertex.
Definition: DecalSet.h:37
Urho3D::Drawable::GetOctant
Octant * GetOctant() const
Return octree octant.
Definition: Drawable.h:251
Urho3D::Camera::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: Camera.cpp:642
Urho3D::ViewBatchInfo2D::batchCount_
unsigned batchCount_
Batch count.
Definition: Renderer2D.h:58
Urho3D::SoundSource::GetSound
Sound * GetSound() const
Return sound.
Definition: SoundSource.h:81
Urho3D::PODVector::At
T & At(unsigned index)
Return element at index.
Definition: Vector.h:827
Urho3D::Matrix3x4::Inverse
Matrix3x4 Inverse() const
Return inverse.
Definition: Matrix3x4.cpp:55
Urho3D::XMLElement::SetVariantValue
bool SetVariantValue(const Variant &value)
Set a variant attribute excluding the type.
Definition: XMLElement.cpp:420
Urho3D::Matrix3x4::SignedScale
Vector3 SignedScale(const Matrix3 &rotation) const
Return the scaling part with the sign. Reference rotation matrix is required to avoid ambiguity.
Definition: Matrix3x4.h:626
Urho3D::ParticleEffect::SetTextureFrames
void SetTextureFrames(const Vector< TextureFrame > &textureFrames)
Set particle texture animation.
Definition: ParticleEffect.cpp:709
Urho3D::DebugHud::statsText_
SharedPtr< Text > statsText_
Rendering stats text.
Definition: DebugHud.h:113
Urho3D::Sound::IsSixteenBit
bool IsSixteenBit() const
Return whether data is sixteen bit.
Definition: Sound.h:100
Urho3D::Serializer::WriteBool
bool WriteBool(bool value)
Write a bool.
Definition: Serializer.cpp:76
Urho3D::IKSolver::ApplyActivePoseToScene
void ApplyActivePoseToScene()
Definition: IKSolver.cpp:465
Urho3D::Polyhedron::Transform
void Transform(const Matrix3 &transform)
Transform with a 3x3 matrix.
Definition: Polyhedron.cpp:237
Urho3D::Console::GetHistoryPosition
unsigned GetHistoryPosition() const
Return current history position.
Definition: Console.h:114
Urho3D::Graphics::GetRefreshRate
int GetRefreshRate() const
Return refresh rate when using vsync in fullscreen.
Definition: Graphics.h:375
Urho3D::Terrain::SetSmoothing
void SetSmoothing(bool enable)
Set smoothing of heightmap.
Definition: Terrain.cpp:233
Urho3D::Abs
T Abs(T value)
Return absolute value of a value.
Definition: MathDefs.h:91
Urho3D::Scene::timeScale_
float timeScale_
Scene update time scale.
Definition: Scene.h:326
Urho3D::MemoryBuffer::readOnly_
bool readOnly_
Read-only flag.
Definition: MemoryBuffer.h:60
Urho3D::Vector::Vector
Vector(ConstIterator start, ConstIterator end)
Copy-construct from another vector (iterator version).
Definition: Vector.h:83
Urho3D::CollisionChain2D::loop_
bool loop_
Loop.
Definition: CollisionChain2D.h:77
Urho3D::DynamicNavigationMesh::SetNavigationDataAttr
void SetNavigationDataAttr(const PODVector< unsigned char > &value) override
Set navigation data attribute.
Definition: DynamicNavigationMesh.cpp:675
Urho3D::Context::RegisterFactory
void RegisterFactory(ObjectFactory *factory)
Register a factory for an object type.
Definition: Context.cpp:163
Urho3D::Renderer::SetOccluderSizeThreshold
void SetOccluderSizeThreshold(float screenSize)
Set required screen size (1.0 = full screen) for occluders.
Definition: Renderer.cpp:512
Urho3D::Vector::At
const T & At(unsigned index) const
Return const element at index.
Definition: Vector.h:216
Urho3D::JoystickState::screenJoystick_
UIElement * screenJoystick_
UI element containing the screen joystick.
Definition: Input.h:115
Urho3D::View::cameraZone_
Zone * cameraZone_
Zone the camera is inside, or default zone if not assigned.
Definition: View.h:326
Urho3D::Drawable::lodDistance_
float lodDistance_
LOD scaled distance.
Definition: Drawable.h:365
Urho3D::ScriptFile::RemoveEventHandler
void RemoveEventHandler(StringHash eventType) override
Remove a scripted event handler.
Definition: ScriptFile.cpp:212
Urho3D::AnimatedSprite2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: AnimatedSprite2D.cpp:212
Urho3D::TmxLayer2D::GetWidth
int GetWidth() const
Return width.
Definition: TmxFile2D.h:54
Urho3D::TextureUnit
TextureUnit
Texture units.
Definition: GraphicsDefs.h:320
Urho3D::Bone::Bone
Bone()
Construct with defaults.
Definition: Skeleton.h:49
Urho3D::Technique::ReleaseShaders
void ReleaseShaders()
Reset shader pointers in all passes.
Definition: Technique.cpp:366
Urho3D::Renderer::GetPreparedView
View * GetPreparedView(Camera *camera)
Return a prepared view if exists for the specified camera. Used to avoid duplicate view preparation C...
Definition: Renderer.cpp:1148
Urho3D::ShaderVariation::Compile
bool Compile()
Compile from source. Return true if successful.
Definition: OGLShaderVariation.cpp:200
Urho3D::RenderSurface::GetUsage
TextureUsage GetUsage() const
Return usage.
Definition: RenderSurface.cpp:92
Urho3D::Pair::operator<
bool operator<(const Pair< T, U > &rhs) const
Test for less than with another pair.
Definition: Pair.h:51
Urho3D::JSONValue::type_
unsigned type_
type.
Definition: JSONValue.h:295
Urho3D::Obstacle::GetHeight
float GetHeight() const
Get the height of this obstacle.
Definition: Obstacle.h:53
Urho3D::LightBatchQueue::negative_
bool negative_
Light negative flag.
Definition: Batch.h:297
Urho3D::ProfilerBlock::timer_
HiresTimer timer_
High-resolution timer for measuring the block duration.
Definition: Profiler.h:140
Urho3D::RaycastVehicle::FixedPostUpdate
void FixedPostUpdate(float timeStep) override
Perform fixed step post-update.
Definition: RaycastVehicle.cpp:318
Urho3D::Input::GetKeyFromName
Key GetKeyFromName(const String &name) const
Return keycode from key name.
Definition: Input.cpp:1304
Urho3D::ModelMorph::buffers_
HashMap< unsigned, VertexBufferMorph > buffers_
Morph data per vertex buffer.
Definition: Model.h:63
Urho3D::OffMeshConnection::radius_
float radius_
Radius.
Definition: OffMeshConnection.h:82
Urho3D::RibbonTrail::GetUpdateInvisible
bool GetUpdateInvisible() const
Return whether to update when trail emitter are not visible.
Definition: RibbonTrail.h:170
Urho3D::LuaFunction::functionRef_
int functionRef_
Lua reference to function object.
Definition: LuaFunction.h:107
Urho3D::Node::SetTransform
void SetTransform(const Vector3 &position, const Quaternion &rotation)
Set both position and rotation in parent space as an atomic operation. This is faster than setting po...
Definition: Node.cpp:484
Urho3D::PhysicsWorld2D::SendEndContactEvents
void SendEndContactEvents()
Send end contact events.
Definition: PhysicsWorld2D.cpp:774
Urho3D::ObjectFactoryImpl::CreateObject
SharedPtr< Object > CreateObject() override
Create an object of the specific type.
Definition: Object.h:243
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4(const Matrix3 &matrix) noexcept
Copy-construct from a 3x3 matrix and set the extra elements to identity.
Definition: Matrix3x4.h:66
Urho3D::Terrain::GetSpacing
const Vector3 & GetSpacing() const
Return vertex and height spacing.
Definition: Terrain.h:108
Urho3D::PhysicsWorld::drawLine
void drawLine(const btVector3 &from, const btVector3 &to, const btVector3 &color) override
Draw a physics debug line.
Definition: PhysicsWorld.cpp:223
Urho3D::AreaAllocator::fastMode_
bool fastMode_
Fast mode flag.
Definition: AreaAllocator.h:70
Urho3D::GPUObject::GetGPUObject
void * GetGPUObject() const
Return the object pointer. Applicable only on Direct3D.
Definition: GPUObject.h:63
Urho3D::RaycastVehicle::SetSteeringValue
void SetSteeringValue(int wheel, float steeringValue)
Set steering value of particular wheel.
Definition: RaycastVehicle.cpp:439
Urho3D::Material::ResetToDefaults
void ResetToDefaults()
Reset to defaults.
Definition: Material.cpp:1246
Urho3D::AnimationSet2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: AnimationSet2D.cpp:119
Urho3D::Graphics::sRGB_
bool sRGB_
sRGB conversion on write flag for the main window.
Definition: Graphics.h:737
Urho3D::ViewBatchInfo2D::vertexCount_
unsigned vertexCount_
Vertex count.
Definition: Renderer2D.h:50
Urho3D::ParticleEffect2D::SetAngleVariance
void SetAngleVariance(float angleVariance)
Set angle variance.
Definition: ParticleEffect2D.cpp:334
Urho3D::OcclusionBuffer::SignedArea
float SignedArea(const Vector3 &v0, const Vector3 &v1, const Vector3 &v2) const
Return signed area of a triangle. If negative, is clockwise.
Definition: OcclusionBuffer.cpp:569
Urho3D::FontFace::GetGlyph
virtual const FontGlyph * GetGlyph(unsigned c)
Return pointer to the glyph structure corresponding to a character. Return null if glyph not found.
Definition: FontFace.cpp:54
Urho3D::DebugHud::mode_
unsigned mode_
Current shown-element mode.
Definition: DebugHud.h:133
Urho3D::OcclusionBatch::drawStart_
unsigned drawStart_
Draw start. First index for indexed geometry, otherwise first vertex.
Definition: OcclusionBuffer.h:78
Urho3D::ObjectAnimation::AddAttributeAnimation
void AddAttributeAnimation(const String &name, ValueAnimation *attributeAnimation, WrapMode wrapMode=WM_LOOP, float speed=1.0f)
Add attribute animation, attribute name can in following format: "attribute" or "#0/#1/attribute" or ...
Definition: ObjectAnimation.cpp:193
Urho3D::BackgroundLoader::backgroundLoadMutex_
Mutex backgroundLoadMutex_
Mutex for thread-safe access to the background load queue.
Definition: BackgroundLoader.h:82
Urho3D::Octant::InsertDrawable
void InsertDrawable(Drawable *drawable)
Insert a drawable object by checking for fit recursively.
Definition: Octree.cpp:134
Urho3D::Vector::ConstructElements
static void ConstructElements(T *dest, RandomIteratorT start, RandomIteratorT end, MoveTag)
Move-construct elements.
Definition: Vector.h:562
Urho3D::ConstraintPrismatic2D::~ConstraintPrismatic2D
~ConstraintPrismatic2D() override
Destruct.
Urho3D::ConstraintMouse2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintMouse2D.cpp:117
Urho3D::FileSystem::ScanDir
void ScanDir(Vector< String > &result, const String &pathName, const String &filter, unsigned flags, bool recursive) const
Scan a directory for specified files.
Definition: FileSystem.cpp:681
Urho3D::Graphics::SetSRGB
void SetSRGB(bool enable)
Set whether the main window uses sRGB conversion on write.
Definition: OGLGraphics.cpp:513
Urho3D::Constraint2D::GetAttachedConstraint
Constraint2D * GetAttachedConstraint() const
Return attached constraint (for gear).
Definition: Constraint2D.h:74
Urho3D::BatchGroup::AddTransforms
void AddTransforms(const Batch &batch)
Add world transform(s) from a batch.
Definition: Batch.h:153
Urho3D::BorderImage::GetDisabledOffset
const IntVector2 & GetDisabledOffset() const
Return offset to image rectangle used when disabled.
Definition: BorderImage.h:91
Urho3D::NavigationMesh::NavigationMesh
NavigationMesh(Context *context)
Construct.
Definition: NavigationMesh.cpp:100
Urho3D::HashMap::Find
Iterator Find(const T &key)
Return iterator to the pair with key, or end iterator if not found.
Definition: HashMap.h:530
Urho3D::RemoteEvent::senderID_
unsigned senderID_
Remote sender node ID (0 if not a remote node event).
Definition: Connection.h:58
Urho3D::Obstacle::height_
float height_
Height of this obstacle, extends 1/2 height below and 1/2 height above the owning node's position.
Definition: Obstacle.h:86
Urho3D::GeometryType
GeometryType
Geometry type for vertex shader geometry variations.
Definition: GraphicsDefs.h:55
Urho3D::DebugRenderer::AddNode
void AddNode(Node *node, float scale=1.0f, bool depthTest=true)
Add a scene node represented as its coordinate axes.
Definition: DebugRenderer.cpp:131
Urho3D::RigidBody::centerOfMass_
Vector3 centerOfMass_
Center of mass offset.
Definition: RigidBody.h:283
Urho3D::VectorBuffer::Seek
unsigned Seek(unsigned position) override
Set position from the beginning of the buffer. Return actual new position.
Definition: VectorBuffer.cpp:63
Urho3D::IntVector3::BACK
static const IntVector3 BACK
(0,0,-1) vector.
Definition: Vector3.h:178
Urho3D::Camera::SetFillMode
void SetFillMode(FillMode mode)
Set polygon fill mode to use when rendering a scene.
Definition: Camera.cpp:189
Urho3D::UIElement::IsVisible
bool IsVisible() const
Return whether element itself should be visible. Elements can be also hidden due to the parent being ...
Definition: UIElement.h:523
Urho3D::Script::GetDefaultScene
Scene * GetDefaultScene() const
Return immediate mode scene.
Definition: Script.cpp:293
Urho3D::Network::MakeHttpRequest
SharedPtr< HttpRequest > MakeHttpRequest(const String &url, const String &verb=String::EMPTY, const Vector< String > &headers=Vector< String >(), const String &postData=String::EMPTY)
Perform an HTTP request to the specified URL. Empty verb defaults to a GET request....
Definition: Network.cpp:639
Urho3D::Graphics::GetScreenModeParams
const ScreenModeParams & GetScreenModeParams() const
Return screen mode parameters.
Definition: Graphics.h:351
Urho3D::ConstantBuffer::size_
unsigned size_
Buffer byte size.
Definition: ConstantBuffer.h:68
Urho3D::UIElement::SetColor
void SetColor(const Color &color)
Set color on all corners.
Definition: UIElement.cpp:822
Urho3D::Network::Update
void Update(float timeStep)
Process incoming messages from connections. Called by HandleBeginFrame.
Definition: Network.cpp:889
Urho3D::NavigationMesh::SetPartitionType
void SetPartitionType(NavmeshPartitionType partitionType)
Set the partition type used for polygon generation.
Definition: NavigationMesh.cpp:1582
Urho3D::VertexBuffer::elementHash_
unsigned long long elementHash_
Vertex element hash.
Definition: VertexBuffer.h:156
Urho3D::ShaderVariation::CalculateConstantBufferSizes
void CalculateConstantBufferSizes()
Calculate constant buffer sizes from parameters.
Definition: OGLShaderVariation.cpp:203
Urho3D::BackgroundLoadItem::dependencies_
HashSet< Pair< StringHash, StringHash > > dependencies_
Resources depended on for loading.
Definition: BackgroundLoader.h:45
Urho3D::Material::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Material.cpp:211
Urho3D::Text3D::geometries_
Vector< SharedPtr< Geometry > > geometries_
Geometries.
Definition: Text3D.h:192
Urho3D::UIElement::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: UIElement.cpp:112
Urho3D::IntVector3::IntVector3
IntVector3(int x, int y, int z) noexcept
Construct from coordinates.
Definition: Vector3.h:44
Urho3D::MaterialShaderParameter::name_
String name_
Name.
Definition: Material.h:50
Urho3D::Camera::useClipping_
bool useClipping_
Use custom clip plane flag.
Definition: Camera.h:282
Urho3D::Light::volumeTransform_
Matrix3x4 volumeTransform_
Custom world transform for the light volume.
Definition: Light.h:363
Urho3D::Frustum::Transform
void Transform(const Matrix3 &transform)
Transform by a 3x3 matrix.
Definition: Frustum.cpp:173
Urho3D::WM_ONCE
@ WM_ONCE
Play once, when animation finished it will be removed.
Definition: AnimationDefs.h:36
Urho3D::Graphics::DrawInstanced
void DrawInstanced(PrimitiveType type, unsigned indexStart, unsigned indexCount, unsigned minVertex, unsigned vertexCount, unsigned instanceCount)
Draw indexed, instanced geometry. An instancing vertex buffer must be set.
Definition: OGLGraphics.cpp:901
Urho3D::ASYNC_DONE
@ ASYNC_DONE
No async operation in progress.
Definition: Resource.h:42
Urho3D::LuaScript
Lua script subsystem.
Definition: LuaScript.h:41
Urho3D::Texture::Create
virtual bool Create()
Create the GPU texture. Implemented in subclasses.
Definition: Texture.h:196
Urho3D::Audio::audioMutex_
Mutex audioMutex_
Audio thread mutex.
Definition: Audio.h:129
Urho3D::Menu::~Menu
~Menu() override
Destruct.
Definition: Menu.cpp:60
Urho3D::RenderPathCommand::eventName_
String eventName_
Event name.
Definition: RenderPath.h:186
Urho3D::Input::touches_
HashMap< int, TouchState > touches_
Active finger touches.
Definition: Input.h:374
Urho3D::DebugHud::GetUseRendererStats
bool GetUseRendererStats() const
Return whether showing 3D geometry primitive/batch count only.
Definition: DebugHud.h:97
Urho3D::NavigationMesh::numTilesX_
int numTilesX_
Number of tiles in X direction.
Definition: NavigationMesh.h:340
Urho3D::CollisionShape::NotifyRigidBody
void NotifyRigidBody(bool updateMass=true)
Update the new collision shape to the RigidBody.
Definition: CollisionShape.cpp:845
Urho3D::ScriptFile::SetParameters
void SetParameters(asIScriptContext *context, asIScriptFunction *function, const VariantVector &parameters)
Set parameters for a function or method.
Definition: ScriptFile.cpp:835
Urho3D::Graphics::SetTexture
void SetTexture(unsigned index, Texture *texture)
Set texture.
Definition: OGLGraphics.cpp:1492
Urho3D::UI::GetRootModalElement
UIElement * GetRootModalElement() const
Return root modal element.
Definition: UI.h:138
Urho3D::ValueAnimation::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: ValueAnimation.cpp:69
Urho3D::JSONArray
Vector< JSONValue > JSONArray
JSON array type.
Definition: JSONValue.h:65
Urho3D::RigidBody::GetContactProcessingThreshold
float GetContactProcessingThreshold() const
Return contact processing threshold.
Definition: RigidBody.cpp:683
Urho3D::RaycastVehicle::GetSteeringValue
float GetSteeringValue(int wheel) const
Get steering value of particular wheel.
Definition: RaycastVehicle.cpp:445
Urho3D::NavigationMesh::agentMaxClimb_
float agentMaxClimb_
Navigation agent max vertical climb.
Definition: NavigationMesh.h:322
Urho3D::PerThreadSceneResult::lights_
PODVector< Light * > lights_
Lights.
Definition: View.h:100
Urho3D::ParticleEmitter::EmitNewParticle
bool EmitNewParticle()
Create a new particle. Return true if there was room.
Definition: ParticleEmitter.cpp:448
Urho3D::CustomGeometry::vertices_
Vector< PODVector< CustomGeometryVertex > > vertices_
Source vertices per geometry.
Definition: CustomGeometry.h:166
Urho3D::CustomGeometry::DefineNormal
void DefineNormal(const Vector3 &normal)
Define a vertex normal.
Definition: CustomGeometry.cpp:550
Urho3D::LuaScriptInstance::HasEventHandler
bool HasEventHandler(const String &eventName) const override
Return whether has subscribed to an event.
Definition: LuaScriptInstance.cpp:370
Urho3D::RibbonTrail::GetEndScale
float GetEndScale() const
Get vertex blended scale for end of trail.
Definition: RibbonTrail.h:146
Urho3D::NavigationMesh::meshName_
String meshName_
Identifying name for this navigation mesh.
Definition: NavigationMesh.h:302
Urho3D::Localization::Reset
void Reset()
Clear all loaded strings.
Definition: Localization.cpp:148
Urho3D::Color::ToString
String ToString() const
Return as string.
Definition: Color.cpp:251
Urho3D::Profiler::PrintData
const String & PrintData(bool showUnused=false, bool showTotal=false, unsigned maxDepth=M_MAX_UNSIGNED) const
Return profiling data as text output. This method is not thread-safe.
Definition: Profiler.cpp:72
Urho3D::MemoryBuffer::IsReadOnly
bool IsReadOnly()
Return whether buffer is read-only.
Definition: MemoryBuffer.h:54
Urho3D::ParticleEffect2D::GetMaxParticles
int GetMaxParticles() const
Return max particles.
Definition: ParticleEffect2D.h:188
Urho3D::ScrollBar::HandleBackButtonPressed
void HandleBackButtonPressed(StringHash eventType, VariantMap &eventData)
Handle back button pressed.
Definition: ScrollBar.cpp:274
Urho3D::Color::Average
float Average() const
Return average value of the RGB channels.
Definition: Color.h:171
Urho3D::Serializer::WriteQuaternion
bool WriteQuaternion(const Quaternion &value)
Write a quaternion.
Definition: Serializer.cpp:137
Urho3D::Animatable::SetAnimationEnabled
void SetAnimationEnabled(bool enable)
Set automatic update of animation, default true.
Definition: Animatable.cpp:254
Urho3D::AnimationController::attrBuffer_
VectorBuffer attrBuffer_
Attribute buffer for network replication.
Definition: AnimationController.h:210
Urho3D::Drawable2D::layer_
int layer_
Layer.
Definition: Drawable2D.h:112
Urho3D::Input::GetQualifiers
QualifierFlags GetQualifiers() const
Return the currently held down qualifiers.
Definition: Input.cpp:1388
Urho3D::HashBase::Size
unsigned Size() const
Return number of elements.
Definition: HashBase.h:127
Urho3D::AnimatedModel::MarkAnimationDirty
void MarkAnimationDirty()
Mark animation and skinning to require an update.
Definition: AnimatedModel.cpp:1082
Urho3D::ScriptInstance::RemoveEventHandlers
void RemoveEventHandlers() override
Remove all scripted event handlers.
Definition: ScriptInstance.cpp:396
Urho3D::Camera::GetOrthoSize
float GetOrthoSize() const
Return orthographic mode size.
Definition: Camera.h:119
Urho3D::ShaderProgram::NeedParameterUpdate
bool NeedParameterUpdate(ShaderParameterGroup group, const void *source)
Check whether a shader parameter group needs update. Does not actually check whether parameters exist...
Definition: OGLShaderProgram.cpp:347
Urho3D::Graphics::CreateWindowIcon
void CreateWindowIcon()
Create the application window icon.
Definition: Graphics.cpp:477
Urho3D::Text::selectionLength_
unsigned selectionLength_
Selection length.
Definition: Text.h:237
Urho3D::Node::GetRight
Vector3 GetRight() const
Return right direction in parent space. Positive X axis equals identity rotation.
Definition: Node.h:395
Urho3D::ReplicationState::connection_
Connection * connection_
Parent network connection.
Definition: ReplicationState.h:141
Urho3D::NavigationMesh::Raycast
Vector3 Raycast(const Vector3 &start, const Vector3 &end, const Vector3 &extents=Vector3::ONE, const dtQueryFilter *filter=nullptr, Vector3 *hitNormal=nullptr)
Perform a walkability raycast on the navigation mesh between start and end and return the point where...
Definition: NavigationMesh.cpp:815
Urho3D::Log::~Log
~Log() override
Destruct. Close the log file if open.
Definition: Log.cpp:77
Urho3D::Node::OnAttributeAnimationRemoved
void OnAttributeAnimationRemoved() override
Handle attribute animation removed.
Definition: Node.cpp:1907
Urho3D::LineEdit::lastFont_
Font * lastFont_
Last used text font.
Definition: LineEdit.h:136
Urho3D::LuaScriptInstance::scriptObjectType_
String scriptObjectType_
Script object type.
Definition: LuaScriptInstance.h:179
Urho3D::Graphics::CheckFramebuffer
bool CheckFramebuffer()
Check FBO completeness using either extension or core functionality. Used only on OpenGL.
Definition: OGLGraphics.cpp:3356
Urho3D::ProfilerBlock::maxTime_
long long maxTime_
Maximum time on current frame.
Definition: Profiler.h:144
Urho3D::Font::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Font.cpp:76
Urho3D::Console::lineEdit_
LineEdit * lineEdit_
Line edit.
Definition: Console.h:153
Urho3D::StaticModelGroup::nodeIDsAttr_
VariantVector nodeIDsAttr_
IDs of instance nodes for serialization.
Definition: StaticModelGroup.h:90
Urho3D::BorderImage::GetImageRect
const IntRect & GetImageRect() const
Return image rectangle.
Definition: BorderImage.h:79
Urho3D::Node::SetID
void SetID(unsigned id)
Set ID. Called by Scene.
Definition: Node.cpp:1439
Urho3D::Text3D::SetEffectStrokeThickness
void SetEffectStrokeThickness(int thickness)
Set stroke thickness.
Definition: Text3D.cpp:288
Urho3D::View::GetLightBatches
void GetLightBatches()
Get batches from lit geometries and shadowcasters.
Definition: View.cpp:1003
Urho3D::AnimatedSprite2D::SetAnimation
void SetAnimation(const String &name, LoopMode2D loopMode=LM_DEFAULT)
Set animation by name and loop mode.
Definition: AnimatedSprite2D.cpp:169
Urho3D::Window::SetResizeBorder
void SetResizeBorder(const IntRect &rect)
Set resize area width at edges.
Definition: Window.cpp:272
Urho3D::Technique::materialPassIndex
static unsigned materialPassIndex
Index for prepass material pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:264
Urho3D::ListView::EnsureItemVisibility
void EnsureItemVisibility(unsigned index)
Ensure full visibility of the item.
Definition: ListView.cpp:994
Urho3D::View::renderer_
WeakPtr< Renderer > renderer_
Renderer subsystem.
Definition: View.h:314
Urho3D::XMLElement::GetIntVector2
IntVector2 GetIntVector2(const String &name) const
Return an IntVector2 attribute, or default if missing.
Definition: XMLElement.cpp:827
Urho3D::ScriptFile::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: ScriptFile.cpp:114
Urho3D::Renderer::~Renderer
~Renderer() override
Destruct.
Urho3D::CollisionChain2D::SetVertex
void SetVertex(unsigned index, const Vector2 &vertex)
Set vertex.
Definition: CollisionChain2D.cpp:73
Urho3D::FileSelector::fileEntries_
Vector< FileSelectorEntry > fileEntries_
File entries.
Definition: FileSelector.h:183
Urho3D::Log::GetLastMessage
String GetLastMessage() const
Return last log message.
Definition: Log.h:101
Urho3D::DebugLine
Debug rendering line.
Definition: DebugRenderer.h:44
Urho3D::XPathQuery::EvaluateToString
String EvaluateToString(const XMLElement &element) const
Evaluate XPath query and expecting a string return value.
Definition: XMLElement.cpp:1180
Urho3D::TerrainPatch::GetLodGeometry
Geometry * GetLodGeometry(unsigned batchIndex, unsigned level) override
Return the geometry for a specific LOD level.
Definition: TerrainPatch.cpp:162
Urho3D::RigidBody::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: RigidBody.cpp:131
Urho3D::LuaScriptInstance::ReleaseObject
void ReleaseObject()
Release the script object.
Definition: LuaScriptInstance.cpp:728
Urho3D::Drawable::GetDrawDistance
float GetDrawDistance() const
Return draw distance.
Definition: Drawable.h:186
Urho3D::Image::GetLevels
void GetLevels(PODVector< Image * > &levels)
Get all stored mip levels starting from this.
Definition: Image.cpp:2315
Urho3D::UIElement::indentSpacing_
int indentSpacing_
Indent spacing (number of pixels per indentation level).
Definition: UIElement.h:736
Urho3D::Resource::Load
bool Load(Deserializer &source)
Load resource synchronously. Call both BeginLoad() & EndLoad() and return true if both succeeded.
Definition: Resource.cpp:41
Urho3D::TileMapLayer2D::SetObjectGroup
void SetObjectGroup(const TmxObjectGroup2D *objectGroup)
Set object group.
Definition: TileMapLayer2D.cpp:369
Urho3D::Terrain::UpdateEdgePatchNeighbors
void UpdateEdgePatchNeighbors()
Update edge patch neighbors when neighbor terrain(s) change or are recreated.
Definition: Terrain.cpp:1450
Urho3D::UniquePtr
Unique pointer template class.
Definition: Ptr.h:567
Urho3D::Console::AddAutoComplete
void AddAutoComplete(const String &option)
Add auto complete option.
Definition: Console.cpp:253
Urho3D::BorderImage::SetFullImageRect
void SetFullImageRect()
Use whole texture as the image.
Definition: BorderImage.cpp:91
Urho3D::PhysicsWorld::drawContactPoint
void drawContactPoint(const btVector3 &pointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color) override
Draw a physics debug contact point. Not implemented.
Definition: PhysicsWorld.cpp:247
Urho3D::BillboardSet::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: BillboardSet.cpp:471
Urho3D::ConstraintWheel2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintWheel2D.cpp:46
Urho3D::GraphicsImpl::lastInstanceOffset_
unsigned lastInstanceOffset_
Last used instance data offset.
Definition: OGLGraphicsImpl.h:148
Urho3D::Material::SetShaderParameterAnimationWrapMode
void SetShaderParameterAnimationWrapMode(const String &name, WrapMode wrapMode)
Set shader parameter animation wrap mode.
Definition: Material.cpp:1018
Urho3D::Camera::GetViewSpaceFrustum
Frustum GetViewSpaceFrustum() const
Return frustum in view space.
Definition: Camera.cpp:340
Urho3D::SharedPtr::operator<
bool operator<(const SharedPtr< U > &rhs) const
Test for less than with another shared pointer.
Definition: Ptr.h:152
Urho3D::Node::SetTransform2D
void SetTransform2D(const Vector2 &position, float rotation, float scale)
Set position, rotation, and uniform scale in parent space as an atomic operation (for Urho2D).
Definition: Node.h:173
Urho3D::BackgroundLoader::BackgroundLoader
BackgroundLoader(ResourceCache *owner)
Construct.
Urho3D::LuaScript::coroutineUpdate_
LuaFunction * coroutineUpdate_
Coroutine update function.
Definition: LuaScript.h:123
Urho3D::ConstraintPulley2D::ownerBodyAnchor_
Vector2 ownerBodyAnchor_
Owner body anchor.
Definition: ConstraintPulley2D.h:81
Urho3D::CascadeParameters::splits_
Vector4 splits_
Far clip values of the splits.
Definition: Light.h:111
Urho3D::SharedArrayPtr::Null
bool Null() const
Check if the pointer is null.
Definition: ArrayPtr.h:153
Urho3D::Graphics::stencilPass_
StencilOp stencilPass_
Stencil operation on pass.
Definition: Graphics.h:829
Urho3D::ResourceGroup::ResourceGroup
ResourceGroup()
Construct with defaults.
Definition: ResourceCache.h:47
Urho3D::SourceBatch::operator=
SourceBatch & operator=(const SourceBatch &rhs)
Assignment operator.
Urho3D::WorkQueue::SetTolerance
void SetTolerance(int tolerance)
Set the pool telerance before it starts deleting pool items.
Definition: WorkQueue.h:98
Urho3D::PhysicsWorld2D::GetRigidBodies
void GetRigidBodies(PODVector< RigidBody2D * > &results, const Rect &aabb, unsigned collisionMask=M_MAX_UNSIGNED)
Return rigid bodies by a box query.
Definition: PhysicsWorld2D.cpp:668
Urho3D::Texture::levelsDirty_
bool levelsDirty_
Mipmap levels regeneration needed -flag.
Definition: Texture.h:245
Urho3D::TerrainPatch::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: TerrainPatch.h:124
Urho3D::CubeMapFace
CubeMapFace
Cube map faces.
Definition: GraphicsDefs.h:270
Urho3D::GPUObject::dataPending_
bool dataPending_
Data pending flag.
Definition: GPUObject.h:79
Urho3D::Image::SetSize
bool SetSize(int width, int height, unsigned components)
Set 2D size and number of color components. Old image data will be destroyed and new data is undefine...
Definition: Image.cpp:889
Urho3D::StaticModel::model_
SharedPtr< Model > model_
Model.
Definition: StaticModel.h:121
Urho3D::Object::UnsubscribeFromEvents
void UnsubscribeFromEvents(Object *sender)
Unsubscribe from a specific sender's events.
Definition: Object.cpp:231
Urho3D::ValueAnimation::HasEventFrames
bool HasEventFrames() const
Has event frames.
Definition: ValueAnimation.h:135
Urho3D::Technique::GetPassNames
Vector< String > GetPassNames() const
Return all pass names.
Definition: Technique.cpp:469
Urho3D::Particle2D::position_
Vector3 position_
Position.
Definition: ParticleEmitter2D.h:40
Urho3D::CollisionShape::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: CollisionShape.cpp:918
Urho3D::Animatable::SetObjectAnimation
void SetObjectAnimation(ObjectAnimation *objectAnimation)
Set object animation.
Definition: Animatable.cpp:298
Urho3D::OffMeshConnection::IsBidirectional
bool IsBidirectional() const
Return whether is bidirectional.
Definition: OffMeshConnection.h:66
Urho3D::IndexBuffer::MapBuffer
void * MapBuffer(unsigned start, unsigned count, bool discard)
Map the GPU buffer into CPU memory. Not used on OpenGL.
Definition: OGLIndexBuffer.cpp:265
Urho3D::PODVector::Insert
void Insert(unsigned pos, const PODVector< T > &vector)
Insert another vector at position.
Definition: Vector.h:880
Urho3D::MessageBox::titleText_
Text * titleText_
Title text element.
Definition: MessageBox.h:69
Urho3D::Particle::timer_
float timer_
Time elapsed from creation.
Definition: ParticleEmitter.h:40
Urho3D::XMLElement::GetOrCreateChild
XMLElement GetOrCreateChild(const String &name)
Return the first child element with name or create if does not exist.
Definition: XMLElement.cpp:109
Urho3D::ResourceCache::GetMemoryUse
unsigned long long GetMemoryUse(StringHash type) const
Return total memory use for a resource type.
Definition: ResourceCache.cpp:771
Urho3D::AttributeAnimationInfo::GetAttributeInfo
const AttributeInfo & GetAttributeInfo() const
Return attribute information.
Definition: Animatable.h:51
Urho3D::StaticModel::materialsAttr_
ResourceRefList materialsAttr_
Material list attribute.
Definition: StaticModel.h:125
Urho3D::AnimatedModel::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: AnimatedModel.cpp:323
Urho3D::FontFaceFreeType::freeType_
SharedPtr< FreeTypeLibrary > freeType_
FreeType library.
Definition: FontFaceFreeType.h:59
Urho3D::CrowdAgent::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: CrowdAgent.cpp:603
Urho3D::BufferedSoundStream::buffers_
List< Pair< SharedArrayPtr< signed char >, unsigned > > buffers_
Buffers and their sizes.
Definition: BufferedSoundStream.h:62
Urho3D::TechniqueEntry::technique_
SharedPtr< Technique > technique_
Technique.
Definition: Material.h:66
Urho3D::Variant::SetType
void SetType(VariantType newType)
Set new type and allocate/deallocate memory as necessary.
Definition: Variant.cpp:623
Urho3D::EventProfilerBlock
Event profiling data for one block in the event profiling tree.
Definition: EventProfiler.h:31
Urho3D::String::Reserve
void Reserve(unsigned newCapacity)
Set new capacity.
Definition: Str.cpp:455
Urho3D::HiresTimer::IsSupported
static bool IsSupported()
Return if high-resolution timer is supported.
Definition: Timer.h:62
Urho3D::DelayedWorldTransform2D::worldRotation_
Quaternion worldRotation_
New world rotation.
Definition: PhysicsWorld2D.h:66
Urho3D::ScrollView::SetScrollStep
void SetScrollStep(float step)
Set arrow key scroll step. Also sets it on the scrollbars.
Definition: ScrollView.cpp:347
Urho3D::SplinePath::Move
void Move(float timeStep)
Move the controlled Node to the next position along the SplinePath based off the Speed value.
Definition: SplinePath.cpp:222
Urho3D::PhysicsWorld2D::RaycastSingle
void RaycastSingle(PhysicsRaycastResult2D &result, const Vector2 &startPoint, const Vector2 &endPoint, unsigned collisionMask=M_MAX_UNSIGNED)
Perform a physics world raycast and return the closest hit.
Definition: PhysicsWorld2D.cpp:554
Urho3D::UIElement::visible_
bool visible_
Visible flag.
Definition: UIElement.h:710
Urho3D::Polyhedron::Polyhedron
Polyhedron(const Polyhedron &polyhedron)
Copy-construct from another polyhedron.
Definition: Polyhedron.h:46
Urho3D::TextureCube::OnDeviceLost
void OnDeviceLost() override
Mark the GPU resource destroyed on context destruction.
Definition: OGLTextureCube.cpp:46
Urho3D::AnimationState::time_
float time_
Time position.
Definition: AnimationState.h:173
Urho3D::Graphics::lastShaderName_
String lastShaderName_
Last used shader name in shader variation query.
Definition: Graphics.h:857
Urho3D::IM_NONE
@ IM_NONE
No interpolation.
Definition: ValueAnimation.h:40
Urho3D::LuaFunction::numArguments_
int numArguments_
Number of arguments being pushed so far. For internal use only.
Definition: LuaFunction.h:105
Urho3D::LuaScript::RemoveEventHandlers
void RemoveEventHandlers(Object *sender) override
Remove all scripted event handlers for a specific sender.
Definition: LuaScript.cpp:205
Urho3D::Terrain::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: Terrain.cpp:151
Urho3D::TextureCoordinate
TextureCoordinate
Texture coordinates.
Definition: GraphicsDefs.h:252
Urho3D::Vector::IndexOf
unsigned IndexOf(const T &value) const
Return index of value in vector, or size if not found.
Definition: Vector.h:483
Urho3D::Variant::Variant
Variant(const VectorBuffer &value)
Construct from a VectorBuffer and store as a buffer.
Definition: Variant.h:427
Urho3D::Renderer2D::Renderer2D
Renderer2D(Context *context)
Construct.
Definition: Renderer2D.cpp:62
Urho3D::UIElement::focusMode_
FocusMode focusMode_
Focus mode.
Definition: UIElement.h:716
Urho3D::HashMap::HashMap
HashMap()
Construct empty.
Definition: HashMap.h:218
Urho3D::ConstantBuffer
Hardware constant buffer.
Definition: ConstantBuffer.h:34
Urho3D::Color::WHITE
static const Color WHITE
Opaque white color.
Definition: Color.h:265
Urho3D::AM_NOEDIT
@ AM_NOEDIT
Attribute should not be shown in the editor.
Definition: Attribute.h:47
Urho3D::AnimationState::animation_
SharedPtr< Animation > animation_
Animation.
Definition: AnimationState.h:163
Urho3D::LuaScriptEventInvoker::~LuaScriptEventInvoker
~LuaScriptEventInvoker() override
Destruct.
Urho3D::JoystickState::Initialize
void Initialize(unsigned numButtons, unsigned numAxes, unsigned numHats)
Initialize the number of buttons, axes and hats and set them to neutral state.
Definition: Input.cpp:329
Urho3D::RenderTargetInfo::multiSample_
int multiSample_
Multisampling level (1 = no multisampling).
Definition: RenderPath.h:84
Urho3D::CustomGeometry::geometryIndex_
unsigned geometryIndex_
Current geometry being updated.
Definition: CustomGeometry.h:174
Urho3D::Camera::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: Camera.cpp:636
Urho3D::XMLElement::GetDouble
double GetDouble(const String &name) const
Return a double attribute, or zero if missing.
Definition: XMLElement.cpp:797
Urho3D::Network::SetNATServerInfo
void SetNATServerInfo(const String &address, unsigned short port)
Set NAT server information.
Definition: Network.cpp:467
Urho3D::Text::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: Text.cpp:101
Urho3D::ScriptInstance::HandleScriptFileReload
void HandleScriptFileReload(StringHash eventType, VariantMap &eventData)
Handle script file reload start.
Definition: ScriptInstance.cpp:949
Urho3D::Terrain::SetPatchSize
void SetPatchSize(int size)
Set patch quads per side. Must be a power of two.
Definition: Terrain.cpp:183
Urho3D::ShaderParameter::regCount_
unsigned regCount_
Number of registers on Direct3D9.
Definition: ShaderVariation.h:71
Urho3D::Script::GetEnumValues
const char ** GetEnumValues(int asTypeID)
Returns an array of strings of enum value names for Enum Attributes.
Definition: Script.cpp:314
Urho3D::Renderer::SetShadowQuality
void SetShadowQuality(ShadowQuality quality)
Set shadow quality mode. See the SHADOWQUALITY enum in GraphicsDefs.h.
Definition: Renderer.cpp:378
Urho3D::Text::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: Text.cpp:240
Urho3D::Thread::Run
bool Run()
Start running the thread. Return true if successful, or false if already running or if can not create...
Definition: Thread.cpp:74
Urho3D::Constraint2D::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: Constraint2D.cpp:58
Urho3D::HashSet::Rehash
bool Rehash(unsigned numBuckets)
Rehash to a specific bucket count, which must be a power of two. Return true if successful.
Definition: HashSet.h:443
Urho3D::Text3D::SetEffectShadowOffset
void SetEffectShadowOffset(const IntVector2 &offset)
Set shadow offset.
Definition: Text3D.cpp:283
Urho3D::Texture::GetSampler
void * GetSampler() const
Return sampler state object. Only used on Direct3D11.
Definition: Texture.h:160
Urho3D::Graphics::CheckFeatureSupport
void CheckFeatureSupport()
Check supported rendering features.
Definition: OGLGraphics.cpp:2731
Urho3D::StaticSprite2D::GetSpriteAttr
ResourceRef GetSpriteAttr() const
Return sprite attribute.
Definition: StaticSprite2D.cpp:255
Urho3D::View::CheckViewportWrite
bool CheckViewportWrite(const RenderPathCommand &command)
Check if a command writes into the destination render target.
Definition: View.cpp:1916
Urho3D::Billboard::sortDistance_
float sortDistance_
Sort distance. Used internally.
Definition: BillboardSet.h:55
Urho3D::UIElement::pivot_
Vector2 pivot_
Pivot Position.
Definition: UIElement.h:795
Urho3D::ResourceCache::autoReloadResources_
bool autoReloadResources_
Automatic resource reloading flag.
Definition: ResourceCache.h:248
Urho3D::SharedPtr::operator->
T * operator->() const
Point to the object.
Definition: Ptr.h:131
Urho3D::UI::SetNonFocusedMouseWheel
void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
Set whether mouse wheel can control also a non-focused element.
Definition: UI.cpp:676
Urho3D::Orientation
Orientation
UI element orientation.
Definition: UIElement.h:65
Urho3D::AnimationController::SetRemoveOnCompletion
bool SetRemoveOnCompletion(const String &name, bool removeOnCompletion)
Set whether an animation auto-removes on completion.
Definition: AnimationController.cpp:381
Urho3D::AnimatedModel::LoadJSON
bool LoadJSON(const JSONValue &source) override
Load from JSON data. Return true if successful.
Definition: AnimatedModel.cpp:146
Urho3D::ConstraintFriction2D::GetMaxTorque
float GetMaxTorque() const
Set max torque.
Definition: ConstraintFriction2D.h:57
Urho3D::Connection::IsConnected
bool IsConnected() const
Return whether is fully connected.
Definition: Connection.cpp:1068
Urho3D::AnimationController::SetLayer
bool SetLayer(const String &name, unsigned char layer)
Set animation blending layer priority. Return true on success.
Definition: AnimationController.cpp:300
Urho3D::Spriter::SpriterInstance::spriterData_
SpriterData * spriterData_
Spriter data.
Definition: SpriterInstance2D.h:95
Urho3D::StaticSprite2D::StaticSprite2D
StaticSprite2D(Context *context)
Construct.
Definition: StaticSprite2D.cpp:42
Urho3D::JSONValue::JSONValue
JSONValue(const JSONObject &value)
Construct with a JSON object.
Definition: JSONValue.h:131
Urho3D::Graphics::AddGPUObject
void AddGPUObject(GPUObject *object)
Add a GPU object to keep track of. Called by GPUObject.
Definition: Graphics.cpp:385
Urho3D::Sphere::Defined
bool Defined() const
Return true if this sphere is defined via a previous call to Define() or Merge().
Definition: Sphere.h:150
Urho3D::ConstantBuffer::SetVector3ArrayParameter
void SetVector3ArrayParameter(unsigned offset, unsigned rows, const void *data)
Set a Vector3 array parameter and mark buffer dirty.
Definition: ConstantBuffer.cpp:54
Urho3D::Geometry::GetHitDistance
float GetHitDistance(const Ray &ray, Vector3 *outNormal=nullptr, Vector2 *outUV=nullptr) const
Return ray hit distance or infinity if no hit. Requires raw data to be set. Optionally return hit nor...
Definition: Geometry.cpp:302
Urho3D::Script::GetScriptNestingLevel
unsigned GetScriptNestingLevel()
Return current script nesting level.
Definition: Script.h:119
Urho3D::ResourceWithMetadata::SaveMetadataToXML
void SaveMetadataToXML(XMLElement &destination) const
Save as <metadata> children of XML element.
Definition: Resource.cpp:178
Urho3D::MessageBox::MessageBox
MessageBox(Context *context, const String &messageString=String::EMPTY, const String &titleString=String::EMPTY, XMLFile *layoutFile=nullptr, XMLFile *styleFile=nullptr)
Construct. If layout file is not given, use the default message box layout. If style file is not give...
Definition: MessageBox.cpp:39
Urho3D::Cursor::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: Cursor.cpp:112
Urho3D::JSONValue::Begin
JSONObjectIterator Begin()
Return iterator to the beginning.
Definition: JSONValue.cpp:304
Urho3D::PackageFile::GetEntryNames
const Vector< String > GetEntryNames() const
Return list of file names in the package.
Definition: PackageFile.h:86
Urho3D::UIElement::opacityDirty_
bool opacityDirty_
Derived opacity dirty flag.
Definition: UIElement.h:803
Urho3D::CrowdManager::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: CrowdManager.cpp:640
Urho3D::ParticleEffect2D::rotationStart_
float rotationStart_
Rotation start.
Definition: ParticleEffect2D.h:322
Urho3D::Scene::Update
void Update(float timeStep)
Update scene. Called by HandleUpdate.
Definition: Scene.cpp:760
Urho3D::Variant::SetCustom
void SetCustom(const T &value)
Set custom value.
Definition: Variant.h:1084
Urho3D::ParticleEmitter::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post-update event.
Definition: ParticleEmitter.cpp:575
Urho3D::View::GetViewSize
const IntVector2 & GetViewSize() const
Return view dimensions.
Definition: View.h:160
Urho3D::XMLElement::SetAttribute
bool SetAttribute(const String &name, const String &value)
Set an attribute.
Definition: XMLElement.cpp:288
Urho3D::Quaternion::Slerp
Quaternion Slerp(const Quaternion &rhs, float t) const
Spherical interpolation with another quaternion.
Definition: Quaternion.cpp:249
Urho3D::Script::~Script
~Script() override
Destruct. Release the AngelScript engine.
Definition: Script.cpp:156
Urho3D::Text3D::SetAlignment
void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
Set horizontal and vertical alignment.
Definition: Text3D.cpp:233
Urho3D::Terrain::SetMaterial
void SetMaterial(Material *material)
Set material.
Definition: Terrain.cpp:252
Urho3D::PhysicsWorld::contacts_
VectorBuffer contacts_
Preallocated buffer for physics collision contact data.
Definition: PhysicsWorld.h:338
Urho3D::ViewBatchInfo2D::geometries_
Vector< SharedPtr< Geometry > > geometries_
Geometries.
Definition: Renderer2D.h:64
Urho3D::Renderer::maxSortedInstances_
int maxSortedInstances_
Maximum sorted instances per batch group.
Definition: Renderer.h:560
Urho3D::AnimationController::GetStartBone
Bone * GetStartBone(const String &name) const
Return animation start bone, or null if no such animation.
Definition: AnimationController.cpp:489
Urho3D::CollisionShape2D::fixtureDef_
b2FixtureDef fixtureDef_
Fixture def.
Definition: CollisionShape2D.h:112
Urho3D::UnknownComponent::xmlAttributeInfos_
Vector< AttributeInfo > xmlAttributeInfos_
XML format attribute infos.
Definition: UnknownComponent.h:95
Urho3D::ShaderParameter::register_
unsigned register_
Direct3D9 register index.
Definition: ShaderVariation.h:61
Urho3D::Renderer::SetReuseShadowMaps
void SetReuseShadowMaps(bool enable)
Set reuse of shadow maps. Default is true. If disabled, also transparent geometry can be shadowed.
Definition: Renderer.cpp:441
Urho3D::Skeleton::GetBone
Bone * GetBone(unsigned index)
Return bone by index.
Definition: Skeleton.cpp:186
Urho3D::ViewBatchInfo2D
2D view batch info.
Definition: Renderer2D.h:40
Urho3D::ListBase::allocator_
AllocatorBlock * allocator_
Node allocator.
Definition: ListBase.h:120
Urho3D::Renderer2D::UpdateViewBatchInfo
void UpdateViewBatchInfo(ViewBatchInfo2D &viewBatchInfo, Camera *camera)
Update view batch info.
Definition: Renderer2D.cpp:419
Urho3D::Pass::MarkShadersLoaded
void MarkShadersLoaded(unsigned frameNumber)
Mark shaders loaded this frame.
Definition: Technique.cpp:179
Urho3D::TextureCube::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: TextureCube.cpp:79
Urho3D::Variant::operator==
bool operator==(const Variant &rhs) const
Test for equality with another variant.
Definition: Variant.cpp:150
Urho3D::Texture::GetMultiSample
int GetMultiSample() const
Return texture multisampling level (1 = no multisampling).
Definition: Texture.h:109
Urho3D::SoundSource::SetPlayPosition
void SetPlayPosition(signed char *pos)
Set new playback position.
Definition: SoundSource.cpp:319
Urho3D::Color::Value
float Value() const
Return value as defined for HSV: largest value of the RGB components. Equivalent to calling MinRGB().
Definition: Color.h:186
Urho3D::Texture2DArray::GetLayers
unsigned GetLayers() const
Return number of layers in the texture.
Definition: Texture2DArray.h:71
Urho3D::BillboardSet::IsFixedScreenSize
bool IsFixedScreenSize() const
Return whether billboards are fixed screen size.
Definition: BillboardSet.h:125
Urho3D::CustomVariantValue
Custom variant value. This type is not abstract to store it in the VariantValue by value.
Definition: Variant.h:168
Urho3D::Graphics::SetWindowTitle
void SetWindowTitle(const String &windowTitle)
Set window title.
Definition: Graphics.cpp:73
Urho3D::Vector::Front
const T & Front() const
Return const first element.
Definition: Vector.h:511
Urho3D::LT_INVALID
@ LT_INVALID
Invalid.
Definition: TileMapDefs2D.h:84
Urho3D::CrowdManager::GetObstacleAvoidanceTypesAttr
VariantVector GetObstacleAvoidanceTypesAttr() const
Return all the obstacle avoidance types configured in the crowd as attribute.
Definition: CrowdManager.cpp:511
Urho3D::ParticleEmitter::serializeParticles_
bool serializeParticles_
Serialize particles flag.
Definition: ParticleEmitter.h:150
Urho3D::Drawable::basePassFlags_
unsigned basePassFlags_
Base pass flags, bit per batch.
Definition: Drawable.h:379
Urho3D::Engine::GetTimeStepSmoothing
int GetTimeStepSmoothing() const
Return how many frames to average for timestep smoothing.
Definition: Engine.h:91
Urho3D::View3D::~View3D
~View3D() override
Destruct.
Definition: View3D.cpp:59
Urho3D::MemoryBuffer
Memory area that can be read and written to as a stream.
Definition: MemoryBuffer.h:31
Urho3D::TmxFile2D::GetTileCollisionShapes
Vector< SharedPtr< TileMapObject2D > > GetTileCollisionShapes(unsigned gid) const
Return tile collision shapes for a given gid.
Definition: TmxFile2D.cpp:564
Urho3D::Spriter::File
File.
Definition: SpriterData2D.h:86
Urho3D::ResourceCache::BackgroundLoadResource
bool BackgroundLoadResource(StringHash type, const String &name, bool sendEventOnFailure=true, Resource *caller=nullptr)
Background load a resource. An event will be sent when complete. Return true if successfully stored t...
Definition: ResourceCache.cpp:638
Urho3D::SoundStream::GetSampleSize
unsigned GetSampleSize() const
Return sample size.
Definition: SoundStream.cpp:57
Urho3D::RigidBody::SetTrigger
void SetTrigger(bool enable)
Set rigid body trigger mode. In trigger mode collisions are reported but do not apply forces.
Definition: RigidBody.cpp:469
Urho3D::Font::~Font
~Font() override
Destruct.
Definition: Font.cpp:64
Urho3D::GImpactMeshData
Triangle mesh geometry data.
Definition: CollisionShape.h:92
Urho3D::Terrain::GetRawHeight
float GetRawHeight(int x, int z) const
Return an uninterpolated terrain height value, clamping to edges.
Definition: Terrain.cpp:1297
Urho3D::UIElement::GetClipChildren
bool GetClipChildren() const
Return whether should clip child elements.
Definition: UIElement.h:496
Urho3D::LinkedList::First
T * First() const
Return first element, or null if empty.
Definition: LinkedList.h:169
Urho3D::RibbonTrail::SetEmitting
void SetEmitting(bool emitting)
Set whether trail should be emitting.
Definition: RibbonTrail.cpp:337
Urho3D::List::ConstIterator::operator++
ConstIterator & operator++()
Preincrement the pointer.
Definition: List.h:132
Urho3D::LogicComponent::FixedUpdate
virtual void FixedUpdate(float timeStep)
Called on physics update, fixed timestep.
Definition: LogicComponent.cpp:59
Urho3D::OcclusionBuffer::ModelTransform
Vector4 ModelTransform(const Matrix4 &transform, const Vector3 &vertex) const
Apply modelview transform to vertex.
Definition: OcclusionBuffer.cpp:543
Urho3D::Condition::Wait
void Wait()
Wait on the condition.
Definition: Condition.cpp:88
Urho3D::Node::SetDirection
void SetDirection(const Vector3 &direction)
Set forward direction in parent space. Positive Z axis equals identity rotation.
Definition: Node.cpp:458
Urho3D::StaticModelGroup::GetNumOccluderTriangles
unsigned GetNumOccluderTriangles() override
Return number of occlusion geometry triangles.
Definition: StaticModelGroup.cpp:202
Urho3D::DumpMode
DumpMode
Output mode for DumpAPI method.
Definition: Script.h:48
Urho3D::HashSet::Node::Node
Node()=default
Construct undefined.
Urho3D::Window::modalAutoDismiss_
bool modalAutoDismiss_
Modal auto dismiss (with escape key) flag. Default true.
Definition: Window.h:161
Urho3D::Connection::SendPackageToClient
void SendPackageToClient(PackageFile *package)
Trigger client connection to download a package file from the server. Can be used to download additio...
Definition: Connection.cpp:1151
Urho3D::Node::Scale
void Scale(float scale)
Modify scale in parent space uniformly.
Definition: Node.cpp:702
Urho3D::BoundingBox::Center
Vector3 Center() const
Return center.
Definition: BoundingBox.h:262
Urho3D::Vector3::LEFT
static const Vector3 LEFT
(-1,0,0) vector.
Definition: Vector3.h:483
Urho3D::SplinePath::controlledNode_
WeakPtr< Node > controlledNode_
Node to be moved along the SplinePath.
Definition: SplinePath.h:138
Urho3D::FrustumOctreeQuery::TestOctant
Intersection TestOctant(const BoundingBox &box, bool inside) override
Intersection test for an octant.
Definition: OctreeQuery.cpp:98
Urho3D::Terrain::IsOccludee
bool IsOccludee() const
Return occludee flag.
Definition: Terrain.h:193
Urho3D::Input::ResetState
void ResetState()
Clear input state.
Definition: Input.cpp:1635
Urho3D::ScriptFile::ScriptFile
ScriptFile(Context *context)
Construct.
Definition: ScriptFile.cpp:98
Urho3D::ParticleEmitter::needUpdate_
bool needUpdate_
Need update flag.
Definition: ParticleEmitter.h:148
Urho3D::StaticSprite2D::GetTextureRect
const Rect & GetTextureRect() const
Return texture rect.
Definition: StaticSprite2D.h:83
Urho3D::Text::charLocationsDirty_
bool charLocationsDirty_
Char positions dirty flag.
Definition: Text.h:233
Urho3D::RaycastVehicle::skidInfoCumulative_
Vector< float > skidInfoCumulative_
Per-wheel extra settings.
Definition: RaycastVehicle.h:200
Urho3D::EventReceiverGroup::EndSendEvent
void EndSendEvent()
End event send. Clean up if necessary.
Definition: Context.cpp:62
Urho3D::HashMap::Node::Node
Node(const T &key, const U &value)
Construct with key and value.
Definition: HashMap.h:88
Urho3D::Variant::GetUInt
unsigned GetUInt() const
Return unsigned int or zero on type mismatch. Floats and doubles are converted.
Definition: Variant.h:1130
Urho3D::UI::~UI
~UI() override
Destruct.
Urho3D::JSONValue::End
JSONObjectIterator End()
Return iterator to the end.
Definition: JSONValue.cpp:320
Urho3D::ParticleEffect::colorFrames_
Vector< ColorFrame > colorFrames_
Particle color animation frames.
Definition: ParticleEffect.h:419
Urho3D::LuaScript::PushLuaFunction
static bool PushLuaFunction(lua_State *L, const String &functionName)
Push Lua function to stack. Return true if is successful. Return false on any error and an error stri...
Definition: LuaScript.cpp:490
Urho3D::RenderSurface::GetLinkedDepthStencil
RenderSurface * GetLinkedDepthStencil() const
Return linked depth-stencil surface.
Definition: RenderSurface.h:93
Urho3D::JoystickState::buttons_
PODVector< bool > buttons_
Button up/down state.
Definition: Input.h:119
Urho3D::Terrain::drawDistance_
float drawDistance_
Draw distance.
Definition: Terrain.h:309
Urho3D::SoundSource::autoRemove_
AutoRemoveMode autoRemove_
Automatic removal mode.
Definition: SoundSource.h:148
Urho3D::Model::morphs_
Vector< ModelMorph > morphs_
Vertex morphs.
Definition: Model.h:220
Urho3D::XPathResultSet::resultSet_
pugi::xpath_node_set * resultSet_
Pugixml xpath_node_set.
Definition: XMLElement.h:350
Urho3D::View::lightVolumeCommand_
const RenderPathCommand * lightVolumeCommand_
Pointer to the light volume command if any.
Definition: View.h:433
Urho3D::AnimationStateTrack::keyFrame_
unsigned keyFrame_
Last key frame.
Definition: AnimationState.h:67
Urho3D::PhysicsWorld::simulating_
bool simulating_
Simulating flag.
Definition: PhysicsWorld.h:356
Urho3D::SpriteSheet2D::GetTexture
Texture2D * GetTexture() const
Return texture.
Definition: SpriteSheet2D.h:61
Urho3D::Graphics::maxScratchBufferRequest_
unsigned maxScratchBufferRequest_
Largest scratch buffer request this frame.
Definition: Graphics.h:765
Urho3D::UIBatch::GetInterpolatedColor
unsigned GetInterpolatedColor(float x, float y)
Return an interpolated color for the UI element.
Definition: UIBatch.cpp:418
Urho3D::Input::IsScreenKeyboardVisible
bool IsScreenKeyboardVisible() const
Return whether on-screen keyboard is being shown.
Definition: Input.cpp:1491
Urho3D::Terrain::GetHeightMapAttr
ResourceRef GetHeightMapAttr() const
Return heightmap attribute.
Definition: Terrain.cpp:843
Urho3D::UI::SetUseMutableGlyphs
void SetUseMutableGlyphs(bool enable)
Set whether to use mutable (eraseable) glyphs to ensure a font face never expands to more than one te...
Definition: UI.cpp:691
Urho3D::Serializer::WriteFileID
bool WriteFileID(const String &value)
Write a four-letter file ID. If the string is not long enough, spaces will be appended.
Definition: Serializer.cpp:190
Urho3D::Plane::Plane
Plane(const Vector3 &v0, const Vector3 &v1, const Vector3 &v2) noexcept
Construct from 3 vertices.
Definition: Plane.h:44
Urho3D::FileSystem::GetLastModifiedTime
unsigned GetLastModifiedTime(const String &fileName) const
Returns the file's last modified time as seconds since 1.1.1970, or 0 if can not be accessed.
Definition: FileSystem.cpp:573
Urho3D::IntRect::bottom_
int bottom_
Bottom coordinate.
Definition: Rect.h:467
Urho3D::EventHandler::sender_
Object * sender_
Event sender.
Definition: Object.h:289
Urho3D::ListView::SetBaseIndent
void SetBaseIndent(int baseIndent)
Set base indent, i.e. the indent level of the ultimate parent item.
Definition: ListView.cpp:748
Urho3D::DebugHud::HandlePostUpdate
void HandlePostUpdate(StringHash eventType, VariantMap &eventData)
Handle logic post-update event. The HUD texts are updated here.
Definition: DebugHud.cpp:303
Urho3D::ParticleEffect2D::finishParticleSizeVariance_
float finishParticleSizeVariance_
Finish particle size variance.
Definition: ParticleEffect2D.h:302
Urho3D::BillboardSet::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: BillboardSet.cpp:135
Urho3D::Node::Scale2D
void Scale2D(const Vector2 &scale)
Modify scale in parent space (for Urho2D).
Definition: Node.h:274
Urho3D::DynamicNavigationMesh::GetDrawObstacles
bool GetDrawObstacles() const
Return whether to draw Obstacles.
Definition: DynamicNavigationMesh.h:99
Urho3D::ParticleEffect::GetMaxRotation
float GetMaxRotation() const
Return particle maximum rotation.
Definition: ParticleEffect.h:302
Urho3D::NetworkPriority::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: NetworkPriority.cpp:51
Urho3D::StaticSprite2D::textureRect_
Rect textureRect_
Texture rectangle.
Definition: StaticSprite2D.h:166
Urho3D::View::ProcessLight
void ProcessLight(LightQueryResult &query, unsigned threadIndex)
Query for lit geometries and shadow casters for a light.
Definition: View.cpp:2276
Urho3D::RaycastVehicle::GetWheelSideSlipSpeed
float GetWheelSideSlipSpeed(int wheel) const
Get wheel slide speed.
Definition: RaycastVehicle.cpp:543
Urho3D::PODVector::Resize
void Resize(unsigned newSize)
Resize the vector.
Definition: Vector.h:1031
Urho3D::Color::Invert
void Invert(bool invertAlpha=false)
Inverts the RGB channels and optionally the alpha channel as well.
Definition: Color.cpp:230
Urho3D::ValueAnimationInfo::GetWrapMode
WrapMode GetWrapMode() const
Return wrap mode.
Definition: ValueAnimationInfo.h:69
Urho3D::EventProfiler::BeginBlock
void BeginBlock(StringHash eventID)
Begin timing a profiling block based on an event ID.
Definition: EventProfiler.h:76
Urho3D::Light::GetFrustum
Frustum GetFrustum() const
Return spotlight frustum.
Definition: Light.cpp:455
Urho3D::AnimationTrack::nameHash_
StringHash nameHash_
Name hash.
Definition: Animation.h:94
Urho3D::Input::GetMouseButtonDown
bool GetMouseButtonDown(MouseButtonFlags button) const
Check if a mouse button is held down.
Definition: Input.cpp:1354
Urho3D::Material::renderOrder_
unsigned char renderOrder_
Render order value.
Definition: Material.h:305
Urho3D::Text3D::SetFaceCameraMode
void SetFaceCameraMode(FaceCameraMode mode)
Set how the text should rotate in relation to the camera. Default is to not rotate (FC_NONE).
Definition: Text3D.cpp:371
Urho3D::Skybox::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: Skybox.cpp:53
Urho3D::Pair::operator==
bool operator==(const Pair< T, U > &rhs) const
Test for equality with another pair.
Definition: Pair.h:45
Urho3D::ParticleEmitter::SetNumParticles
void SetNumParticles(unsigned num)
Set maximum number of particles.
Definition: ParticleEmitter.cpp:283
Urho3D::AnimationController::IsFadingOut
bool IsFadingOut(const String &name) const
Return whether an animation is fading out.
Definition: AnimationController.cpp:460
Urho3D::UIElement::SetHeight
void SetHeight(int height)
Set height only.
Definition: UIElement.cpp:598
Urho3D::RenderTargetInfo::sizeMode_
RenderTargetSizeMode sizeMode_
Size mode.
Definition: RenderPath.h:82
Urho3D::XMLElement::GetVector2
Vector2 GetVector2(const String &name) const
Return a Vector2 attribute, or zero vector if missing.
Definition: XMLElement.cpp:950
Urho3D::ObjectFactory::GetType
StringHash GetType() const
Return type hash of objects created by this factory.
Definition: Object.h:219
Urho3D::View3D::QueueUpdate
void QueueUpdate()
Queue manual update on the render texture.
Definition: View3D.cpp:124
Urho3D::Component::OnSetEnabled
virtual void OnSetEnabled()
Handle enabled/disabled state change.
Definition: Component.h:61
Urho3D::RigidBody::HandleTargetPosition
void HandleTargetPosition(StringHash eventType, VariantMap &eventData)
Handle SmoothedTransform target position update.
Definition: RigidBody.cpp:1038
Urho3D::UIElement::GetWidth
int GetWidth() const
Return width.
Definition: UIElement.h:415
Urho3D::RibbonTrail::geometry_
SharedPtr< Geometry > geometry_
Geometry.
Definition: RibbonTrail.h:203
Urho3D::Text3D::geometryDirty_
bool geometryDirty_
Geometry dirty flag.
Definition: Text3D.h:212
Urho3D::ValueAnimationInfo::SetTime
bool SetTime(float time)
Set time position and apply. Return true when the animation is finished. No-op when the target object...
Definition: ValueAnimationInfo.cpp:75
Urho3D::AnimationTriggerPoint::data_
Variant data_
Trigger data.
Definition: Animation.h:113
Urho3D::Text::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Text.cpp:78
Urho3D::Geometry::SetDrawRange
bool SetDrawRange(PrimitiveType type, unsigned indexStart, unsigned indexCount, bool getUsedVertexRange=true)
Set the draw range.
Definition: Geometry.cpp:84
Urho3D::PhysicsWorld2D::debugDepthTest_
bool debugDepthTest_
Debug draw depth test mode.
Definition: PhysicsWorld2D.h:233
Urho3D::RibbonTrail::SetBaseVelocity
void SetBaseVelocity(const Vector3 &baseVelocity)
Set base velocity applied to the trail.
Definition: RibbonTrail.cpp:859
Urho3D::Camera::customProjection_
bool customProjection_
Use custom projection matrix flag. Used internally.
Definition: Camera.h:284
Urho3D::Node::GetNumPersistentChildren
unsigned GetNumPersistentChildren() const
Calculate number of non-temporary child nodes.
Definition: Node.cpp:1868
Urho3D::FileWatcher::changes_
HashMap< String, Timer > changes_
Pending changes. These will be returned and removed from the list when their timer has exceeded the d...
Definition: FileWatcher.h:73
Urho3D::Scene::IsThreadedUpdate
bool IsThreadedUpdate() const
Return threaded update flag.
Definition: Scene.h:226
Urho3D::CollisionEdge2D::GetVertex1
const Vector2 & GetVertex1() const
Return vertex 1.
Definition: CollisionEdge2D.h:51
Urho3D::DebugLine::DebugLine
DebugLine(const Vector3 &start, const Vector3 &end, unsigned color)
Construct with start and end positions and color.
Definition: DebugRenderer.h:50
Urho3D::RigidBody::SetContactProcessingThreshold
void SetContactProcessingThreshold(float threshold)
Set contact processing threshold.
Definition: RigidBody.cpp:410
Urho3D::CrowdManager::GetAgents
PODVector< CrowdAgent * > GetAgents(Node *node=nullptr, bool inCrowdFilter=true) const
Get all the crowd agent components in the specified node hierarchy. If the node is not specified then...
Definition: CrowdManager.cpp:548
Urho3D::ConstraintPulley2D::GetOtherBodyAnchor
const Vector2 & GetOtherBodyAnchor() const
Return other body anchor.
Definition: ConstraintPulley2D.h:64
Urho3D::Node::Clone
Node * Clone(CreateMode mode=REPLICATED)
Clone scene node, components and child nodes. Return the clone.
Definition: Node.cpp:1101
Urho3D::HttpRequest::url_
String url_
URL.
Definition: HttpRequest.h:85
Urho3D::XMLFile::~XMLFile
~XMLFile() override
Destruct.
Urho3D::AttributeMode
AttributeMode
Definition: Attribute.h:34
Urho3D::SpriteSheet2D::texture_
SharedPtr< Texture2D > texture_
Texture.
Definition: SpriteSheet2D.h:84
Urho3D::RigidBody::GetBody
btRigidBody * GetBody() const
Return Bullet rigid body.
Definition: RigidBody.h:156
Urho3D::LuaFunction::PushBool
void PushBool(bool value)
Push bool to stack.
Definition: LuaFunction.cpp:109
Urho3D::Scene::SetUpdateEnabled
void SetUpdateEnabled(bool enable)
Enable or disable scene update.
Definition: Scene.cpp:644
Urho3D::XMLElement::SetVariant
bool SetVariant(const Variant &value)
Set a variant attribute.
Definition: XMLElement.cpp:412
Urho3D::DecalSet::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: DecalSet.cpp:215
Urho3D::NavigationGeometryInfo
Description of a navigation mesh geometry component, with transform and bounds information.
Definition: NavigationMesh.h:59
Urho3D::DecalSet::boundingBoxDirty_
bool boundingBoxDirty_
Bounding box needs update flag.
Definition: DecalSet.h:245
Urho3D::ShaderParameterAnimationInfo::name_
String name_
Shader parameter name.
Definition: Material.h:96
Urho3D::ColorFrame::ColorFrame
ColorFrame(const Color &color)
Construct with a color and zero time.
Definition: ParticleEffect.h:53
Urho3D::Camera::GetViewOverrideFlags
ViewOverrideFlags GetViewOverrideFlags() const
Return view override flags.
Definition: Camera.h:134
Urho3D::Graphics::SetDepthWrite
void SetDepthWrite(bool enable)
Set depth write on/off.
Definition: OGLGraphics.cpp:1834
Urho3D::UIElement::appliedStyleFile_
WeakPtr< XMLFile > appliedStyleFile_
Last applied style file.
Definition: UIElement.h:813
Urho3D::Octant::level_
unsigned level_
Subdivision level.
Definition: Octree.h:148
Urho3D::Audio::stereo_
bool stereo_
Stereo flag.
Definition: Audio.h:141
Urho3D::Component::PrepareNetworkUpdate
void PrepareNetworkUpdate()
Prepare network update by comparing attributes and marking replication states dirty as necessary.
Definition: Component.cpp:168
Urho3D::PhysicsWorld::triMeshCache_
CollisionGeometryDataCache triMeshCache_
Cache for trimesh geometry data by model and LOD level.
Definition: PhysicsWorld.h:328
Urho3D::RWOpsWrapper::RWOpsWrapper
RWOpsWrapper(T &object)
Construct with object reference.
Definition: RWOpsWrapper.h:37
Urho3D::PackageFile::entries_
HashMap< String, PackageEntry > entries_
File entries.
Definition: PackageFile.h:90
Urho3D::CollisionShape::SetStaticPlane
void SetStaticPlane(const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a static plane.
Definition: CollisionShape.cpp:604
Urho3D::ShaderParameterAnimationInfo::GetName
const String & GetName() const
Return shader parameter name.
Definition: Material.h:88
Urho3D::UI::clickTimer_
Timer clickTimer_
Timer used to trigger double click.
Definition: UI.h:417
Urho3D::Input::scancodePress_
HashSet< int > scancodePress_
Key pressed state by scancode.
Definition: Input.h:372
Urho3D::FontFaceFreeType::hasMutableGlyph_
bool hasMutableGlyph_
Has mutable glyph.
Definition: FontFaceFreeType.h:71
Urho3D::ScriptInstance::StoreScriptAttributes
void StoreScriptAttributes()
Store values of script attributes for hot reload.
Definition: ScriptInstance.cpp:728
Urho3D::Octant::Octant
Octant(const BoundingBox &box, unsigned level, Octant *parent, Octree *root, unsigned index=ROOT_INDEX)
Construct.
Definition: Octree.cpp:71
Urho3D::EventHandler::userData_
void * userData_
Userdata.
Definition: Object.h:293
Urho3D::RandomAccessIterator::RandomAccessIterator
constexpr RandomAccessIterator(T *ptr)
Construct with an object pointer.
Definition: Iter.h:40
Urho3D::ParticleEmitter2D::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post update.
Definition: ParticleEmitter2D.cpp:277
Urho3D::Slider::SetRange
void SetRange(float range)
Set slider range maximum value (minimum value is always 0).
Definition: Slider.cpp:172
Urho3D::RaycastVehicle::SetWheelDampingCompression
void SetWheelDampingCompression(int wheel, float compression)
Set wheel damping compression.
Definition: RaycastVehicle.cpp:494
Urho3D::Matrix3x4::Decompose
void Decompose(Vector3 &translation, Quaternion &rotation, Vector3 &scale) const
Return decomposition to translation, rotation and scale.
Definition: Matrix3x4.cpp:41
Urho3D::SoundSource::MixStereoToStereo
void MixStereoToStereo(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix stereo sample to stereo buffer.
Definition: SoundSource.cpp:995
Urho3D::Pass::~Pass
~Pass() override
Destruct.
Urho3D::LuaScriptInstance::SetScriptFile
void SetScriptFile(LuaFile *scriptFile)
Set script file.
Definition: LuaScriptInstance.cpp:394
Urho3D::Renderer::occluderSizeThreshold_
float occluderSizeThreshold_
Occluder screen size threshold.
Definition: Renderer.h:566
Urho3D::Orientation2D
Orientation2D
Orientation.
Definition: TileMapDefs2D.h:36
Urho3D::DbConnection::connectionImpl_
sqlite3 * connectionImpl_
The underlying implementation connection object.
Definition: SQLiteConnection.h:62
Urho3D::IntRect::Merge
void Merge(const IntRect &rect)
Definition: Rect.cpp:55
Urho3D::ConstraintPrismatic2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintPrismatic2D.cpp:46
Urho3D::RigidBody::GetVelocityAtPoint
Vector3 GetVelocityAtPoint(const Vector3 &position) const
Return linear velocity at local point.
Definition: RigidBody.cpp:628
Urho3D::RenderTargetInfo
Rendertarget definition.
Definition: RenderPath.h:68
Urho3D::ResourceCache::RemoveResourceDir
void RemoveResourceDir(const String &pathName)
Remove a resource load directory.
Definition: ResourceCache.cpp:183
Urho3D::RaycastVehicle::GetWheelRestLength
float GetWheelRestLength(int wheel) const
Get wheel rest length.
Definition: RaycastVehicle.cpp:657
Urho3D::NavigationMesh::CollectGeometries
void CollectGeometries(Vector< NavigationGeometryInfo > &geometryList)
Collect geometry from under Navigable components.
Definition: NavigationMesh.cpp:953
Urho3D::ShaderVariation::elementSemanticNames
static const char * elementSemanticNames[]
D3D11 vertex semantic names. Used internally.
Definition: ShaderVariation.h:141
Urho3D::UnknownComponent::GetTypeNameStatic
static const Urho3D::String & GetTypeNameStatic()
Return static type name.
Definition: UnknownComponent.h:83
Urho3D::UIElement::SetEnableAnchor
void SetEnableAnchor(bool enable)
Enable automatic positioning & sizing of the element relative to its parent using min/max anchor and ...
Definition: UIElement.cpp:742
Urho3D::Geometry::rawElements_
PODVector< VertexElement > rawElements_
Raw vertex data elements.
Definition: Geometry.h:133
Urho3D::LinkedList::InsertFront
void InsertFront(T *element)
Insert an element at the beginning.
Definition: LinkedList.h:93
Urho3D::RibbonTrail::bufferSizeDirty_
bool bufferSizeDirty_
Buffers need resize flag.
Definition: RibbonTrail.h:211
Urho3D::JSONValueType
JSONValueType
JSON value type.
Definition: JSONValue.h:33
Urho3D::Slider::dragBeginPosition_
IntVector2 dragBeginPosition_
Original slider position at drag begin.
Definition: Slider.h:114
Urho3D::Texture3D::SetSize
bool SetSize(int width, int height, int depth, unsigned format, TextureUsage usage=TEXTURE_STATIC)
Set size, format and usage. Zero size will follow application window size. Return true if successful.
Definition: Texture3D.cpp:159
Urho3D::ConstraintMouse2D::jointDef_
b2MouseJointDef jointDef_
Box2D joint def.
Definition: ConstraintMouse2D.h:69
Urho3D::CollisionShape2D::GetFixture
b2Fixture * GetFixture() const
Return fixture.
Definition: CollisionShape2D.h:99
Urho3D::Technique::RemovePass
void RemovePass(const String &name)
Remove a pass.
Definition: Technique.cpp:426
Urho3D::AnimationState::GetBoneWeight
float GetBoneWeight(unsigned index) const
Return per-bone blending weight by track index.
Definition: AnimationState.cpp:389
Urho3D::MemoryBuffer::Write
unsigned Write(const void *data, unsigned size) override
Write bytes to the memory area.
Definition: MemoryBuffer.cpp:87
Urho3D::TmxFile2D::GetLayer
const TmxLayer2D * GetLayer(unsigned index) const
Return layer at index.
Definition: TmxFile2D.cpp:582
Urho3D::Light::GetPerVertex
bool GetPerVertex() const
Return vertex lighting mode.
Definition: Light.h:220
Urho3D::CustomVariantValueImpl::ToString
String ToString() const override
Convert custom value to string.
Definition: Variant.h:267
Urho3D::Text::GetRowWidth
float GetRowWidth(unsigned index) const
Return width of row by index.
Definition: Text.cpp:414
Urho3D::Animation::RemoveAllTriggers
void RemoveAllTriggers()
Remove all trigger points.
Definition: Animation.cpp:364
Urho3D::Network::HandleMessage
void HandleMessage(const SLNet::AddressOrGUID &source, int packetID, int msgID, const char *data, size_t numBytes)
Handle an inbound message.
Definition: Network.cpp:294
Urho3D::PListValue::operator=
PListValue & operator=(const PListValue &rhs)
Assign operator.
Definition: PListFile.cpp:94
Urho3D::Image::SaveTGA
bool SaveTGA(const String &fileName) const
Save in TGA format. Return true if successful.
Definition: Image.cpp:1283
Urho3D::Variant::Variant
Variant(const ResourceRefList &value)
Construct from a resource reference list.
Definition: Variant.h:445
Urho3D::JSONValue::JSONValue
JSONValue(const JSONArray &value)
Construct with a JSON array.
Definition: JSONValue.h:125
Urho3D::RaycastVehicle::GetContactNormal
Vector3 GetContactNormal(int wheel) const
Get contact normal.
Definition: RaycastVehicle.cpp:536
Urho3D::Scene::NodeAdded
void NodeAdded(Node *node)
Node added. Assign scene pointer and add to ID map.
Definition: Scene.cpp:906
Urho3D::ResourceCache::fileWatchers_
Vector< SharedPtr< FileWatcher > > fileWatchers_
File watchers for resource directories, if automatic reloading enabled.
Definition: ResourceCache.h:238
Urho3D::Material::depthBias_
BiasParameters depthBias_
Depth bias parameters.
Definition: Material.h:303
Urho3D::Console::SetFocusOnShow
void SetFocusOnShow(bool enable)
Set whether to automatically focus the line edit when showing. Default true on desktops and false on ...
Definition: Console.cpp:248
Urho3D::ValueAnimation::GetInterpolationMethod
InterpMethod GetInterpolationMethod() const
Return interpolation method.
Definition: ValueAnimation.h:114
Urho3D::NamedPipe::Read
unsigned Read(void *dest, unsigned size) override
Read bytes from the pipe without blocking if there is less data available. Return number of bytes act...
Definition: NamedPipe.cpp:274
Urho3D::PODVector::Back
const T & Back() const
Return const last element.
Definition: Vector.h:1145
Urho3D::UIElement::SetAlignment
void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
Set horizontal and vertical alignment.
Definition: UIElement.cpp:670
Urho3D::LuaScriptInstance::GetScriptFile
LuaFile * GetScriptFile() const
Return script file.
Definition: LuaScriptInstance.cpp:462
Urho3D::UIElement::AddChild
void AddChild(UIElement *element)
Add a child element.
Definition: UIElement.cpp:1288
Urho3D::ScratchBuffer::reserved_
bool reserved_
Reserved flag.
Definition: Graphics.h:77
Urho3D::ScrollBar::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ScrollBar.cpp:79
Urho3D::Light::shadowMaxExtrusion_
float shadowMaxExtrusion_
Directional shadow max. extrusion distance.
Definition: Light.h:391
Urho3D::Graphics::GetCullMode
CullMode GetCullMode() const
Return hardware culling mode.
Definition: Graphics.h:510
Urho3D::FontFaceBitmap::ConvertFormatToNumComponents
unsigned ConvertFormatToNumComponents(unsigned format)
Convert graphics format to number of components.
Definition: FontFaceBitmap.cpp:344
Urho3D::DecalSet::GetFaces
void GetFaces(Vector< PODVector< DecalVertex > > &faces, Drawable *target, unsigned batchIndex, const Frustum &frustum, const Vector3 &decalNormal, float normalCutoff)
Get triangle faces from the target geometry.
Definition: DecalSet.cpp:697
Urho3D::CompressedFormat
CompressedFormat
Supported compressed image formats.
Definition: Image.h:38
Urho3D::View3D::scene_
SharedPtr< Scene > scene_
Scene.
Definition: View3D.h:91
Urho3D::Text::SetEffectRoundStroke
void SetEffectRoundStroke(bool roundStroke)
Set stroke rounding. Corners of the font will be rounded off in the stroke so the stroke won't have c...
Definition: Text.cpp:399
Urho3D::TmxImageLayer2D::GetPosition
const Vector2 & GetPosition() const
Return position.
Definition: TmxFile2D.h:139
Urho3D::RibbonTrail::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: RibbonTrail.cpp:374
Urho3D::NetworkPriority::distanceFactor_
float distanceFactor_
Priority reduction distance factor.
Definition: NetworkPriority.h:71
Urho3D::Resource::GetUseTimer
unsigned GetUseTimer()
Return time since last use in milliseconds. If referred to elsewhere than in the resource cache,...
Definition: Resource.cpp:120
Urho3D::Random
float Random()
Return a random float between 0.0 (inclusive) and 1.0 (exclusive).
Definition: MathDefs.h:284
Urho3D::DebugRenderer::AddBoundingBox
void AddBoundingBox(const BoundingBox &box, const Color &color, bool depthTest=true, bool solid=false)
Add a bounding box.
Definition: DebugRenderer.cpp:144
Urho3D::AnimationSet2D::BeginLoadSpriter
bool BeginLoadSpriter(Deserializer &source)
Begin load scml.
Definition: AnimationSet2D.cpp:283
Urho3D::ValueAnimation::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: ValueAnimation.cpp:78
Urho3D::CascadeParameters::GetShadowRange
float GetShadowRange() const
Return shadow maximum range.
Definition: Light.h:101
Urho3D::RenderTargetInfo::persistent_
bool persistent_
Should be persistent and not shared/reused between other buffers of same size.
Definition: RenderPath.h:96
Urho3D::Serializable::setInstanceDefault_
bool setInstanceDefault_
When true, store the attribute value as instance's default value (internal use only).
Definition: Serializable.h:146
Urho3D::Sound::stereo_
bool stereo_
Stereo flag.
Definition: Sound.h:130
Urho3D::AnimatedSprite2D::GetSpeed
float GetSpeed() const
Return speed.
Definition: AnimatedSprite2D.h:92
Urho3D::Audio::IsSoundTypePaused
bool IsSoundTypePaused(const String &type) const
Return whether specific sound type has been paused.
Definition: Audio.cpp:216
Urho3D::ScrollView::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: ScrollView.cpp:379
Urho3D::Terrain::GetOcclusionLodLevel
unsigned GetOcclusionLodLevel() const
Return LOD level used for occlusion.
Definition: Terrain.h:120
Urho3D::Vector3::Vector3
Vector3(const IntVector3 &vector) noexcept
Construct from an IntVector3.
Definition: Vector3.h:215
Urho3D::TileMapLayer2D::GetLayerType
TileMapLayerType2D GetLayerType() const
Return layer type.
Definition: TileMapLayer2D.cpp:269
Urho3D::DecalSet::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: DecalSet.cpp:665
Urho3D::HashMap::Rehash
bool Rehash(unsigned numBuckets)
Rehash to a specific bucket count, which must be a power of two. Return true if successful.
Definition: HashMap.h:510
Urho3D::HashMap::ConstIterator::operator--
ConstIterator & operator--()
Predecrement the pointer.
Definition: HashMap.h:196
Urho3D::JoystickState::axes_
PODVector< float > axes_
Axis position from -1 to 1.
Definition: Input.h:123
Urho3D::ConstraintMouse2D::GetTarget
const Vector2 & GetTarget() const
Return target.
Definition: ConstraintMouse2D.h:53
Urho3D::AM_DEFAULT
@ AM_DEFAULT
Attribute used for both file serialization and network replication (default).
Definition: Attribute.h:43
Urho3D::Camera::GetReflectionPlaneAttr
Vector4 GetReflectionPlaneAttr() const
Return reflection plane attribute.
Definition: Camera.cpp:626
Urho3D::Network::GetClientConnections
Vector< SharedPtr< Connection > > GetClientConnections() const
Return all client connections.
Definition: Network.cpp:673
Urho3D::Input::SetMouseWheel
void SetMouseWheel(int delta)
Handle mouse wheel change.
Definition: Input.cpp:1815
Urho3D::NextPowerOfTwo
unsigned NextPowerOfTwo(unsigned value)
Round up to next power of two.
Definition: MathDefs.h:240
Urho3D::ParticleEffect2D::finishParticleSize_
float finishParticleSize_
Finish particle size.
Definition: ParticleEffect2D.h:300
Urho3D::HttpRequest::state_
HttpRequestState state_
Connection state.
Definition: HttpRequest.h:95
Urho3D::UIElement::internal_
bool internal_
Internally created flag.
Definition: UIElement.h:714
Urho3D::CollisionShape::SetModel
void SetModel(Model *model)
Set triangle mesh / convex hull model.
Definition: CollisionShape.cpp:793
Urho3D::Component::GetComponent
T * GetComponent() const
Template version of returning a component in the same scene node by type.
Definition: Component.h:147
Urho3D::IKEffector::GetWEIGHT_NLERP
bool GetWEIGHT_NLERP() const
Need these wrapper functions flags of GetFeature/SetFeature can be correctly exposed to the editor an...
Urho3D::Drawable::GetLights
const PODVector< Light * > & GetLights() const
Return per-pixel lights.
Definition: Drawable.h:275
Urho3D::ParticleEffect2D::SetParticleLifespanVariance
void SetParticleLifespanVariance(float particleLifespanVariance)
Set particle lifespan variance.
Definition: ParticleEffect2D.cpp:324
Urho3D::ViewBatchInfo2D::ViewBatchInfo2D
ViewBatchInfo2D()
Construct.
Definition: Renderer2D.cpp:53
Urho3D::CollisionPolygon2D::GetVertex
const Vector2 & GetVertex(unsigned index) const
Return vertex.
Definition: CollisionPolygon2D.h:54
Urho3D::ParticleEffect2D::GetEmitterType
EmitterType2D GetEmitterType() const
Return emitter type.
Definition: ParticleEffect2D.h:206
Urho3D::Button::pressed_
bool pressed_
Current pressed state.
Definition: Button.h:106
Urho3D::DepthValue::min_
int min_
Minimum value.
Definition: OcclusionBuffer.h:48
Urho3D::Graphics::HasShaderParameter
bool HasShaderParameter(StringHash param)
Check whether a shader parameter exists on the currently set shaders.
Definition: OGLGraphics.cpp:1462
Urho3D::Component::Remove
void Remove()
Remove from the scene node. If no other shared pointer references exist, causes immediate deletion.
Definition: Component.cpp:144
Urho3D::RibbonTrail::Update
void Update(const FrameInfo &frame) override
Update before octree reinsertion. Is called from a main thread.
Definition: RibbonTrail.cpp:201
Urho3D::Drawable::zone_
Zone * zone_
Current zone.
Definition: Drawable.h:351
Urho3D::PListFile::~PListFile
~PListFile() override
Destruct.
Urho3D::WeakPtr::operator<
bool operator<(const WeakPtr< U > &rhs) const
Test for less than with another weak pointer.
Definition: Ptr.h:436
Urho3D::String::String
String(const char *str, unsigned length)
Construct from a char array and length.
Definition: Str.h:97
Urho3D::Engine::audioPaused_
bool audioPaused_
Audio paused flag.
Definition: Engine.h:158
Urho3D::Sphere::IsInsideFast
Intersection IsInsideFast(const Sphere &sphere) const
Test if another sphere is (partially) inside or outside.
Definition: Sphere.h:178
Urho3D::CustomGeometry::Clear
void Clear()
End Shape Generation Helper Functions.
Definition: CustomGeometry.cpp:492
Urho3D::Constraint::SetRotation
void SetRotation(const Quaternion &rotation)
Set constraint rotation relative to own body.
Definition: Constraint.cpp:187
Urho3D::UnknownComponent::UnknownComponent
UnknownComponent(Context *context)
Construct.
Definition: UnknownComponent.cpp:84
Urho3D::UIElement::GetPriority
int GetPriority() const
Return priority.
Definition: UIElement.h:481
Urho3D::Texture::GetAutoResolve
bool GetAutoResolve() const
Return texture multisampling autoresolve mode. When true, the texture is resolved before being sample...
Definition: Texture.h:112
Urho3D::LuaScript::~LuaScript
~LuaScript() override
Destruct.
Definition: LuaScript.cpp:145
Urho3D::NamedPipe::pipeName_
String pipeName_
Pipe name.
Definition: NamedPipe.h:72
Urho3D::DeferredLightPSVariation
DeferredLightPSVariation
Deferred light volume pixels shader variations.
Definition: Renderer.h:121
Urho3D::LineEdit::cursorMovable_
bool cursorMovable_
Cursor movable flag.
Definition: LineEdit.h:152
Urho3D::UISelectable
Definition: UISelectable.h:31
Urho3D::Network::SetPassword
void SetPassword(const String &password)
Set password for the client/server communcation.
Definition: Network.cpp:363
Urho3D::OffMeshConnection::bidirectional_
bool bidirectional_
Bidirectional flag.
Definition: OffMeshConnection.h:84
Urho3D::HashMap::Clear
void Clear()
Clear the map.
Definition: HashMap.h:460
Urho3D::ViewBatchInfo2D::distances_
PODVector< float > distances_
Distances.
Definition: Renderer2D.h:60
Urho3D::Serializable::LoadJSON
virtual bool LoadJSON(const JSONValue &source)
Load from JSON data. Return true if successful.
Definition: Serializable.cpp:419
Urho3D::NavigationMesh::MoveAlongSurface
Vector3 MoveAlongSurface(const Vector3 &start, const Vector3 &end, const Vector3 &extents=Vector3::ONE, int maxVisited=3, const dtQueryFilter *filter=nullptr)
Try to move along the surface from one point to another.
Definition: NavigationMesh.cpp:626
Urho3D::Graphics::impl_
GraphicsImpl * impl_
Implementation.
Definition: Graphics.h:710
Urho3D::XMLElement::xpathNode_
const pugi::xpath_node * xpathNode_
Pugixml xpath_node.
Definition: XMLElement.h:313
Urho3D::Texture::requestedLevels_
unsigned requestedLevels_
Requested mip levels.
Definition: Texture.h:215
Urho3D::PhysicsWorld::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: PhysicsWorld.cpp:779
Urho3D::HashSet::FindNode
Node * FindNode(const T &key, unsigned hashKey, Node *&previous) const
Find a node and the previous node from the buckets. Do not call if the buckets have not been allocate...
Definition: HashSet.h:540
Urho3D::AnimatedSprite2D::~AnimatedSprite2D
~AnimatedSprite2D() override
Destruct.
Definition: AnimatedSprite2D.cpp:67
Urho3D::Node::SetWorldTransform
void SetWorldTransform(const Vector3 &position, const Quaternion &rotation)
Set both position and rotation in world space as an atomic operation.
Definition: Node.cpp:539
Urho3D::Node::GetPosition
const Vector3 & GetPosition() const
Return position in parent space.
Definition: Node.h:377
Urho3D::Spriter::SpriterInstance::~SpriterInstance
~SpriterInstance()
Destructor.
Definition: SpriterInstance2D.cpp:45
Urho3D::UIElement::ResetDeepEnabled
void ResetDeepEnabled()
Reset enabled state to the element's remembered state prior to calling SetDeepEnabled.
Definition: UIElement.cpp:901
Urho3D::PackageUpload::fragment_
unsigned fragment_
Current fragment index.
Definition: Connection.h:96
Urho3D::ParticleEmitter2D::emitting_
bool emitting_
Currently emitting flag.
Definition: ParticleEmitter2D.h:157
Urho3D::CollisionEdge2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionEdge2D.cpp:51
Urho3D::RaycastVehicle::SetWheelRollInfluence
void SetWheelRollInfluence(int wheel, float rollInfluence)
Set wheel roll influence.
Definition: RaycastVehicle.cpp:522
Urho3D::Octant::GetDrawablesInternal
void GetDrawablesInternal(OctreeQuery &query, bool inside) const
Return drawable objects by a query, called internally.
Definition: Octree.cpp:229
Urho3D::Camera::farClip_
float farClip_
Far clip distance.
Definition: Camera.h:250
Urho3D::WindowDragMode
WindowDragMode
Window movement and resizing modes.
Definition: Window.h:33
Urho3D::RaycastVehicle::SetCoordinateSystem
void SetCoordinateSystem(const IntVector3 &coordinateSystem=RIGHT_FORWARD_UP)
Set the coordinate system. The default is (0, 1, 2).
Definition: RaycastVehicle.cpp:702
Urho3D::RigidBody2D::ApplyWorldTransform
void ApplyWorldTransform()
Apply world transform from the Box2D body. Called by PhysicsWorld2D.
Definition: RigidBody2D.cpp:421
Urho3D::Viewport::drawDebug_
bool drawDebug_
Debug draw flag.
Definition: Viewport.h:113
Urho3D::Graphics::GetRGBAFloat32Format
static unsigned GetRGBAFloat32Format()
Return the API-specific RGBA 32-bit float texture format.
Definition: OGLGraphics.cpp:2607
Urho3D::RenderSurface::GetRenderBuffer
unsigned GetRenderBuffer() const
Return OpenGL renderbuffer if created.
Definition: RenderSurface.h:117
Urho3D::RaycastVehicle::GetWheelSuspensionStiffness
float GetWheelSuspensionStiffness(int wheel) const
Get suspension stiffness for particular wheel.
Definition: RaycastVehicle.cpp:459
Urho3D::Object::Cast
T * Cast()
Cast the object to specified most derived class.
Definition: Object.h:109
Urho3D::UI::clipBoard_
String clipBoard_
Clipboard text.
Definition: UI.h:375
Urho3D::CrowdAgent::OnCrowdUpdate
virtual void OnCrowdUpdate(dtCrowdAgent *ag, float dt)
Handle crowd agent being updated. It is called by CrowdManager::Update() via callback.
Definition: CrowdAgent.cpp:517
Urho3D::InverseLerp
T InverseLerp(T lhs, T rhs, T x)
Inverse linear interpolation between two values.
Definition: MathDefs.h:79
Urho3D::StaticSprite2D::useTextureRect_
bool useTextureRect_
Use texture rectangle flag.
Definition: StaticSprite2D.h:160
Urho3D::UIElement::IsFixedHeight
bool IsFixedHeight() const
Return true if height is fixed.
Definition: UIElement.h:445
Urho3D::GraphicsImpl::context_
SDL_GLContext context_
SDL OpenGL context.
Definition: OGLGraphicsImpl.h:112
Urho3D::RigidBody2D::GetMassCenter
Vector2 GetMassCenter() const
Return mass center.
Definition: RigidBody2D.cpp:525
Urho3D::Obstacle::radius_
float radius_
Radius of this obstacle.
Definition: Obstacle.h:84
Urho3D::RibbonTrail::SetVertexDistance
void SetVertexDistance(float length)
Set distance between points.
Definition: RibbonTrail.cpp:818
Urho3D::NetworkState::replicationStates_
PODVector< ReplicationState * > replicationStates_
Replication states that are tracking this object.
Definition: ReplicationState.h:130
Urho3D::Resource::asyncLoadState_
AsyncLoadState asyncLoadState_
Asynchronous loading state.
Definition: Resource.h:110
Urho3D::Graphics::depthWrite_
bool depthWrite_
Depth write enable flag.
Definition: Graphics.h:817
Urho3D::Graphics::useClipPlane_
bool useClipPlane_
Custom clip plane enable flag.
Definition: Graphics.h:845
Urho3D::Camera::GetScreenRay
Ray GetScreenRay(float x, float y) const
Return ray corresponding to normalized screen coordinates (0 - 1), with origin on the near clip plane...
Definition: Camera.cpp:385
Urho3D::FileSystem::ScanDirInternal
void ScanDirInternal(Vector< String > &result, String path, const String &startPath, const String &filter, unsigned flags, bool recursive) const
Scan directory, called internally.
Definition: FileSystem.cpp:791
Urho3D::CursorShape
CursorShape
Cursor shapes recognized by the UI subsystem.
Definition: Cursor.h:37
Urho3D::PhysicsWorld::GetSplitImpulse
bool GetSplitImpulse() const
Return whether split impulse collision mode is enabled.
Definition: PhysicsWorld.cpp:713
Urho3D::UI::GetFrontElement
UIElement * GetFrontElement() const
Return topmost enabled root-level non-modal element.
Definition: UI.cpp:862
Urho3D::Deserializer::ReadInt
int ReadInt()
Read a 32-bit integer.
Definition: Deserializer.cpp:70
Urho3D::ParticleEmitter::GetParticleBillboardsAttr
VariantVector GetParticleBillboardsAttr() const
Return billboards attribute. Returns billboard amount only if particles are not to be serialized.
Definition: ParticleEmitter.cpp:412
Urho3D::Terrain::SetHeightMapAttr
void SetHeightMapAttr(const ResourceRef &value)
Set heightmap attribute.
Definition: Terrain.cpp:797
Urho3D::Graphics::GetRenderTargetDimensions
IntVector2 GetRenderTargetDimensions() const
Return current rendertarget width and height.
Definition: OGLGraphics.cpp:2186
Urho3D::PODVector::PODVector
PODVector() noexcept=default
Construct empty.
Urho3D::NavArea
Definition: NavArea.h:31
Urho3D::Renderer::rendererMutex_
Mutex rendererMutex_
Mutex for shadow camera allocation.
Definition: Renderer.h:532
Urho3D::ScrollView::horizontalScrollBar_
SharedPtr< ScrollBar > horizontalScrollBar_
Horizontal scroll bar.
Definition: ScrollView.h:153
Urho3D::Matrix3x4::IsInf
bool IsInf() const
Return whether any element is Inf.
Definition: Matrix3x4.h:681
Urho3D::Graphics::TakeScreenShot
bool TakeScreenShot(Image &destImage)
Take a screenshot. Return true if successful.
Definition: OGLGraphics.cpp:557
Urho3D::UIElement::FilterImplicitAttributes
virtual bool FilterImplicitAttributes(XMLElement &dest) const
Filter implicit attributes in serialization process.
Definition: UIElement.cpp:2021
Urho3D::Color::ToHSL
Vector3 ToHSL() const
Return HSL color-space representation as a Vector3; the RGB values are clipped before conversion but ...
Definition: Color.cpp:53
Urho3D::PODVector::Back
T & Back()
Return last element.
Definition: Vector.h:1138
Urho3D::TriangleMeshData::shape_
UniquePtr< btBvhTriangleMeshShape > shape_
Bullet triangle mesh collision shape.
Definition: CollisionShape.h:86
Urho3D::VertexBufferMorph::dataSize_
unsigned dataSize_
Morphed vertices data size as bytes.
Definition: Model.h:48
Urho3D::RefCounted::Refs
int Refs() const
Return reference count.
Definition: RefCounted.cpp:68
Urho3D::Cos
T Cos(T angle)
Return cosine of an angle in degrees.
Definition: MathDefs.h:142
Urho3D::Zone::SetFogColor
void SetFogColor(const Color &color)
Set fog color.
Definition: Zone.cpp:112
Urho3D::Text::SetTextEffect
void SetTextEffect(TextEffect textEffect)
Set text effect.
Definition: Text.cpp:384
Urho3D::PODVector::operator=
PODVector< T > & operator=(const PODVector< T > &rhs)
Assign from another vector.
Definition: Vector.h:737
Urho3D::Component::OnNodeSet
virtual void OnNodeSet(Node *node)
Handle scene node being assigned at creation.
Definition: Component.cpp:238
Urho3D::Vector4::Vector4
Vector4() noexcept
Construct a zero vector.
Definition: Vector4.h:35
Urho3D::Serializable::GetNetworkState
NetworkState * GetNetworkState() const
Return the network attribute state, if allocated.
Definition: Serializable.h:131
Urho3D::ObjectAnimation::SendAttributeAnimationRemovedEvent
void SendAttributeAnimationRemovedEvent(const String &name)
Send attribute animation remove event.
Definition: ObjectAnimation.cpp:270
Urho3D::DropDownList::GetSelectedItem
UIElement * GetSelectedItem() const
Return selected item, or null if none selected.
Definition: DropDownList.cpp:218
Urho3D::Audio::UpdateInternal
void UpdateInternal(float timeStep)
Actually update sound sources with the specific timestep. Called internally.
Definition: Audio.cpp:328
Urho3D::Image::FlipHorizontal
bool FlipHorizontal()
Flip image horizontally. Return true if successful.
Definition: Image.cpp:1031
Urho3D::Object::GetTypeInfo
virtual const TypeInfo * GetTypeInfo() const =0
Return type info.
Urho3D::ParticleEffect2D::sourcePositionVariance_
Vector2 sourcePositionVariance_
Source position variance.
Definition: ParticleEffect2D.h:262
Urho3D::View::SetCommandShaderParameters
void SetCommandShaderParameters(const RenderPathCommand &command)
Set command's shader parameters if any. Called internally by View.
Definition: View.cpp:763
Urho3D::PhysicsWorld::maxNetworkAngularVelocity_
float maxNetworkAngularVelocity_
Maximum angular velocity for network replication.
Definition: PhysicsWorld.h:346
Urho3D::RigidBody::RemoveConstraint
void RemoveConstraint(Constraint *constraint)
Remove a constraint that refers to this rigid body.
Definition: RigidBody.cpp:868
Urho3D::Variant::SetCustomVariantValue
void SetCustomVariantValue(const CustomVariantValue &value)
Set custom value.
Definition: Variant.cpp:404
Urho3D::TileMapLayer2D::IsVisible
bool IsVisible() const
Return visible.
Definition: TileMapLayer2D.h:76
Urho3D::String::ByteOffsetUTF8
unsigned ByteOffsetUTF8(unsigned index) const
Return byte offset to char in UTF8 content.
Definition: Str.cpp:798
Urho3D::Graphics::GetRGBAFloat16Format
static unsigned GetRGBAFloat16Format()
Return the API-specific RGBA 16-bit float texture format.
Definition: OGLGraphics.cpp:2598
Urho3D::WeakPtr::WeakPtr
WeakPtr() noexcept
Construct a null weak pointer.
Definition: Ptr.h:267
Urho3D::CursorShapeInfo::hotSpot_
IntVector2 hotSpot_
Hotspot coordinates.
Definition: Cursor.h:84
Urho3D::CollisionEdge2D::SetVertex1
void SetVertex1(const Vector2 &vertex)
Set vertex 1.
Definition: CollisionEdge2D.cpp:61
Urho3D::ScrollBar::SetRange
void SetRange(float range)
Set slider range maximum value (minimum value is always 0).
Definition: ScrollBar.cpp:166
Urho3D::Matrix2::IsNaN
bool IsNaN() const
Return whether any element is NaN.
Definition: Matrix2.h:206
Urho3D::Zone::GetHeightFog
bool GetHeightFog() const
Return whether height fog mode is enabled.
Definition: Zone.h:103
Urho3D::AnimatedSprite2D::animationSet_
SharedPtr< AnimationSet2D > animationSet_
Animation set.
Definition: AnimatedSprite2D.h:132
Urho3D::Constraint::SetOtherRotation
void SetOtherRotation(const Quaternion &rotation)
Set constraint rotation relative to the other body. If connected to the static world,...
Definition: Constraint.cpp:229
Urho3D::CollisionShape::model_
SharedPtr< Model > model_
Model.
Definition: CollisionShape.h:294
Urho3D::Texture2D::renderSurface_
SharedPtr< RenderSurface > renderSurface_
Render surface.
Definition: Texture2D.h:88
Urho3D::Drawable::viewFrameNumber_
unsigned viewFrameNumber_
Last visible frame number.
Definition: Drawable.h:361
Urho3D::Context::RequireSDL
bool RequireSDL(unsigned int sdlFlags)
Initialises the specified SDL systems, if not already. Returns true if successful....
Definition: Context.cpp:253
Urho3D::Profiler::EndBlock
void EndBlock()
End timing the current profiling block.
Definition: Profiler.h:194
Urho3D::SharedPtr::Null
bool Null() const
Check if the pointer is null.
Definition: Ptr.h:202
Urho3D::List::List
List()
Construct empty.
Definition: List.h:169
Urho3D::Input::graphics_
WeakPtr< Graphics > graphics_
Graphics subsystem.
Definition: Input.h:364
Urho3D::View::GetSourceView
View * GetSourceView() const
Return the source view that was already prepared. Used when viewports specify the same culling camera...
Definition: View.cpp:684
Urho3D::Light::GetShadowNearFarRatio
float GetShadowNearFarRatio() const
Return shadow camera near/far clip distance ratio.
Definition: Light.h:283
Urho3D::Slider::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: Slider.cpp:161
Urho3D::NavigationMesh::ReleaseNavigationMesh
virtual void ReleaseNavigationMesh()
Release the navigation mesh and the query.
Definition: NavigationMesh.cpp:1569
Urho3D::ScrollView::SetPageStep
void SetPageStep(float step)
Set arrow key page step.
Definition: ScrollView.cpp:353
Urho3D::Camera::GetUseClipping
bool GetUseClipping() const
Return whether is using a custom clipping plane.
Definition: Camera.h:182
Urho3D::Technique::IsSupported
bool IsSupported() const
Return whether technique is supported by the current hardware.
Definition: Technique.h:222
Urho3D::Graphics::SetVertexBuffers
bool SetVertexBuffers(const PODVector< VertexBuffer * > &buffers, unsigned instanceOffset=0)
Set multiple vertex buffers.
Definition: OGLGraphics.cpp:969
Urho3D::FontHintLevel
FontHintLevel
Font hinting level (only used for FreeType fonts).
Definition: UI.h:36
Urho3D::Animatable::animationEnabled_
bool animationEnabled_
Animation enabled.
Definition: Animatable.h:149
Urho3D::Texture2DArray::GetData
bool GetData(unsigned layer, unsigned level, void *dest) const
Get data from a mip level. The destination buffer must be big enough. Return true if successful.
Definition: OGLTexture2DArray.cpp:371
Urho3D::Texture2D::GetImage
SharedPtr< Image > GetImage() const
Get image data from zero mip level. Only RGB and RGBA textures are supported.
Definition: Texture2D.cpp:176
Urho3D::Audio::AddSoundSource
void AddSoundSource(SoundSource *soundSource)
Add a sound source to keep track of. Called by SoundSource.
Definition: Audio.cpp:226
Urho3D::LogicComponent::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: LogicComponent.cpp:90
Urho3D::RaycastVehicle::GetMaxSuspensionTravel
float GetMaxSuspensionTravel(int wheel)
Get maximum suspension travel value.
Definition: RaycastVehicle.cpp:613
Urho3D::Sqrt
T Sqrt(T x)
Return square root of X.
Definition: MathDefs.h:166
Urho3D::AnimationSet2D::GetSpriterData
Spriter::SpriterData * GetSpriterData() const
Return spriter data.
Definition: AnimationSet2D.h:79
Urho3D::Viewport::SetRect
void SetRect(const IntRect &rect)
Set view rectangle. A zero rectangle (0 0 0 0) means to use the rendertarget's full dimensions.
Definition: Viewport.cpp:84
Urho3D::CollisionShape2D::rigidBody_
WeakPtr< RigidBody2D > rigidBody_
Rigid body.
Definition: CollisionShape2D.h:110
Urho3D::RenderPath::GetShaderParameter
const Variant & GetShaderParameter(const String &name) const
Return a shader parameter (first appearance in any command).
Definition: RenderPath.cpp:510
Urho3D::VectorBase::VectorBase
VectorBase() noexcept
Construct.
Definition: VectorBase.h:45
Urho3D::Vector3::Normalize
void Normalize()
Normalize to unit length.
Definition: Vector3.h:332
Urho3D::Text::HandleChangeLanguage
void HandleChangeLanguage(StringHash eventType, VariantMap &eventData)
Handle change Language.
Definition: Text.cpp:362
Urho3D::ConstraintDistance2D::GetDampingRatio
float GetDampingRatio() const
Return damping ratio.
Definition: ConstraintDistance2D.h:64
Urho3D::XMLFile::PatchReplace
void PatchReplace(const pugi::xml_node &patch, pugi::xpath_node &original) const
Replace a node or attribute in the Patch.
Definition: XMLFile.cpp:246
Urho3D::CrowdManager::maxAgents_
unsigned maxAgents_
The maximum number of agents the crowd can manage.
Definition: CrowdManager.h:189
Urho3D::DecalSet::subscribed_
bool subscribed_
Subscribed to scene post update event flag.
Definition: DecalSet.h:251
Urho3D::RaycastVehicle::GetWheelRollInfluence
float GetWheelRollInfluence(int wheel) const
Get wheel roll influence.
Definition: RaycastVehicle.cpp:548
Urho3D::TriangleMeshData
Triangle mesh geometry data.
Definition: CollisionShape.h:76
Urho3D::Renderer::queuedViewports_
Vector< Pair< WeakPtr< RenderSurface >, WeakPtr< Viewport > > > queuedViewports_
Render surface viewports queued for update.
Definition: Renderer.h:522
Urho3D::UIElement::layoutElementMaxSize_
int layoutElementMaxSize_
Layout element maximum size in layout direction.
Definition: UIElement.h:732
Urho3D::ScrollBar::slider_
SharedPtr< Slider > slider_
Slider.
Definition: ScrollBar.h:106
Urho3D::StaticSprite2D::~StaticSprite2D
~StaticSprite2D() override
Destruct.
Urho3D::Serializer::WriteVector2
bool WriteVector2(const Vector2 &value)
Write a Vector2.
Definition: Serializer.cpp:111
Urho3D::Text::effectDepthBias_
float effectDepthBias_
Text effect Z bias.
Definition: Text.h:249
Urho3D::Connection::IsConnectPending
bool IsConnectPending() const
Return whether connection is pending.
Definition: Connection.h:201
Urho3D::CollisionShape::physicsWorld_
WeakPtr< PhysicsWorld > physicsWorld_
Physics world.
Definition: CollisionShape.h:290
Urho3D::Connection::SetConnectPending
void SetConnectPending(bool connectPending)
Set the connection pending status. Called by Network.
Definition: Connection.cpp:244
Urho3D::ConstraintPulley2D::ownerBodyGroundAnchor_
Vector2 ownerBodyGroundAnchor_
Owner body ground anchor.
Definition: ConstraintPulley2D.h:77
Urho3D::UIElement::SetTags
void SetTags(const StringVector &tags)
Set tags. Old tags are overwritten.
Definition: UIElement.cpp:1459
Urho3D::Color::GRAY
static const Color GRAY
Opaque gray color.
Definition: Color.h:267
Urho3D::Color::ChannelMask
Mask describing color channels.
Definition: Color.h:37
Urho3D::EventHandler::receiver_
Object * receiver_
Event receiver.
Definition: Object.h:287
Urho3D::Menu::Update
void Update(float timeStep) override
Perform UI element update.
Definition: Menu.cpp:75
Urho3D::GraphicsImpl::resolveDestFBO_
unsigned resolveDestFBO_
Write frame buffer for multisampled texture resolves.
Definition: OGLGraphicsImpl.h:134
Urho3D::Sound::GetSampleSize
unsigned GetSampleSize() const
Return sample size.
Definition: Sound.cpp:331
Urho3D::ShaderPrecache::~ShaderPrecache
~ShaderPrecache() override
Destruct. Write the collected shaders to XML.
Definition: ShaderPrecache.cpp:67
Urho3D::TmxTileLayer2D::GetTile
Tile2D * GetTile(int x, int y) const
Return tile.
Definition: TmxFile2D.cpp:219
Urho3D::Terrain::SetLodBias
void SetLodBias(float bias)
Set LOD bias for patches. Affects which terrain LOD to display.
Definition: Terrain.cpp:404
Urho3D::ParticleEmitter2D::boundingBoxMinPoint_
Vector3 boundingBoxMinPoint_
Bounding box min point.
Definition: ParticleEmitter2D.h:161
Urho3D::LuaScript::SetExecuteConsoleCommands
void SetExecuteConsoleCommands(bool enable)
Set whether to execute engine console commands as script code.
Definition: LuaScript.cpp:322
Urho3D::Renderer::GetTextureFilterMode
TextureFilterMode GetTextureFilterMode() const
Return default texture filtering mode.
Definition: Renderer.h:280
Urho3D::Input
Input subsystem. Converts operating system window messages to input state and events.
Definition: Input.h:133
Urho3D::NavigationMesh::queryFilter_
UniquePtr< dtQueryFilter > queryFilter_
Detour navigation mesh query filter.
Definition: NavigationMesh.h:308
Urho3D::StringHash::Calculate
static unsigned Calculate(const char *str, unsigned hash=0)
Calculate hash value from a C string.
Definition: StringHash.cpp:71
Urho3D::CustomVariantValueImpl::SetValue
void SetValue(const T &value)
Set value.
Definition: Variant.h:235
Urho3D::SplinePath::controlledIdAttr_
unsigned controlledIdAttr_
Controlled ID for the SplinePath.
Definition: SplinePath.h:144
Urho3D::Node::RemoveAllComponents
void RemoveAllComponents()
Remove all components from this node.
Definition: Node.cpp:1078
Urho3D::SoundSource3D::SoundSource3D
SoundSource3D(Context *context)
Construct.
Definition: SoundSource3D.cpp:46
Urho3D::FrameInfo::frameNumber_
unsigned frameNumber_
Frame number.
Definition: Drawable.h:71
Urho3D::Slider::OnClickBegin
void OnClickBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse click begin.
Definition: Slider.cpp:96
Urho3D::UIElement::GetDragDropMode
DragAndDropModeFlags GetDragDropMode() const
Return drag and drop flags.
Definition: UIElement.h:541
Urho3D::UI::DragData::dragBeginPending
bool dragBeginPending
Flag for a drag start event pending.
Definition: UI.h:239
Urho3D::Node::IsEnabled
bool IsEnabled() const
Return whether is enabled. Disables nodes effectively disable all their components.
Definition: Node.h:368
Urho3D::Node::SetScene
void SetScene(Scene *scene)
Set scene. Called by Scene.
Definition: Node.cpp:1444
Urho3D::Context::RemoveSubsystem
void RemoveSubsystem()
Template version of removing a subsystem.
Definition: Context.h:263
Urho3D::UIElement::GetIndentSpacing
int GetIndentSpacing() const
Return indent spacing (number of pixels per indentation level).
Definition: UIElement.h:625
Urho3D::Menu::Menu
Menu(Context *context)
Construct.
Definition: Menu.cpp:44
Urho3D::Shader::~Shader
~Shader() override
Destruct.
Definition: Shader.cpp:72
Urho3D::Input::UnsuppressMouseMove
void UnsuppressMouseMove()
Unsuppress mouse movement.
Definition: Input.cpp:1855
Urho3D::UIElement::GetColorAttr
const Color & GetColorAttr() const
Return color attribute. Uses just the top-left color.
Definition: UIElement.h:640
Urho3D::CrowdManager::SetIncludeFlags
void SetIncludeFlags(unsigned queryFilterType, unsigned short flags)
Set the include flags for the specified query filter type.
Definition: CrowdManager.cpp:311
Urho3D::LineEdit::GetText
const String & GetText() const
Return text.
Definition: LineEdit.h:90
Urho3D::View::GetDrawDebug
bool GetDrawDebug() const
Return whether should draw debug geometry.
Definition: View.h:154
Urho3D::Texture2D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Texture2D.cpp:94
Urho3D::Renderer::ReloadShaders
void ReloadShaders()
Force reload of shaders.
Definition: Renderer.cpp:526
Urho3D::DecalSet::GetFace
void GetFace(Vector< PODVector< DecalVertex > > &faces, Drawable *target, unsigned batchIndex, unsigned i0, unsigned i1, unsigned i2, const unsigned char *positionData, const unsigned char *normalData, const unsigned char *skinningData, unsigned positionStride, unsigned normalStride, unsigned skinningStride, const Frustum &frustum, const Vector3 &decalNormal, float normalCutoff)
Get triangle face from the target geometry.
Definition: DecalSet.cpp:810
Urho3D::Vector3::DotProduct
float DotProduct(const Vector3 &rhs) const
Calculate dot product.
Definition: Vector3.h:351
Urho3D::ConstraintPrismatic2D::GetEnableMotor
bool GetEnableMotor() const
Return enable motor.
Definition: ConstraintPrismatic2D.h:76
Urho3D::Node::GetChildrenWithComponent
void GetChildrenWithComponent(PODVector< Node * > &dest, StringHash type, bool recursive=false) const
Return child scene nodes with a specific component.
Definition: Node.cpp:1256
Urho3D::TileMap2D::~TileMap2D
~TileMap2D() override
Destruct.
Urho3D::CrowdAgent::obstacleAvoidanceType_
unsigned obstacleAvoidanceType_
Agent's obstacle avoidance type, it is an index to the obstacle avoidance array configured in Detour ...
Definition: CrowdAgent.h:226
Urho3D::Input::mouseButtonDown_
MouseButtonFlags mouseButtonDown_
Mouse buttons' down state.
Definition: Input.h:384
Urho3D::Skybox::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: Skybox.cpp:58
Urho3D::AnimatedModel::geometrySkinMatrixPtrs_
Vector< PODVector< Matrix3x4 * > > geometrySkinMatrixPtrs_
Subgeometry skinning matrix pointers, if more bones than skinning shader can manage.
Definition: AnimatedModel.h:227
Urho3D::Sphere::Sphere
Sphere(const Frustum &frustum) noexcept
Construct from a frustum.
Definition: Sphere.h:68
Urho3D::ConstraintFriction2D::SetMaxForce
void SetMaxForce(float maxForce)
Set max force.
Definition: ConstraintFriction2D.cpp:68
Urho3D::UIElement::OnWheel
virtual void OnWheel(int delta, MouseButtonFlags buttons, QualifierFlags qualifiers)
React to mouse wheel.
Definition: UIElement.h:185
Urho3D::Variant::GetResourceRefList
const ResourceRefList & GetResourceRefList() const
Return a resource reference list or empty on type mismatch.
Definition: Variant.h:1226
Urho3D::Node::children_
Vector< SharedPtr< Node > > children_
Child scene nodes.
Definition: Node.h:699
Urho3D::Texture2DArray::Texture2DArray
Texture2DArray(Context *context)
Construct.
Definition: Texture2DArray.cpp:46
Urho3D::ConstraintPrismatic2D::GetMaxMotorForce
float GetMaxMotorForce() const
Return maxmotor force.
Definition: ConstraintPrismatic2D.h:79
Urho3D::ShaderVariation::GetDefinesClipPlane
const String & GetDefinesClipPlane()
Return defines with the CLIPPLANE define appended. Used internally on Direct3D11 only,...
Definition: ShaderVariation.h:138
Urho3D::UI::dragElements_
HashMap< WeakPtr< UIElement >, DragData * > dragElements_
Currently dragged elements.
Definition: UI.h:427
Urho3D::LogicComponent::SetUpdateEventMask
void SetUpdateEventMask(UpdateEventFlags mask)
Set what update events should be subscribed to. Use this for optimization: by default all are in use....
Definition: LogicComponent.cpp:67
Urho3D::Input::IsMinimized
bool IsMinimized() const
Return whether application window is minimized.
Definition: Input.cpp:1505
Urho3D::XPathQuery::queryString_
String queryString_
XPath query string.
Definition: XMLElement.h:400
Urho3D::CrowdAgent::~CrowdAgent
~CrowdAgent() override
Destruct.
Definition: CrowdAgent.cpp:100
Urho3D::Vector3::ONE
static const Vector3 ONE
(1,1,1) vector.
Definition: Vector3.h:495
Urho3D::Component::GetID
unsigned GetID() const
Return ID.
Definition: Component.h:82
Urho3D::Scene::localComponentID_
unsigned localComponentID_
Next free local component ID.
Definition: Scene.h:320
Urho3D::RaycastVehicle::GetWheelDampingCompression
float GetWheelDampingCompression(int wheel) const
Get wheel damping compression.
Definition: RaycastVehicle.cpp:501
Urho3D::ShaderParameter::location_
int location_
OpenGL uniform location.
Definition: ShaderVariation.h:59
Urho3D::UI::fontOversampling_
int fontOversampling_
Horizontal oversampling for subpixel fonts (default is 2).
Definition: UI.h:411
Urho3D::View::GetShadowMask
unsigned GetShadowMask(Drawable *drawable)
Return the drawable's shadow mask, considering also its zone.
Definition: View.h:297
Urho3D::AnimationState::model_
WeakPtr< AnimatedModel > model_
Animated model (model mode).
Definition: AnimationState.h:159
Urho3D::List::PopFront
void PopFront()
Erase the first element.
Definition: List.h:324
Urho3D::ResourceWithMetadata
Base class for resources that support arbitrary metadata stored. Metadata serialization shall be impl...
Definition: Resource.h:114
Urho3D::ParticleEmitter::GetEffect
ParticleEffect * GetEffect() const
Return particle effect.
Definition: ParticleEmitter.cpp:353
Urho3D::ParticleEmitter::GetParticlesAttr
VariantVector GetParticlesAttr() const
Return particles attribute. Returns particle amount only if particles are not to be serialized.
Definition: ParticleEmitter.cpp:387
Urho3D::Octree::SetSize
void SetSize(const BoundingBox &box, unsigned numLevels)
Set size and maximum subdivision levels. If octree is not empty, drawable objects will be temporarily...
Definition: Octree.cpp:351
Urho3D::Scene::GetChecksum
unsigned GetChecksum() const
Return source file checksum.
Definition: Scene.h:193
Urho3D::Quaternion::Equals
bool Equals(const Quaternion &rhs) const
Test for equality with another quaternion with epsilon.
Definition: Quaternion.h:413
Urho3D::RaycastVehicle::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: RaycastVehicle.cpp:195
Urho3D::Log::IsQuiet
bool IsQuiet() const
Return whether log is in quiet mode (only errors printed to standard error stream).
Definition: Log.h:104
Urho3D::HashMap::operator==
bool operator==(const HashMap< T, U > &rhs) const
Test for equality with another hash map.
Definition: HashMap.h:296
Urho3D::DbResult::GetNumColumns
unsigned GetNumColumns() const
Return number of columns in the resultset or 0 if there is no resultset.
Definition: ODBCResult.h:45
Urho3D::Window::SetModalFrameSize
void SetModalFrameSize(const IntVector2 &size)
Set modal frame size.
Definition: Window.cpp:310
Urho3D::Constraint::SetDisableCollision
void SetDisableCollision(bool disable)
Set whether to disable collisions between connected bodies.
Definition: Constraint.cpp:326
Urho3D::IntRect::Min
IntVector2 Min() const
Return left-top corner position.
Definition: Rect.h:443
Urho3D::EventProfilerBlock::eventID_
StringHash eventID_
Event ID.
Definition: EventProfiler.h:58
Urho3D::UnknownComponent::typeHash_
StringHash typeHash_
Type of stored component.
Definition: UnknownComponent.h:91
Urho3D::UIElement::GetChildren
const Vector< SharedPtr< UIElement > > & GetChildren() const
Return immediate child elements.
Definition: UIElement.h:570
Urho3D::Context::GetAttributes
const Vector< AttributeInfo > * GetAttributes(StringHash type) const
Return attribute descriptions for an object type, or null if none defined.
Definition: Context.h:170
Urho3D::ScrollView::barScrolling_
bool barScrolling_
Used to prevent touch scroll - scroll bar conflict.
Definition: ScrollView.h:183
Urho3D::ShaderPrecache::usedCombinations_
HashSet< String > usedCombinations_
Already encountered shader combinations.
Definition: ShaderPrecache.h:60
Urho3D::Engine::headless_
bool headless_
Headless mode flag.
Definition: Engine.h:156
Urho3D::ParticleEmitter2D::IsEmitting
bool IsEmitting() const
Return whether is currently emitting.
Definition: ParticleEmitter2D.h:122
Urho3D::ListView::ClearSelection
void ClearSelection()
Clear selection.
Definition: ListView.cpp:696
Urho3D::GPUObjectHandle::name_
unsigned name_
Object name (OpenGL).
Definition: GPUObject.h:38
Urho3D::MutexLock
Lock that automatically acquires and releases a mutex.
Definition: Mutex.h:56
Urho3D::UIElement::derivedOpacity_
float derivedOpacity_
Derived opacity.
Definition: UIElement.h:799
Urho3D::PackageFile::Open
bool Open(const String &fileName, unsigned startOffset=0)
Open the package file. Return true if successful.
Definition: PackageFile.cpp:53
Urho3D::Light::rampTexture_
SharedPtr< Texture > rampTexture_
Range attenuation texture.
Definition: Light.h:365
Urho3D::NavigationPathPoint::flag_
NavigationPathPointFlag flag_
Detour flag.
Definition: NavigationMesh.h:86
Urho3D::CollisionShape::GetWorldBoundingBox
BoundingBox GetWorldBoundingBox() const
Return world-space bounding box.
Definition: CollisionShape.cpp:824
Urho3D::Controls
Controls sent over the network.
Definition: Controls.h:31
Urho3D::Material::SetDepthBias
void SetDepthBias(const BiasParameters &parameters)
Set depth bias parameters for depth write and compare. Note that the normal offset parameter is not u...
Definition: Material.cpp:1089
Urho3D::Renderer::hdrRendering_
bool hdrRendering_
HDR rendering flag.
Definition: Renderer.h:586
Urho3D::XMLElement::IsNull
bool IsNull() const
Return whether does not refer to an element or an XPath node.
Definition: XMLElement.cpp:563
Urho3D::ParticleEffect2D::tangentialAcceleration_
float tangentialAcceleration_
Tangential acceleration.
Definition: ParticleEffect2D.h:280
Urho3D::ShaderProgram::useTextureUnits_
bool useTextureUnits_[MAX_TEXTURE_UNITS]
Texture unit use.
Definition: OGLShaderProgram.h:97
Urho3D::TmxFile2D::gidToCollisionShapeMapping_
HashMap< unsigned, Vector< SharedPtr< TileMapObject2D > > > gidToCollisionShapeMapping_
Gid to tile collision shape mapping.
Definition: TmxFile2D.h:224
Urho3D::PropertySet2D::GetProperty
const String & GetProperty(const String &name) const
Return property value.
Definition: TileMapDefs2D.cpp:154
Urho3D::ResourceCache::SanitateResourceDirName
String SanitateResourceDirName(const String &name) const
Remove unnecessary constructs from a resource directory name and ensure it to be an absolute path.
Definition: ResourceCache.cpp:872
Urho3D::PackageFile::GetChecksum
unsigned GetChecksum() const
Return checksum of the package file contents.
Definition: PackageFile.h:80
Urho3D::Image::IsCubemap
bool IsCubemap() const
Whether this texture is detected as a cubemap, only relevant for DDS.
Definition: Image.h:139
Urho3D::SmoothedTransform::smoothingMask_
SmoothingTypeFlags smoothingMask_
Active smoothing operations bitmask.
Definition: SmoothedTransform.h:94
Urho3D::Network::updateFps_
int updateFps_
Update FPS.
Definition: Network.h:164
Urho3D::RenderPathCommand::useFogColor_
bool useFogColor_
Use fog color for clearing.
Definition: RenderPath.h:178
Urho3D::RaycastVehicle::origRotation_
Vector< Quaternion > origRotation_
All wheels original rotations. These are applied in addition to wheel rotations by btRaycastVehicle.
Definition: RaycastVehicle.h:196
Urho3D::PhysicsWorld::timeAcc_
float timeAcc_
Time accumulator for non-interpolated mode.
Definition: PhysicsWorld.h:344
Urho3D::Sound::LoadOggVorbis
bool LoadOggVorbis(Deserializer &source)
Load Ogg Vorbis format sound data. Does not decode at load, but will rather be decoded while playing.
Definition: Sound.cpp:103
Urho3D::Model::skeleton_
Skeleton skeleton_
Skeleton.
Definition: Model.h:208
Urho3D::OffMeshConnection::~OffMeshConnection
~OffMeshConnection() override
Destruct.
Urho3D::Serializer::WriteResourceRef
bool WriteResourceRef(const ResourceRef &value)
Write a resource reference.
Definition: Serializer.cpp:217
Urho3D::TmxFile2D::GetInfo
const TileMapInfo2D & GetInfo() const
Return Tilemap information.
Definition: TmxFile2D.h:184
Urho3D::Node::GetWorldRight
Vector3 GetWorldRight() const
Return node's right vector in world space.
Definition: Node.h:456
Urho3D::RibbonTrail::sortedPoints_
Vector< TrailPoint * > sortedPoints_
Trail pointers for sorting.
Definition: RibbonTrail.h:243
Urho3D::XMLElement::GetIntRect
IntRect GetIntRect(const String &name) const
Return an IntRect attribute, or default if missing.
Definition: XMLElement.cpp:822
Urho3D::NavigationMesh::navMesh_
dtNavMesh * navMesh_
Detour navigation mesh.
Definition: NavigationMesh.h:304
Urho3D::Input::availableTouchIDs_
List< int > availableTouchIDs_
List that maps between event touch IDs and normalised touch IDs.
Definition: Input.h:376
Urho3D::SoundSource3D::farDistance_
float farDistance_
Far distance.
Definition: SoundSource3D.h:84
Urho3D::CollisionShape2D::GetGroupIndex
int GetGroupIndex() const
Return filter group index.
Definition: CollisionShape2D.h:80
Urho3D::BoundingBox::max_
Vector3 max_
Maximum vector.
Definition: BoundingBox.h:324
Urho3D::RenderTargetInfo::enabled_
bool enabled_
Enabled flag.
Definition: RenderPath.h:88
Urho3D::CollisionShape::CollisionShape
CollisionShape(Context *context)
Construct.
Definition: CollisionShape.cpp:456
Urho3D::Decal::timer_
float timer_
Decal age timer.
Definition: DecalSet.h:91
Urho3D::Octree::~Octree
~Octree() override
Destruct.
Definition: Octree.cpp:322
Urho3D::Vector::operator+
Vector< T > operator+(const T &rhs) const
Add an element.
Definition: Vector.h:145
Urho3D::InterpMethod
InterpMethod
Interpolation method.
Definition: ValueAnimation.h:37
Urho3D::NavigationMesh::GetRandomPointInCircle
Vector3 GetRandomPointInCircle(const Vector3 &center, float radius, const Vector3 &extents=Vector3::ONE, const dtQueryFilter *filter=nullptr, dtPolyRef *randomRef=nullptr)
Return a random point on the navigation mesh within a circle. The circle radius is only a guideline a...
Definition: NavigationMesh.cpp:753
Urho3D::Polyhedron::Polyhedron
Polyhedron(const Frustum &frustum)
Construct from a frustum.
Definition: Polyhedron.h:64
Urho3D::EventReceiverGroup::BeginSendEvent
void BeginSendEvent()
Begin event send. When receivers are removed during send, group has to be cleaned up afterward.
Definition: Context.cpp:57
Urho3D::JoystickState::hats_
PODVector< int > hats_
POV hat bits.
Definition: Input.h:125
Urho3D::DelayedCall
Delay-executed function or method call.
Definition: ScriptEventListener.h:37
Urho3D::FlagSet::operator!
bool operator!() const
Boolean negation.
Definition: FlagSet.h:160
Urho3D::CollisionCircle2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionCircle2D.cpp:48
Urho3D::Console::HandlePostUpdate
void HandlePostUpdate(StringHash eventType, VariantMap &eventData)
Handle the application post-update.
Definition: Console.cpp:549
Urho3D::CustomGeometry::SetDynamic
void SetDynamic(bool enable)
Set vertex buffer dynamic mode. A dynamic buffer should be faster to update frequently....
Definition: CustomGeometry.cpp:517
Urho3D::FlagSet::operator~
FlagSet operator~() const
Bitwise negation.
Definition: FlagSet.h:154
Urho3D::DelayedWorldTransform::worldPosition_
Vector3 worldPosition_
New world position.
Definition: PhysicsWorld.h:88
Urho3D::Renderer::GetMaxSortedInstances
int GetMaxSortedInstances() const
Return maximum number of sorted instances per batch group.
Definition: Renderer.h:319
Urho3D::View::cameraZoneOverride_
bool cameraZoneOverride_
Camera zone's override flag.
Definition: View.h:370
Urho3D::DecalSet::UpdateBatch
void UpdateBatch()
Update the batch (geometry type, shader data).
Definition: DecalSet.cpp:1089
Urho3D::View::SetGlobalShaderParameters
void SetGlobalShaderParameters()
Set global (per-frame) shader parameters. Called by Batch and internally by View.
Definition: View.cpp:689
Urho3D::StringHashRegister::StringHashRegister
StringHashRegister(bool threadSafe)
Construct. threadSafe controls whether the RegisterString and GetStringCopy are thread-safe.
Definition: StringHashRegister.cpp:36
Urho3D::Sprite::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Sprite.cpp:53
Urho3D::BillboardSet::SetSorted
void SetSorted(bool enable)
Set whether billboards are sorted by distance. Default false.
Definition: BillboardSet.cpp:302
Urho3D::Component::Save
bool Save(Serializer &dest) const override
Save as binary data. Return true if successful.
Definition: Component.cpp:65
Urho3D::CrowdManager::AddAgent
int AddAgent(CrowdAgent *agent, const Vector3 &pos)
Create and adds an detour crowd agent, Agent's radius and height is set through the navigation mesh....
Definition: CrowdManager.cpp:615
Urho3D::Pass::SetAlphaToCoverage
void SetAlphaToCoverage(bool enable)
Set alpha-to-coverage on/off.
Definition: Technique.cpp:124
Urho3D::PODVector::Insert
Iterator Insert(const Iterator &dest, const PODVector< T > &vector)
Insert a vector by iterator.
Definition: Vector.h:903
Urho3D::ListView::GetSelectedItem
UIElement * GetSelectedItem() const
Return first selected item, or null if none selected.
Definition: ListView.cpp:892
Urho3D::Serializer::WriteIntVector3
bool WriteIntVector3(const IntVector3 &value)
Write an IntVector3.
Definition: Serializer.cpp:101
Urho3D::Model::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Model.cpp:321
Urho3D::Variant::type_
VariantType type_
Variant type.
Definition: Variant.h:1400
Urho3D::Audio::GetSoundSourceMasterGain
float GetSoundSourceMasterGain(StringHash typeHash) const
Return sound type specific gain multiplied by master gain.
Definition: Audio.cpp:242
Urho3D::Sprite2D::rectangle_
IntRect rectangle_
Rectangle.
Definition: Sprite2D.h:99
Urho3D::DropDownList::SetSelectionAttr
void SetSelectionAttr(unsigned index)
Set selection attribute.
Definition: DropDownList.cpp:228
Urho3D::ParticleEffect::SetSizeMul
void SetSizeMul(float sizeMul)
Set particle size multiplicative modifier.
Definition: ParticleEffect.cpp:586
Urho3D::String::Contains
bool Contains(char c, bool caseSensitive=true) const
Return whether contains a specific character.
Definition: Str.h:445
Urho3D::UIElement::enabled_
bool enabled_
Input enabled flag.
Definition: UIElement.h:702
Urho3D::VectorBase::Swap
void Swap(VectorBase &rhs)
Swap with another vector.
Definition: VectorBase.h:53
Urho3D::ParticleEffect2D::startColorVariance_
Color startColorVariance_
Start color variance.
Definition: ParticleEffect2D.h:288
Urho3D::Menu::popupOffset_
IntVector2 popupOffset_
Popup element offset.
Definition: Menu.h:92
Urho3D::String::String
String(wchar_t *str)
Construct from a null-terminated wide character array.
Definition: Str.h:116
Urho3D::Obstacle::GetRadius
float GetRadius() const
Get the blocking radius of this obstacle.
Definition: Obstacle.h:59
Urho3D::LuaFunction::PushUserType
void PushUserType(const T &userType)
Push user type to stack.
Definition: LuaFunction.h:74
Urho3D::JSONValue::Insert
void Insert(unsigned pos, const JSONValue &value)
Insert an JSON value at position.
Definition: JSONValue.cpp:218
Urho3D::WeakArrayPtr
Weak array pointer template class. Uses non-intrusive reference counting.
Definition: ArrayPtr.h:231
Urho3D::SoundStream::SoundStream
SoundStream()
Construct.
Definition: SoundStream.cpp:30
Urho3D::Audio::ResumeAll
void ResumeAll()
Resume playback of all sound types.
Definition: Audio.cpp:185
Urho3D::UIElement::OnTextInput
virtual void OnTextInput(const String &text)
React to text input event.
Definition: UIElement.h:189
Urho3D::Polyhedron::Define
void Define(const BoundingBox &box)
Define from a bounding box.
Definition: Polyhedron.cpp:37
Urho3D::Variant::Variant
Variant(const Vector2 &value)
Construct from a Vector2.
Definition: Variant.h:379
Urho3D::UI::ResizeRootElement
void ResizeRootElement()
Resize root element to effective size.
Definition: UI.cpp:2164
Urho3D::UniquePtr::~UniquePtr
~UniquePtr()
Destruct.
Definition: Ptr.h:662
Urho3D::XMLElement::GetAttributeCString
const char * GetAttributeCString(const char *name) const
Return attribute as C string, or null if missing.
Definition: XMLElement.cpp:703
Urho3D::PhysicsWorld::GetMaxSubSteps
int GetMaxSubSteps() const
Return maximum number of physics substeps per frame.
Definition: PhysicsWorld.h:218
Urho3D::IKSolver::OnSceneSet
void OnSceneSet(Scene *scene) override
Subscribe to drawable update finished event here.
Definition: IKSolver.cpp:519
Urho3D::OcclusionBuffer::nearClip_
float nearClip_
Near clip distance.
Definition: OcclusionBuffer.h:211
Urho3D::FontFace::~FontFace
~FontFace() override
Destruct.
Definition: FontFace.cpp:42
Urho3D::Constraint::GetOtherRotation
const Quaternion & GetOtherRotation() const
Return constraint rotation relative to other body.
Definition: Constraint.h:125
Urho3D::Model::SetGeometryBoneMappings
void SetGeometryBoneMappings(const Vector< PODVector< unsigned > > &geometryBoneMappings)
Set bone mappings when model has more bones than the skinning shader can handle.
Definition: Model.cpp:607
Urho3D::Window::GetResizeBorder
const IntRect & GetResizeBorder() const
Return resize area width at edges.
Definition: Window.h:113
Urho3D::RigidBody::ApplyTorque
void ApplyTorque(const Vector3 &torque)
Apply torque.
Definition: RigidBody.cpp:534
Urho3D::Node::LocalToWorld
Vector3 LocalToWorld(const Vector3 &position) const
Convert a local space position to world space.
Definition: Node.cpp:1190
Urho3D::Technique::alphaPassIndex
static unsigned alphaPassIndex
Index for alpha pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:262
Urho3D::Input::SetMouseVisible
void SetMouseVisible(bool enable, bool suppressEvent=false)
Set whether the operating system mouse cursor is visible. When not visible (default),...
Definition: Input.cpp:556
Urho3D::Image::GetDecompressedImage
SharedPtr< Image > GetDecompressedImage() const
Return decompressed image data in RGBA format.
Definition: Image.cpp:2101
Urho3D::Renderer::dirLightGeometry_
SharedPtr< Geometry > dirLightGeometry_
Directional light quad geometry.
Definition: Renderer.h:482
Urho3D::UIElement::SetLayoutMode
void SetLayoutMode(LayoutMode mode)
Set layout mode only.
Definition: UIElement.cpp:1053
Urho3D::TileMapLayer2D::HasProperty
bool HasProperty(const String &name) const
Return has property.
Definition: TileMapLayer2D.cpp:254
Urho3D::CustomGeometry::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: CustomGeometry.cpp:80
Urho3D::AnimatedModel::SetGeometryBoneMappings
void SetGeometryBoneMappings()
Set mapping of subgeometry bone indices.
Definition: AnimatedModel.cpp:1223
Urho3D::RenderPath::RemoveCommands
void RemoveCommands(const String &tag)
Remove commands by tag name.
Definition: RenderPath.cpp:489
Urho3D::LuaFunction::PushUserType
void PushUserType(void *userType, const char *typeName)
Push user type to stack.
Definition: LuaFunction.cpp:137
Urho3D::Resource::GetMemoryUse
unsigned GetMemoryUse() const
Return memory use in bytes, possibly approximate.
Definition: Resource.h:92
Urho3D::Input::inputScale_
Vector2 inputScale_
Input coordinate scaling. Non-unity when window and backbuffer have different sizes (e....
Definition: Input.h:396
Urho3D::Graphics::SetShaderParameter
void SetShaderParameter(StringHash param, const float *data, unsigned count)
Set shader float constants.
Definition: OGLGraphics.cpp:1151
Urho3D::HashBase::MIN_BUCKETS
static const unsigned MIN_BUCKETS
Initial amount of buckets.
Definition: HashBase.h:104
Urho3D::RaycastVehicle::SetWheelDataAttr
void SetWheelDataAttr(const VariantVector &value)
Set wheel data attribute during loading.
Definition: RaycastVehicle.cpp:759
Urho3D::CrowdManager::numAreas_
PODVector< unsigned > numAreas_
Number of configured area in each filter type. Limit to DT_MAX_AREAS.
Definition: CrowdManager.h:195
Urho3D::FileSelector::fileList_
ListView * fileList_
File list.
Definition: FileSelector.h:155
Urho3D::HashMap::InsertNode
Node * InsertNode(const T &key, const U &value, bool findExisting=true)
Insert a key and value and return either the new or existing node.
Definition: HashMap.h:660
Urho3D::Serializable::Save
virtual bool Save(Serializer &dest) const
Save as binary data. Return true if successful.
Definition: Serializable.cpp:318
Urho3D::SourceBatch::numWorldTransforms_
unsigned numWorldTransforms_
Number of world transforms.
Definition: Drawable.h:102
Urho3D::Terrain::castShadows_
bool castShadows_
Shadowcaster flag.
Definition: Terrain.h:295
Urho3D::Thread::mainThreadID
static ThreadID mainThreadID
Main thread's thread ID.
Definition: Thread.h:77
Urho3D::IKEffector::GetTargetPosition
const Vector3 & GetTargetPosition() const
Returns the current target position in world space.
Definition: IKEffector.cpp:112
Urho3D::Network::isServer_
bool isServer_
Whether we started as server or not.
Definition: Network.h:176
Urho3D::UI::useSystemClipboard_
bool useSystemClipboard_
Flag for using operating system clipboard instead of internal.
Definition: UI.h:399
Urho3D::Rect::Rect
Rect(float left, float top, float right, float bottom) noexcept
Construct from coordinates.
Definition: Rect.h:49
Urho3D::ParticleEffect2D::GetTangentialAccelVariance
float GetTangentialAccelVariance() const
Return tangential acceleration variance.
Definition: ParticleEffect2D.h:173
Urho3D::Engine::minFps_
unsigned minFps_
Minimum frames per second.
Definition: Engine.h:138
Urho3D::TileMapObject2D::type_
String type_
Type.
Definition: TileMapDefs2D.h:214
Urho3D::ConstraintRevolute2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintRevolute2D.cpp:161
Urho3D::Variant::GetInt64
long long GetInt64() const
Return 64 bit int or zero on type mismatch. Floats and doubles are converted.
Definition: Variant.h:1100
Urho3D::FrustumOctreeQuery::TestDrawables
void TestDrawables(Drawable **start, Drawable **end, bool inside) override
Intersection test for drawables.
Definition: OctreeQuery.cpp:106
Urho3D::ResourceCache::RemoveResourceRouter
void RemoveResourceRouter(ResourceRouter *router)
Remove a resource router object.
Definition: ResourceCache.cpp:476
Urho3D::RigidBody::AddConstraint
void AddConstraint(Constraint *constraint)
Add a constraint that refers to this rigid body.
Definition: RigidBody.cpp:863
Urho3D::NodeReplicationState::componentStates_
HashMap< unsigned, ComponentReplicationState > componentStates_
Components by ID.
Definition: ReplicationState.h:167
Urho3D::RenderPathCommand::SetOutput
void SetOutput(unsigned index, const String &name, CubeMapFace face=FACE_POSITIVE_X)
Set output rendertarget name and face index for cube maps.
Definition: RenderPath.cpp:258
Urho3D::CustomGeometry::MakeCircle
void MakeCircle(float radius=1, size_t iterations=300, float startTheta=0, float endTheta=2 *M_PI, bool clear=true, int geomNum=0)
Definition: CustomGeometry.cpp:242
Urho3D::List::ConstIterator::ConstIterator
ConstIterator(const Iterator &rhs)
Construct from a non-const iterator.
Definition: List.h:119
Urho3D::ListView
Scrollable list UI element.
Definition: ListView.h:45
Urho3D::EventProfilerBlock::EventProfilerBlock
EventProfilerBlock(EventProfilerBlock *parent, StringHash eventID)
Construct with the specified parent block and event ID.
Definition: EventProfiler.h:35
Urho3D::List::ConstIterator::operator->
const T * operator->() const
Point to the node value.
Definition: List.h:162
Urho3D::CollisionCircle2D::ApplyNodeWorldScale
void ApplyNodeWorldScale() override
Apply node world scale.
Definition: CollisionCircle2D.cpp:85
Urho3D::Button::GetPressedChildOffset
const IntVector2 & GetPressedChildOffset() const
Return offset of child elements when pressed.
Definition: Button.h:80
Urho3D::FileSelector::fileNameEdit_
LineEdit * fileNameEdit_
Filename editor.
Definition: FileSelector.h:159
Urho3D::RenderSurfaceUpdateMode
RenderSurfaceUpdateMode
Update mode for render surface viewports.
Definition: GraphicsDefs.h:292
Urho3D::ListIteratorBase::ListIteratorBase
ListIteratorBase(ListNodeBase *ptr)
Construct with a node pointer.
Definition: ListBase.h:63
Urho3D::FileSelector::RefreshFiles
void RefreshFiles()
Refresh the directory listing.
Definition: FileSelector.cpp:287
Urho3D::Texture2DArray::renderSurface_
SharedPtr< RenderSurface > renderSurface_
Render surface.
Definition: Texture2DArray.h:88
Urho3D::Material::GetShaderParameterAnimationSpeed
float GetShaderParameterAnimationSpeed(const String &name) const
Return shader parameter animation speed.
Definition: Material.cpp:1221
Urho3D::ValueAnimation::GetAnimationValue
Variant GetAnimationValue(float scaledTime) const
Return animation value.
Definition: ValueAnimation.cpp:341
Urho3D::Spline::GetKnot
Variant GetKnot(unsigned index) const
Return the knot at the specific index.
Definition: Spline.h:83
Urho3D::SplinePath::SetPosition
void SetPosition(float factor)
Set the controlled Node's position on the SplinePath.
Definition: SplinePath.cpp:205
Urho3D::Light::lightRad_
float lightRad_
Radius of the light source. If above 0 it will turn the light into an area light. Works only with PBR...
Definition: Light.h:353
Urho3D::Zone::GetFogColor
const Color & GetFogColor() const
Return fog color.
Definition: Zone.h:85
Urho3D::ParticleEmitter2D::GetSpriteAttr
ResourceRef GetSpriteAttr() const
Return sprite attribute.
Definition: ParticleEmitter2D.cpp:179
Urho3D::UIElement::IsFixedSize
bool IsFixedSize() const
Return true if size is fixed.
Definition: UIElement.h:439
Urho3D::Terrain::Terrain
Terrain(Context *context)
Construct.
Definition: Terrain.cpp:80
Urho3D::Shader::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Shader.cpp:112
Urho3D::Window::GetModalAutoDismiss
bool GetModalAutoDismiss() const
Return whether can be dismissed with escape key.
Definition: Window.h:128
Urho3D::Particle::timeToLive_
float timeToLive_
Lifetime.
Definition: ParticleEmitter.h:42
Urho3D::View::rtSize_
IntVector2 rtSize_
Destination rendertarget size.
Definition: View.h:350
Urho3D::CustomGeometry::DefineGeometry
void DefineGeometry(unsigned index, PrimitiveType type, unsigned numVertices, bool hasNormals, bool hasColors, bool hasTexCoords, bool hasTangents)
Set the primitive type, number of vertices and elements in a geometry, after which the vertices can b...
Definition: CustomGeometry.cpp:586
Urho3D::Cursor::GetShapesAttr
VariantVector GetShapesAttr() const
Return shapes attribute.
Definition: Cursor.cpp:235
Urho3D::Button::Button
Button(Context *context)
Construct.
Definition: Button.cpp:38
Urho3D::Audio::GetListener
SoundListener * GetListener() const
Return active sound listener.
Definition: Audio.cpp:221
Urho3D::JSONFile::root_
JSONValue root_
JSON root value.
Definition: JSONFile.h:63
Urho3D::Sound::SetSize
void SetSize(unsigned dataSize)
Set sound size in bytes. Also resets the sound to be uncompressed and one-shot.
Definition: Sound.cpp:223
Urho3D::Vector::Erase
Iterator Erase(const Iterator &it)
Erase an element by iterator. Return iterator to the next element.
Definition: Vector.h:373
Urho3D::ToolTip::Update
void Update(float timeStep) override
Perform UI element update.
Definition: ToolTip.cpp:52
Urho3D::AnimationController::GetAnimations
const Vector< AnimationControl > & GetAnimations() const
Return the animation control structures for inspection.
Definition: AnimationController.h:176
Urho3D::RigidBody::shiftedCompoundShape_
UniquePtr< btCompoundShape > shiftedCompoundShape_
Compound collision shape with center of mass offset applied.
Definition: RigidBody.h:273
Urho3D::USE_FIXEDUPDATE
@ USE_FIXEDUPDATE
Bitmask for using the physics update event.
Definition: LogicComponent.h:42
Urho3D::XPathResultSet::~XPathResultSet
~XPathResultSet()
Destruct.
Definition: XMLElement.cpp:1023
Urho3D::XMLElement::HasChild
bool HasChild(const String &name) const
Return whether has a child element.
Definition: XMLElement.cpp:591
Urho3D::Color::Abs
Color Abs() const
Return color with absolute components.
Definition: Color.h:238
Urho3D::IntRect::IntRect
IntRect(const IntVector2 &min, const IntVector2 &max) noexcept
Construct from minimum and maximum vectors.
Definition: Rect.h:285
Urho3D::View::GetLightMask
unsigned GetLightMask(Drawable *drawable)
Return the drawable's light mask, considering also its zone.
Definition: View.h:291
Urho3D::RibbonTrail::GetTailColumn
unsigned GetTailColumn() const
Return number of column for tails.
Definition: RibbonTrail.h:164
Urho3D::OcclusionBatch::vertexSize_
unsigned vertexSize_
Vertex size in bytes.
Definition: OcclusionBuffer.h:72
Urho3D::Vector::EraseSwap
void EraseSwap(unsigned pos, unsigned length=1)
Erase a range of elements by swapping elements from the end of the array.
Definition: Vector.h:349
Urho3D::CustomVariantValueImpl::IsZero
bool IsZero() const override
Compare to zero.
Definition: Variant.h:265
Urho3D::String::~String
~String()
Destruct.
Definition: Str.h:164
Urho3D::PListValue::~PListValue
~PListValue()
Destruct.
Definition: PListFile.cpp:89
Urho3D::VertexBuffer::Lock
void * Lock(unsigned start, unsigned count, bool discard=false)
Lock the buffer for write-only editing. Return data pointer if successful. Optionally discard data ou...
Definition: OGLVertexBuffer.cpp:165
Urho3D::ScrollView
Scrollable UI element for showing a (possibly large) child element.
Definition: ScrollView.h:34
Urho3D::DecalSet::SetMaxVertices
void SetMaxVertices(unsigned num)
Set maximum number of decal vertices.
Definition: DecalSet.cpp:254
Urho3D::LightQueryResult::litGeometries_
PODVector< Drawable * > litGeometries_
Lit geometries.
Definition: View.h:60
Urho3D::Graphics::GetStencilFail
StencilOp GetStencilFail() const
Return stencil operation to do if stencil test fails.
Definition: Graphics.h:546
Urho3D::PhysicsWorld2D::RemoveRigidBody
void RemoveRigidBody(RigidBody2D *rigidBody)
Remove rigid body.
Definition: PhysicsWorld2D.cpp:442
Urho3D::File::checksum_
unsigned checksum_
Content checksum.
Definition: File.h:141
Urho3D::HashBase::ResetPtrs
void ResetPtrs()
Reset bucket head pointers.
Definition: HashBase.cpp:43
Urho3D::XMLElement::GetQuaternion
Quaternion GetQuaternion(const String &name) const
Return a quaternion attribute, or default if missing.
Definition: XMLElement.cpp:837
Urho3D::Scene::GetAsyncLoadMode
LoadMode GetAsyncLoadMode() const
Return the load mode of the current asynchronous loading operation.
Definition: Scene.h:187
Urho3D::BillboardSet::BillboardSet
BillboardSet(Context *context)
Construct.
Definition: BillboardSet.cpp:77
Urho3D::Component::IsEnabledEffective
bool IsEnabledEffective() const
Return whether is effectively enabled (node is also enabled).
Definition: Component.cpp:270
Urho3D::Graphics::dxtTextureSupport_
bool dxtTextureSupport_
DXT format support flag.
Definition: Graphics.h:745
Urho3D::Text3D::Text3D
Text3D(Context *context)
Construct.
Definition: Text3D.cpp:51
Urho3D::Drawable::SetLightMask
void SetLightMask(unsigned mask)
Set light mask. Is and'ed with light's and zone's light mask to see if the object should be lit.
Definition: Drawable.cpp:197
Urho3D::Variant::Variant
Variant(const ResourceRef &value)
Construct from a resource reference.
Definition: Variant.h:439
Urho3D::OggVorbisSoundStream::decoder_
void * decoder_
Decoder state.
Definition: OggVorbisSoundStream.h:50
Urho3D::ScriptInstance::HandleScriptFileReloadFinished
void HandleScriptFileReloadFinished(StringHash eventType, VariantMap &eventData)
Handle script file reload finished.
Definition: ScriptInstance.cpp:955
Urho3D::SoundSource::Play
void Play(Sound *sound)
Play a sound.
Definition: SoundSource.cpp:171
Urho3D::PhysicsWorld::previousCollisions_
HashMap< Pair< WeakPtr< RigidBody >, WeakPtr< RigidBody > >, ManifoldPair > previousCollisions_
Collision pairs on the previous frame. Used to check if a collision is "new." Manifolds are not guara...
Definition: PhysicsWorld.h:324
Urho3D::CustomVariantValue::IsType
bool IsType() const
Return whether the specified type is stored.
Definition: Variant.h:186
Urho3D::Variant::value_
VariantValue value_
Variant value.
Definition: Variant.h:1402
Urho3D::TileMapObjectType2D
TileMapObjectType2D
Tile map object type.
Definition: TileMapDefs2D.h:88
Urho3D::TechniqueEntry::lodDistance_
float lodDistance_
LOD distance.
Definition: Material.h:72
Urho3D::Vector2::ZERO
static const Vector2 ZERO
Zero vector.
Definition: Vector2.h:379
Urho3D::UI::SetFontSubpixelThreshold
void SetFontSubpixelThreshold(float threshold)
Set the font subpixel threshold. Below this size, if the hint level is LIGHT or NONE,...
Definition: UI.cpp:718
Urho3D::NavigationMesh::GetRandomPoint
Vector3 GetRandomPoint(const dtQueryFilter *filter=nullptr, dtPolyRef *randomRef=nullptr)
Return a random point on the navigation mesh.
Definition: NavigationMesh.cpp:740
Urho3D::ResourceRef::ResourceRef
ResourceRef(const String &type, const String &name)
Construct with type and resource name.
Definition: Variant.h:108
Urho3D::CompressedLevel::data_
unsigned char * data_
Compressed image data.
Definition: Image.h:61
Urho3D::Material::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Material.cpp:246
Urho3D::UIElement::GetEffectiveMinSize
IntVector2 GetEffectiveMinSize() const
Return effective minimum size, also considering layout. Used internally.
Definition: UIElement.cpp:1870
Urho3D::UIElement::SetFixedWidth
void SetFixedWidth(int width)
Set fixed width.
Definition: UIElement.cpp:658
Urho3D::VerticalAlignment
VerticalAlignment
UI element vertical alignment.
Definition: UIElement.h:46
Urho3D::Variant::operator=
Variant & operator=(const Variant &rhs)
Assign from another variant.
Definition: Variant.cpp:77
Urho3D::ProfilerBlock::time_
long long time_
Time on current frame.
Definition: Profiler.h:142
Urho3D::View3D::GetCameraNode
Node * GetCameraNode() const
Return camera scene node.
Definition: View3D.cpp:136
Urho3D::AnimationState::GetLayer
unsigned char GetLayer() const
Return blending layer.
Definition: AnimationState.h:145
Urho3D::ProfilerBlock::BeginInterval
void BeginInterval()
Begin new profiling interval.
Definition: Profiler.h:112
Urho3D::Renderer2D::HandleBeginViewUpdate
void HandleBeginViewUpdate(StringHash eventType, VariantMap &eventData)
Handle view update begin event. Determine Drawable2D's and their batches here.
Definition: Renderer2D.cpp:320
Urho3D::Node::Rotate
void Rotate(const Quaternion &delta, TransformSpace space=TS_LOCAL)
Rotate the scene node in the chosen transform space.
Definition: Node.cpp:587
Urho3D::CollisionShape::SetBox
void SetBox(const Vector3 &size, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a box.
Definition: CollisionShape.cpp:570
Urho3D::Texture::GetLevelWidth
int GetLevelWidth(unsigned level) const
Return mip level width, or 0 if level does not exist.
Definition: Texture.cpp:129
Urho3D::RefCounted::AddRef
void AddRef()
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counti...
Definition: RefCounted.cpp:54
Urho3D::CustomGeometry::primitiveTypes_
PODVector< PrimitiveType > primitiveTypes_
Primitive type per geometry.
Definition: CustomGeometry.h:164
Urho3D::Quaternion::Conjugate
Quaternion Conjugate() const
Return conjugate.
Definition: Quaternion.h:425
Urho3D::RibbonTrail::SetTrailType
void SetTrailType(TrailType type)
Set how the trail behave.
Definition: RibbonTrail.cpp:842
Urho3D::Console::Console
Console(Context *context)
Construct.
Definition: Console.cpp:62
Urho3D::View::lightPassIndex_
unsigned lightPassIndex_
Index of the forward light pass.
Definition: View.h:427
Urho3D::View::GetVertexLightQueueHash
unsigned long long GetVertexLightQueueHash(const PODVector< Light * > &vertexLights)
Return hash code for a vertex light queue.
Definition: View.h:303
Urho3D::File::ReadInternal
bool ReadInternal(void *dest, unsigned size)
Perform the file read internally using either C standard IO functions or SDL RWops for Android asset ...
Definition: File.cpp:526
Urho3D::OcclusionBuffer::buffers_
Vector< OcclusionBufferData > buffers_
Highest-level buffer data per thread.
Definition: OcclusionBuffer.h:183
Urho3D::Serializer::WriteVariant
bool WriteVariant(const Variant &value)
Write a variant.
Definition: Serializer.cpp:237
Urho3D::Connection::SetPacketSizeLimit
void SetPacketSizeLimit(int limit)
Buffered packet size limit, when reached, packet is sent out immediately.
Definition: Connection.cpp:1182
Urho3D::StringHash::ToString
String ToString() const
Return as string.
Definition: StringHash.cpp:93
Urho3D::WeakPtr::Reset
void Reset(T *ptr=nullptr)
Reset with another pointer.
Definition: Ptr.h:449
Urho3D::Object::HasSubscribedToEvent
bool HasSubscribedToEvent(StringHash eventType) const
Return whether has subscribed to an event without specific sender.
Definition: Object.cpp:436
Urho3D::Obstacle::RegisterObject
static void RegisterObject(Context *context)
Register Obstacle with engine context.
Definition: Obstacle.cpp:54
Urho3D::PhysicsWorld2D::ContactInfo::bodyA_
SharedPtr< RigidBody2D > bodyA_
Rigid body A.
Definition: PhysicsWorld2D.h:257
Urho3D::TileMapLayer2D::GetTileMap
TileMap2D * GetTileMap() const
Return tile map.
Definition: TileMapLayer2D.cpp:249
Urho3D::Animatable::FindAttributeAnimationTarget
virtual Animatable * FindAttributeAnimationTarget(const String &name, String &outName)
Find target of an attribute animation from object hierarchy by name.
Definition: Animatable.cpp:466
Urho3D::XMLElement::SetValue
bool SetValue(const String &value)
Set the value for an inner node in the following format <node>value</node>.
Definition: XMLElement.cpp:265
Urho3D::SoundSource::SetAttenuation
void SetAttenuation(float attenuation)
Set attenuation. 1.0 is unaltered. Used for distance attenuated playback.
Definition: SoundSource.cpp:296
Urho3D::Window::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Window.cpp:62
Urho3D::FontFaceFreeType::allocator_
AreaAllocator allocator_
Glyph area allocator.
Definition: FontFaceFreeType.h:73
Urho3D::UI::cursor_
SharedPtr< Cursor > cursor_
Cursor.
Definition: UI.h:357
Urho3D::Ray::Define
void Define(const Vector3 &origin, const Vector3 &direction)
Define from origin and direction. The direction will be normalized.
Definition: Ray.h:62
Urho3D::PODVector::At
const T & At(unsigned index) const
Return const element at index.
Definition: Vector.h:834
Urho3D::SceneResolver::SceneResolver
SceneResolver()
Construct.
Urho3D::Terrain::GetDrawDistance
float GetDrawDistance() const
Return draw distance.
Definition: Terrain.h:160
Urho3D::Particle::scale_
float scale_
Size scaling value.
Definition: ParticleEmitter.h:44
Urho3D::RigidBody::GetLinearFactor
Vector3 GetLinearFactor() const
Return linear degrees of freedom.
Definition: RigidBody.cpp:623
Urho3D::TextureCube::GetImage
SharedPtr< Image > GetImage(CubeMapFace face) const
Get image data from a face's zero mip level. Only RGB and RGBA textures are supported.
Definition: TextureCube.cpp:316
Urho3D::PODVector::Erase
void Erase(unsigned pos, unsigned length=1)
Erase a range of elements.
Definition: Vector.h:945
Urho3D::Connection::SendBuffer
void SendBuffer(PacketType type)
Send out buffered messages by their type.
Definition: Connection.cpp:378
Urho3D::ConstraintDistance2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintDistance2D.cpp:127
Urho3D::ObjectAnimation::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: ObjectAnimation.cpp:67
Urho3D::Text::SetEffectColor
void SetEffectColor(const Color &effectColor)
Set effect color.
Definition: Text.cpp:404
Urho3D::RemoteEvent::eventData_
VariantMap eventData_
Event data.
Definition: Connection.h:62
Urho3D::Material::SortTechniques
void SortTechniques()
Ensure that material techniques are listed in correct order.
Definition: Material.cpp:1171
Urho3D::ParticleEffect::emissionRateMax_
float emissionRateMax_
Particles per second maximum.
Definition: ParticleEffect.h:393
Urho3D::Animation::GetAnimationName
const String & GetAnimationName() const
Return animation name.
Definition: Animation.h:160
Urho3D::Sound::looped_
bool looped_
Looped flag.
Definition: Sound.h:126
Urho3D::Drawable2D::GetSourceBatches
const Vector< SourceBatch2D > & GetSourceBatches()
Return all source batches (called by Renderer2D).
Definition: Drawable2D.cpp:99
Urho3D::CrowdManager::RemoveAgent
void RemoveAgent(CrowdAgent *agent)
Removes the detour crowd agent.
Definition: CrowdManager.cpp:630
Urho3D::SharedPtr::Swap
void Swap(SharedPtr< T > &rhs)
Swap with another SharedPtr.
Definition: Ptr.h:164
Urho3D::Geometry::rawIndexData_
SharedArrayPtr< unsigned char > rawIndexData_
Raw index data override.
Definition: Geometry.h:137
Urho3D::IKSolver::GetTolerance
float GetTolerance() const
Returns the configured tolerance.
Definition: IKSolver.cpp:205
Urho3D::FileWatcher
Watches a directory and its subdirectories for files being modified.
Definition: FileWatcher.h:37
Urho3D::Pass::pixelShaderDefines_
String pixelShaderDefines_
Pixel shader defines.
Definition: Technique.h:172
Urho3D::Context::CreateObject
SharedPtr< T > CreateObject()
Create an object by type. Return pointer to it or null if no factory found.
Definition: Context.h:77
Urho3D::SourceBatch2D::SourceBatch2D
SourceBatch2D()
Construct.
Definition: Drawable2D.cpp:40
Urho3D::UI::Clear
void Clear()
Clear the UI (excluding the cursor).
Definition: UI.cpp:309
Urho3D::Graphics::SetBlendMode
void SetBlendMode(BlendMode mode, bool alphaToCoverage=false)
Set blending and alpha-to-coverage modes. Alpha-to-coverage is not supported on Direct3D9.
Definition: OGLGraphics.cpp:1746
Urho3D::HashSet::InsertNode
Node * InsertNode(Node *dest, const T &key)
Insert a node into the list. Return the new node.
Definition: HashSet.h:557
Urho3D::HashSet::ConstIterator::operator--
ConstIterator & operator--()
Predecrement the pointer.
Definition: HashSet.h:153
Urho3D::RigidBody::useGravity_
bool useGravity_
Use gravity flag.
Definition: RigidBody.h:303
Urho3D::AreaAllocator::Allocate
bool Allocate(int width, int height, int &x, int &y)
Try to allocate an area. Return true if successful, with x & y coordinates filled.
Definition: AreaAllocator.cpp:59
Urho3D::RenderTargetInfo::Load
void Load(const XMLElement &element)
Read from an XML element.
Definition: RenderPath.cpp:64
Urho3D::TileMapLayerType2D
TileMapLayerType2D
Tile map layer type.
Definition: TileMapDefs2D.h:75
Urho3D::View::GetShadowMapViewport
IntRect GetShadowMapViewport(Light *light, int splitIndex, Texture2D *shadowMap)
Return the viewport for a shadow map split.
Definition: View.cpp:2491
Urho3D::StaticModelGroup::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: StaticModelGroup.cpp:68
Urho3D::Zone::GetZoneTexture
Texture * GetZoneTexture() const
Return zone texture.
Definition: Zone.h:112
Urho3D::Graphics::GetStencilRef
unsigned GetStencilRef() const
Return stencil reference value.
Definition: Graphics.h:552
Urho3D::ScrollBar::SetOrientation
void SetOrientation(Orientation orientation)
Set orientation type.
Definition: ScrollBar.cpp:148
Urho3D::CollisionBox2D
2D box collision component.
Definition: CollisionBox2D.h:31
Urho3D::Matrix3x4::ToMatrix3
Matrix3 ToMatrix3() const
Return the combined rotation and scaling matrix.
Definition: Matrix3x4.h:542
Urho3D::Network::SetPackageCacheDir
void SetPackageCacheDir(const String &path)
Set the package download cache directory.
Definition: Network.cpp:613
Urho3D::Vector::Erase
Iterator Erase(const Iterator &start, const Iterator &end)
Erase a range by iterators. Return iterator to the next element.
Definition: Vector.h:384
Urho3D::RibbonTrail::SetLifetime
void SetLifetime(float time)
Set tail time to live.
Definition: RibbonTrail.cpp:812
Urho3D::HashMap::Node::Prev
Node * Prev() const
Return previous node.
Definition: HashMap.h:100
Urho3D::Zone::GetOverride
bool GetOverride() const
Return whether override mode is enabled.
Definition: Zone.h:106
Urho3D::View::sourceView_
WeakPtr< View > sourceView_
Shared source view. Null if this view is using its own culling.
Definition: View.h:324
Urho3D::PODVector::IndexOf
unsigned IndexOf(const T &value) const
Return index of value in vector, or size if not found.
Definition: Vector.h:1111
Urho3D::Scene::replicatedComponentID_
unsigned replicatedComponentID_
Next free non-local component ID.
Definition: Scene.h:316
Urho3D::Rect::ToVector4
Vector4 ToVector4() const
Return as a vector.
Definition: Rect.h:235
Urho3D::Audio::HandleRenderUpdate
void HandleRenderUpdate(StringHash eventType, VariantMap &eventData)
Handle render update event.
Definition: Audio.cpp:309
Urho3D::CollisionBox2D::SetSize
void SetSize(const Vector2 &size)
Set size.
Definition: CollisionBox2D.cpp:62
Urho3D::CollisionChain2D
2D chain collision component.
Definition: CollisionChain2D.h:30
Urho3D::UIElement::MarkDirty
void MarkDirty()
Mark screen position as needing an update.
Definition: UIElement.cpp:1935
Urho3D::BatchQueue::batches_
PODVector< Batch > batches_
Unsorted non-instanced draw calls.
Definition: Batch.h:257
Urho3D::ModelMorph::weight_
float weight_
Current morph weight.
Definition: Model.h:61
Urho3D::TileMapObject2D::GetName
const String & GetName() const
Return name.
Definition: TileMapDefs2D.h:174
Urho3D::ConstraintFriction2D::~ConstraintFriction2D
~ConstraintFriction2D() override
Destruct.
Urho3D::DecalSet::numVertices_
unsigned numVertices_
Vertices in the current decals.
Definition: DecalSet.h:231
Urho3D::UnknownComponent::Load
bool Load(Deserializer &source) override
Load from binary data. Return true if successful.
Definition: UnknownComponent.cpp:95
Urho3D::Matrix2::IsInf
bool IsInf() const
Return whether any element is Inf.
Definition: Matrix2.h:218
Urho3D::StaticModelGroup::GetNumInstanceNodes
unsigned GetNumInstanceNodes() const
Return number of instance nodes.
Definition: StaticModelGroup.h:62
Urho3D::EventReceiverGroup::Add
void Add(Object *object)
Add receiver. Same receiver must not be double-added!
Definition: Context.cpp:80
Urho3D::XMLElement::SetQuaternion
bool SetQuaternion(const String &name, const Quaternion &value)
Set a quaternion attribute.
Definition: XMLElement.cpp:402
Urho3D::IKEffector::~IKEffector
~IKEffector() override
Destructs he IK effector.
Definition: IKEffector.cpp:56
Urho3D::Camera::reflectionPlane_
Plane reflectionPlane_
Reflection plane.
Definition: Camera.h:270
Urho3D::UIElement::children_
Vector< SharedPtr< UIElement > > children_
Child elements.
Definition: UIElement.h:680
Urho3D::Node::IsReplicated
bool IsReplicated() const
Return whether the node is replicated or local to a scene.
Definition: Node.cpp:1373
Urho3D::CrowdAgent::HasArrived
bool HasArrived() const
Return true when the agent has arrived at its target.
Definition: CrowdAgent.cpp:503
Urho3D::Button
Push button UI element.
Definition: Button.h:31
Urho3D::UIElement::OnResize
virtual void OnResize(const IntVector2 &newSize, const IntVector2 &delta)
React to resize.
Definition: UIElement.h:192
Urho3D::RigidBody::physicsWorld_
WeakPtr< PhysicsWorld > physicsWorld_
Physics world.
Definition: RigidBody.h:275
Urho3D::SharedPtr::~SharedPtr
~SharedPtr() noexcept
Destruct. Release the object reference.
Definition: Ptr.h:80
Urho3D::PODVector::Begin
Iterator Begin()
Return iterator to the beginning.
Definition: Vector.h:1120
Urho3D::StaticSprite2D::GetHotSpot
const Vector2 & GetHotSpot() const
Return hot spot.
Definition: StaticSprite2D.h:113
Urho3D::Texture3D::SetData
bool SetData(unsigned level, int x, int y, int z, int width, int height, int depth, const void *data)
Set data either partially or fully on a mip level. Return true if successful.
Definition: OGLTexture3D.cpp:87
Urho3D::AnimationTrack::name_
String name_
Bone or scene node name.
Definition: Animation.h:92
Urho3D::ConstraintWeld2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintWeld2D.cpp:97
Urho3D::Node::GetComponentsRecursive
void GetComponentsRecursive(PODVector< Component * > &dest, StringHash type) const
Return specific components recursively.
Definition: Node.cpp:2158
Urho3D::CrowdManager::HandleSceneSubsystemUpdate
void HandleSceneSubsystemUpdate(StringHash eventType, VariantMap &eventData)
Handle the scene subsystem update event.
Definition: CrowdManager.cpp:695
Urho3D::AnimatedModel::animationLodTimer_
float animationLodTimer_
Animation LOD timer.
Definition: AnimatedModel.h:239
Urho3D::Renderer::HandleRenderUpdate
void HandleRenderUpdate(StringHash eventType, VariantMap &eventData)
Handle render update event.
Definition: Renderer.cpp:1954
Urho3D::Constraint::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: Constraint.cpp:425
Urho3D::FileSelector::SetLineEditText
void SetLineEditText(LineEdit *edit, const String &text)
Set the text of an edit field and ignore the resulting event.
Definition: FileSelector.cpp:280
Urho3D::Color::ARGB
static const ChannelMask ARGB
Mask for 0xAARRGGBB layout.
Definition: Color.h:51
Urho3D::UIElement::RemoveAllChildren
void RemoveAllChildren()
Remove all child elements.
Definition: UIElement.cpp:1395
Urho3D::Camera::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: Camera.cpp:109
Urho3D::Constraint::cfm_
float cfm_
Constraint force mixing parameter.
Definition: Constraint.h:197
Urho3D::AnimatedSprite2D::SetAnimationSetAttr
void SetAnimationSetAttr(const ResourceRef &value)
Set animation set attribute.
Definition: AnimatedSprite2D.cpp:201
Urho3D::VariantAttributeAccessorImpl::Set
void Set(Serializable *ptr, const Variant &value) override
Invoke setter function.
Definition: Serializable.h:168
Urho3D::ResourceCache::GetExistingResource
Resource * GetExistingResource(StringHash type, const String &name)
Return an already loaded resource of specific type & name, or null if not found. Will not load if doe...
Definition: ResourceCache.cpp:542
Urho3D::File::writeSyncNeeded_
bool writeSyncNeeded_
Synchronization needed before write -flag.
Definition: File.h:147
Urho3D::WorkQueue::pausing_
std::atomic< bool > pausing_
Pausing flag. Indicates the worker threads should not contend for the queue mutex.
Definition: WorkQueue.h:142
Urho3D::FileSelector::GetFilterIndex
unsigned GetFilterIndex() const
Return current filter index.
Definition: FileSelector.cpp:275
Urho3D::Graphics::SetOrientations
void SetOrientations(const String &orientations)
Set allowed screen orientations as a space-separated list of "LandscapeLeft", "LandscapeRight",...
Definition: Graphics.cpp:100
Urho3D::DebugRenderer::AddFrustum
void AddFrustum(const Frustum &frustum, const Color &color, bool depthTest=true)
Add a frustum.
Definition: DebugRenderer.cpp:226
Urho3D::RaycastVehicle::GetWheelDataAttr
VariantVector GetWheelDataAttr() const
Get wheel data attribute for serialization.
Definition: RaycastVehicle.cpp:720
Urho3D::SplinePath::controlPointIdsAttr_
VariantVector controlPointIdsAttr_
Control Point ID's for the SplinePath.
Definition: SplinePath.h:142
Urho3D::View::AddBatchToQueue
void AddBatchToQueue(BatchQueue &queue, Batch &batch, Technique *tech, bool allowInstancing=true, bool allowShadows=true)
Choose shaders for a batch and add it to queue.
Definition: View.cpp:2897
Urho3D::Node::Node
Node(Context *context)
Construct.
Definition: Node.cpp:48
Urho3D::UIElement::SetMaxHeight
void SetMaxHeight(int height)
Set maximum height.
Definition: UIElement.cpp:642
Urho3D::LuaFunction::~LuaFunction
~LuaFunction() override
Destruct.
Definition: LuaFunction.cpp:57
Urho3D::Deserializer::Seek
virtual unsigned Seek(unsigned position)=0
Set position from the beginning of the stream. Return actual new position.
Urho3D::Drawable2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: Drawable2D.cpp:60
Urho3D::NamedPipe::IsEof
bool IsEof() const override
Return whether pipe has no data available.
Definition: NamedPipe.cpp:349
Urho3D::Variant::Variant
Variant(long long value)
Construct from 64 bit integer.
Definition: Variant.h:337
Urho3D::ParticleEmitter::effect_
SharedPtr< ParticleEffect > effect_
Particle effect.
Definition: ParticleEmitter.h:134
Urho3D::ListView::IsExpanded
bool IsExpanded(unsigned index) const
Return whether an item at index has its children expanded (in hierarchy mode only).
Definition: ListView.cpp:931
Urho3D::PhysicsWorld::PreStep
void PreStep(float timeStep)
Trigger update before each physics simulation step.
Definition: PhysicsWorld.cpp:800
Urho3D::RigidBody::SetMass
void SetMass(float mass)
Set mass. Zero mass makes the body static.
Definition: RigidBody.cpp:214
Urho3D::Light::shadowNearFarRatio_
float shadowNearFarRatio_
Shadow camera near/far clip distance ratio.
Definition: Light.h:389
Urho3D::Animation
Skeletal animation resource.
Definition: Animation.h:117
Urho3D::RenderTargetSizeMode
RenderTargetSizeMode
Rendertarget size mode.
Definition: RenderPath.h:60
Urho3D::BorderImage::blendMode_
BlendMode blendMode_
Blend mode flag.
Definition: BorderImage.h:129
Urho3D::Animatable::GetObjectAnimationAttr
ResourceRef GetObjectAnimationAttr() const
Return object animation attribute.
Definition: Animatable.cpp:461
Urho3D::AnimationController::FindAnimation
void FindAnimation(const String &name, unsigned &index, AnimationState *&state) const
Find the internal index and animation state of an animation.
Definition: AnimationController.cpp:887
Urho3D::Viewport::~Viewport
~Viewport() override
Destruct.
Urho3D::DebugRenderer::projection_
Matrix4 projection_
Projection transform.
Definition: DebugRenderer.h:186
Urho3D::Matrix4::ToString
String ToString() const
Return as string.
Definition: Matrix4.cpp:136
Urho3D::Animatable::HandleAttributeAnimationAdded
void HandleAttributeAnimationAdded(StringHash eventType, VariantMap &eventData)
Handle attribute animation added.
Definition: Animatable.cpp:547
Urho3D::ScrollBar::scrollStep_
float scrollStep_
Scroll step.
Definition: ScrollBar.h:108
Urho3D::HashMap::ReserveNode
Node * ReserveNode(const T &key, const U &value)
Reserve a node with specified key and value.
Definition: HashMap.h:751
Urho3D::WorkQueue::workItems_
List< SharedPtr< WorkItem > > workItems_
Work item collection. Accessed only by the main thread.
Definition: WorkQueue.h:134
Urho3D::BillboardSet::sorted_
bool sorted_
Billboards sorted flag.
Definition: BillboardSet.h:166
Urho3D::LuaScriptInstance::GetScriptObjectType
const String & GetScriptObjectType() const
Return script object type.
Definition: LuaScriptInstance.h:125
Urho3D::RandomAccessIterator::URHO_CPP14
URHO_CPP14(constexpr) RandomAccessIterator< T > operator--(int)
Postdecrement the pointer.
Definition: Iter.h:74
Urho3D::IntVector2::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Vector2.h:150
Urho3D::Text::autoLocalizable_
bool autoLocalizable_
The text will be automatically translated.
Definition: Text.h:265
Urho3D::Node::WorldToLocal
Vector3 WorldToLocal(const Vector3 &position) const
Convert a world space position to local space.
Definition: Node.cpp:1206
Urho3D::TerrainPatch::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: TerrainPatch.cpp:73
Urho3D::Cursor::~Cursor
~Cursor() override
Destruct.
Definition: Cursor.cpp:90
Urho3D::Matrix3
3x3 matrix for rotation and scaling.
Definition: Matrix3.h:31
Urho3D::Cursor::SetShapesAttr
void SetShapesAttr(const VariantVector &value)
Set shapes attribute.
Definition: Cursor.cpp:215
Urho3D::LuaFunction::GetFunctionRef
int GetFunctionRef() const
Return function ref.
Definition: LuaFunction.h:99
Urho3D::SourceBatch::~SourceBatch
~SourceBatch()
Destruct.
Urho3D::Context::SetGlobalVar
void SetGlobalVar(StringHash key, const Variant &value)
Set global variable with the respective key and value.
Definition: Context.cpp:369
Urho3D::RenderPathCommand::useLitBase_
bool useLitBase_
Use lit base pass optimization for forward per-pixel lights.
Definition: RenderPath.h:182
Urho3D::FontFace::GetPointSize
float GetPointSize() const
Return point size.
Definition: FontFace.h:88
Urho3D::AsyncProgress::jsonFile_
SharedPtr< JSONFile > jsonFile_
JSON file for JSON mode.
Definition: Scene.h:64
Urho3D::DynamicNavigationMesh::ReleaseTileCache
void ReleaseTileCache()
Free the tile cache.
Definition: DynamicNavigationMesh.cpp:1063
Urho3D::BoundingBox::Clip
void Clip(const BoundingBox &box)
Clip with another bounding box. The box can become degenerate (undefined) as a result.
Definition: BoundingBox.cpp:94
Urho3D::TileMapObject2D::propertySet_
SharedPtr< PropertySet2D > propertySet_
Property set.
Definition: TileMapDefs2D.h:226
Urho3D::Network::SendPackageToClients
void SendPackageToClients(Scene *scene, PackageFile *package)
Trigger all client connections in the specified scene to download a package file from the server....
Definition: Network.cpp:618
Urho3D::Slider::SetRepeatRate
void SetRepeatRate(float rate)
Set paging minimum repeat rate (number of events per second).
Definition: Slider.cpp:204
Urho3D::RigidBody::SetAngularDamping
void SetAngularDamping(float damping)
Set angular velocity damping factor.
Definition: RigidBody.cpp:365
Urho3D::PropertySet2D
Property set.
Definition: TileMapDefs2D.h:105
Urho3D::HeightfieldData::size_
IntVector2 size_
Heightmap size.
Definition: CollisionShape.h:135
Urho3D::RayQueryResult::node_
Node * node_
Scene node.
Definition: OctreeQuery.h:217
Urho3D::List::ConstIterator::operator=
ConstIterator & operator=(const Iterator &rhs)
Assign from a non-const iterator.
Definition: List.h:125
Urho3D::AllocatorBlock::next_
AllocatorBlock * next_
Next allocator block.
Definition: Allocator.h:49
Urho3D::NodeImpl::dependencyNodes_
PODVector< Node * > dependencyNodes_
Nodes this node depends on for network updates.
Definition: Node.h:61
Urho3D::EmitterType
EmitterType
Particle emitter shapes.
Definition: ParticleEffect.h:34
Urho3D::Variant::GetVariantVectorPtr
VariantVector * GetVariantVectorPtr()
Return a pointer to a modifiable variant vector or null on type mismatch.
Definition: Variant.h:1354
Urho3D::Terrain::shadowMask_
unsigned shadowMask_
Shadow mask.
Definition: Terrain.h:305
Urho3D::AnimationSet2D::GetSpriterFileSprite
Sprite2D * GetSpriterFileSprite(int folderId, int fileId) const
Return spriter file sprite.
Definition: AnimationSet2D.cpp:212
Urho3D::UIElement::derivedColorDirty_
bool derivedColorDirty_
Derived color dirty flag (only used when no gradient).
Definition: UIElement.h:805
Urho3D::BatchGroupKey::lightQueue_
LightBatchQueue * lightQueue_
Light properties.
Definition: Batch.h:197
Urho3D::StaticSprite2D::SetFlipX
void SetFlipX(bool flipX)
Set flip X.
Definition: StaticSprite2D.cpp:142
Urho3D::AnimatedSprite2D::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post update.
Definition: AnimatedSprite2D.cpp:245
Urho3D::RigidBody::GetCenterOfMass
const Vector3 & GetCenterOfMass() const
Return center of mass offset.
Definition: RigidBody.h:208
Urho3D::ConstraintRope2D::GetMaxLength
float GetMaxLength() const
Return max length.
Definition: ConstraintRope2D.h:57
Urho3D::Color::ChannelMask::a_
unsigned a_
Alpha channel mask. If zero, alpha channel is set to 1.
Definition: Color.h:46
Urho3D::Viewport::camera_
WeakPtr< Camera > camera_
Camera pointer.
Definition: Viewport.h:103
Urho3D::ParticleEmitter::GetNumParticles
unsigned GetNumParticles() const
Return maximum number of particles.
Definition: ParticleEmitter.h:94
Urho3D::Shader::GetTimeStamp
unsigned GetTimeStamp() const
Return the latest timestamp of the shader code and its includes.
Definition: Shader.h:60
Urho3D::IKSolver::HandleSceneDrawableUpdateFinished
void HandleSceneDrawableUpdateFinished(StringHash eventType, VariantMap &eventData)
Invokes the IK solver.
Definition: IKSolver.cpp:723
Urho3D::SDBMHash
constexpr unsigned SDBMHash(unsigned hash, unsigned char c)
Update a hash with the given 8-bit value using the SDBM algorithm.
Definition: MathDefs.h:281
Urho3D::ParticleEffect::GetMaxDirection
const Vector3 & GetMaxDirection() const
Return positive direction limit.
Definition: ParticleEffect.h:260
Urho3D::Network::UnregisterRemoteEvent
void UnregisterRemoteEvent(StringHash eventType)
Unregister a remote event as allowed to received.
Definition: Network.cpp:603
Urho3D::Color::ChannelMask::r_
unsigned r_
Red channel mask. If zero, red channel is set to 0.
Definition: Color.h:40
Urho3D::Renderer::SetTextureAnisotropy
void SetTextureAnisotropy(int level)
Set default texture max anisotropy level.
Definition: Renderer.cpp:321
Urho3D::Profiler::BeginFrame
void BeginFrame()
Begin the profiling frame. Called by HandleBeginFrame().
Definition: Profiler.cpp:49
Urho3D::CollisionChain2D::GetLoop
bool GetLoop() const
Return loop.
Definition: CollisionChain2D.h:54
Urho3D::AttributeAnimationInfo::AttributeAnimationInfo
AttributeAnimationInfo(Animatable *animatable, const AttributeInfo &attributeInfo, ValueAnimation *attributeAnimation, WrapMode wrapMode, float speed)
Construct.
Definition: Animatable.cpp:42
Urho3D::Camera::autoAspectRatio_
bool autoAspectRatio_
Auto aspect ratio flag.
Definition: Camera.h:276
Urho3D::WString::buffer_
wchar_t * buffer_
String buffer, null if not allocated.
Definition: Str.h:625
Urho3D::Skeleton::Reset
void Reset()
Reset all animating bones to initial positions.
Definition: Skeleton.cpp:129
Urho3D::RibbonTrail::startEndTailTime_
float startEndTailTime_
The time the tail become end of trail.
Definition: RibbonTrail.h:254
Urho3D::UIElement::SetMinHeight
void SetMinHeight(int height)
Set minimum height.
Definition: UIElement.cpp:620
Urho3D::Batch::material_
Material * material_
Material.
Definition: Batch.h:90
Urho3D::Tile2D::GetFlipX
bool GetFlipX() const
Return flip X.
Definition: TileMapDefs2D.h:140
Urho3D::Sprite2D::offset_
IntVector2 offset_
Offset (for trimmed sprite).
Definition: Sprite2D.h:103
Urho3D::Graphics::stencilWriteMask_
unsigned stencilWriteMask_
Stencil write bitmask.
Definition: Graphics.h:839
Urho3D::List::Node::Prev
Node * Prev()
Return previous node.
Definition: List.h:54
Urho3D::Octant::drawables_
PODVector< Drawable * > drawables_
Drawable objects.
Definition: Octree.h:140
Urho3D::Spriter::SpriterData
Spriter data.
Definition: SpriterData2D.h:55
Urho3D::RigidBody::inWorld_
bool inWorld_
Body exists in world flag.
Definition: RigidBody.h:307
Urho3D::PhysicsWorld::SetFps
void SetFps(int fps)
Set simulation substeps per second.
Definition: PhysicsWorld.cpp:313
Urho3D::Octant::~Octant
virtual ~Octant()
Destruct. Move drawables to root if available (detach if not) and free child octants.
Definition: Octree.cpp:80
Urho3D::LightVSVariation
LightVSVariation
Light vertex shader variations.
Definition: Renderer.h:63
Urho3D::IKEffector::Feature
Feature
Definition: IKEffector.h:42
Urho3D::View::GetRenderer
Renderer * GetRenderer() const
Return renderer subsystem.
Definition: View.cpp:679
Urho3D::Zone::ambientEndColor_
Color ambientEndColor_
Cached ambient end color.
Definition: Zone.h:152
Urho3D::ParticleEffect2D::WriteInt
void WriteInt(XMLElement &element, const String &name, int value) const
Write integer.
Definition: ParticleEffect2D.cpp:542
Urho3D::CursorShapeInfo::texture_
SharedPtr< Texture > texture_
Texture.
Definition: Cursor.h:80
Urho3D::UI::Render
void Render(bool renderUICommand=false)
Render the UI. If renderUICommand is false (default), is assumed to be the default UI render to backb...
Definition: UI.cpp:483
Urho3D::UIBatch::vertexData_
PODVector< float > * vertexData_
Vertex data.
Definition: UIBatch.h:87
Urho3D::Serializable::GetAttributeDefault
Variant GetAttributeDefault(unsigned index) const
Return attribute default value by index. Return empty if illegal index.
Definition: Serializable.cpp:946
Urho3D::UnknownComponent::GetUseXML
bool GetUseXML() const
Return whether was loaded using XML data.
Definition: UnknownComponent.h:74
Urho3D::NavBuildData::offMeshFlags_
PODVector< unsigned short > offMeshFlags_
Offmesh connection flags.
Definition: NavBuildData.h:72
Urho3D::CrowdAgent::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Definition: CrowdAgent.cpp:622
Urho3D::ListNodeBase
Doubly-linked list node base class.
Definition: ListBase.h:38
Urho3D::Particle2D::timeToLive_
float timeToLive_
Time to live.
Definition: ParticleEmitter2D.h:37
Urho3D::Octant::worldBoundingBox_
BoundingBox worldBoundingBox_
World bounding box.
Definition: Octree.h:136
Urho3D::ListView::HandleFocusChanged
void HandleFocusChanged(StringHash eventType, VariantMap &eventData)
Handle focus changed.
Definition: ListView.cpp:1148
Urho3D::AnimatedModel::SetAnimationLodBias
void SetAnimationLodBias(float bias)
Set animation LOD bias.
Definition: AnimatedModel.cpp:539
Urho3D::NavigationMesh::Build
virtual bool Build()
Rebuild the navigation mesh. Return true if successful.
Definition: NavigationMesh.cpp:384
Urho3D::Geometry::GetRawData
void GetRawData(const unsigned char *&vertexData, unsigned &vertexSize, const unsigned char *&indexData, unsigned &indexSize, const PODVector< VertexElement > *&elements) const
Return raw vertex and index data for CPU operations, or null pointers if not available....
Definition: Geometry.cpp:212
Urho3D::Vector4::Abs
Vector4 Abs() const
Return absolute vector.
Definition: Vector4.h:183
Urho3D::Controls::IsPressed
bool IsPressed(unsigned button, const Controls &previousControls) const
Check if a button was pressed on this frame. Requires previous frame's controls.
Definition: Controls.h:58
Urho3D::RibbonTrail::GetMaterial
Material * GetMaterial() const
Return material.
Definition: RibbonTrail.cpp:901
Urho3D::HashMap::KeyValue::second_
U second_
Value.
Definition: HashMap.h:78
Urho3D::RenderSurface::updateQueued_
bool updateQueued_
Update queued flag.
Definition: RenderSurface.h:156
Urho3D::FONT_HINT_LEVEL_NORMAL
@ FONT_HINT_LEVEL_NORMAL
Full hinting, using either the font's own hinting or FreeType's auto-hinter.
Definition: UI.h:45
Urho3D::Light::shadowCascade_
CascadeParameters shadowCascade_
Directional light cascaded shadow parameters.
Definition: Light.h:359
Urho3D::Renderer::HandleScreenMode
void HandleScreenMode(StringHash eventType, VariantMap &eventData)
Handle screen mode event.
Definition: Renderer.cpp:1946
Urho3D::Animation::GetTrack
AnimationTrack * GetTrack(unsigned index)
Return animation track by index.
Definition: Animation.cpp:389
Urho3D::RefCount::~RefCount
~RefCount()
Destruct.
Definition: RefCounted.h:45
Urho3D::RibbonTrail::animationLodBias_
float animationLodBias_
Animation LOD bias.
Definition: RibbonTrail.h:184
Urho3D::AnimatedModel::SetUpdateInvisible
void SetUpdateInvisible(bool enable)
Set whether to update animation and the bounding box when not visible. Recommended to enable for phys...
Definition: AnimatedModel.cpp:545
Urho3D::TileMapObject2D::GetObjectType
TileMapObjectType2D GetObjectType() const
Return type.
Definition: TileMapDefs2D.h:171
Urho3D::Material::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: Material.cpp:388
Urho3D::DecalSet::UpdateSkinning
void UpdateSkinning()
Recalculate skinning.
Definition: DecalSet.cpp:1072
Urho3D::BatchQueue::Clear
void Clear(int maxSortedInstances)
Clear for new frame by clearing all groups and batches.
Definition: Batch.cpp:720
Urho3D::Engine::DoExit
void DoExit()
Actually perform the exit actions.
Definition: Engine.cpp:985
Urho3D::UI::GetUseMutableGlyphs
bool GetUseMutableGlyphs() const
Return whether is using mutable (eraseable) glyphs for fonts.
Definition: UI.h:200
Urho3D::ScriptInstance::GetScriptNetworkDataAttr
PODVector< unsigned char > GetScriptNetworkDataAttr() const
Get script network serialization attribute by calling a script function.
Definition: ScriptInstance.cpp:518
Urho3D::LuaScriptInstance::SubscribeToScriptMethodEvents
void SubscribeToScriptMethodEvents()
Subscribe to script method events.
Definition: LuaScriptInstance.cpp:618
Urho3D::ParticleEffect2D::GetMinRadiusVariance
float GetMinRadiusVariance() const
Return min radius variance.
Definition: ParticleEffect2D.h:218
Urho3D::Text3D::usingSDFShader_
bool usingSDFShader_
Flag for whether currently using SDF shader defines in the generated material.
Definition: Text3D.h:214
Urho3D::MessageBox::window_
UIElement * window_
UI element containing the whole UI layout. Typically it is a Window element type.
Definition: MessageBox.h:67
Urho3D::PhysicsRaycastResult::distance_
float distance_
Hit distance from ray origin.
Definition: PhysicsWorld.h:73
Urho3D::WeakPtr::DynamicCast
void DynamicCast(const WeakPtr< U > &rhs)
Perform a dynamic cast from a weak pointer of another type.
Definition: Ptr.h:465
Urho3D::Serializer::WriteByte
bool WriteByte(signed char value)
Write an 8-bit integer.
Definition: Serializer.cpp:51
Urho3D::Zone::lastAmbientEndZone_
WeakPtr< Zone > lastAmbientEndZone_
Last zone used for ambient gradient end color.
Definition: Zone.h:170
Urho3D::View::RenderShadowMap
void RenderShadowMap(const LightBatchQueue &queue)
Render a shadow map.
Definition: View.cpp:3059
Urho3D::AnimatedModel::SetAnimationStatesAttr
void SetAnimationStatesAttr(const VariantVector &value)
Set animation states attribute.
Definition: AnimatedModel.cpp:813
Urho3D::MessageBox::GetWindow
UIElement * GetWindow() const
Return dialog window.
Definition: MessageBox.h:60
Urho3D::Engine::Update
void Update()
Send frame update events.
Definition: Engine.cpp:684
Urho3D::View::RenderQuad
void RenderQuad(RenderPathCommand &command)
Perform a quad rendering command.
Definition: View.cpp:1839
Urho3D::Model::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: Model.cpp:368
Urho3D::CharLocation::position_
Vector2 position_
Position.
Definition: Text.h:50
Urho3D::Variant::GetUInt64
unsigned long long GetUInt64() const
Return unsigned 64 bit int or zero on type mismatch. Floats and doubles are converted.
Definition: Variant.h:1115
Urho3D::Node::listeners_
Vector< WeakPtr< Component > > listeners_
Node listeners.
Definition: Node.h:701
Urho3D::Text::textEffect_
TextEffect textEffect_
Text effect.
Definition: Text.h:239
Urho3D::Light::shadowResolution_
float shadowResolution_
Shadow resolution.
Definition: Light.h:387
Urho3D::AnimationState::weight_
float weight_
Blending weight.
Definition: AnimationState.h:171
Urho3D::Node::GetWorldScale2D
Vector2 GetWorldScale2D() const
Return scale in world space (for Urho2D).
Definition: Node.h:477
Urho3D::DelayedWorldTransform::rigidBody_
RigidBody * rigidBody_
Rigid body.
Definition: PhysicsWorld.h:84
Urho3D::ParticleEffect::SetMinRotationSpeed
void SetMinRotationSpeed(float speed)
Set particle minimum rotation speed.
Definition: ParticleEffect.cpp:570
Urho3D::IntVector2::ZERO
static const IntVector2 ZERO
Zero vector.
Definition: Vector2.h:161
Urho3D::Drawable::shadowDistance_
float shadowDistance_
Shadow distance.
Definition: Drawable.h:369
Urho3D::NavBuildData::worldBoundingBox_
BoundingBox worldBoundingBox_
World-space bounding box of the navigation mesh tile.
Definition: NavBuildData.h:62
Urho3D::Texture2DArray::loadImages_
Vector< SharedPtr< Image > > loadImages_
Layer image files acquired during BeginLoad.
Definition: Texture2DArray.h:92
Urho3D::VertexBuffer::HasElement
bool HasElement(VertexElementType type, VertexElementSemantic semantic, unsigned char index=0) const
Return whether has an element semantic with specific type.
Definition: VertexBuffer.h:94
Urho3D::SpriteSheet2D::loadPListFile_
SharedPtr< PListFile > loadPListFile_
PList file used while loading.
Definition: SpriteSheet2D.h:88
Urho3D::LuaFunction::LuaFunction
LuaFunction(lua_State *L, int index)
Construct from a Lua function object at the specified stack index.
Definition: LuaFunction.cpp:39
Urho3D::PointOctreeQuery::point_
Vector3 point_
Point.
Definition: OctreeQuery.h:90
Urho3D::SharedArrayPtr::operator<
bool operator<(const SharedArrayPtr< T > &rhs) const
Test for less than with another array pointer.
Definition: ArrayPtr.h:126
Urho3D::TileMapLayer2D::GetImageNode
Node * GetImageNode() const
Return image node (for image layer only).
Definition: TileMapLayer2D.cpp:330
Urho3D::Rect::IsInside
Intersection IsInside(const Vector2 &point) const
Test whether a point is inside.
Definition: Rect.h:212
Urho3D::Renderer::defaultLightSpot_
SharedPtr< Texture2D > defaultLightSpot_
Default spotlight attenuation texture.
Definition: Renderer.h:494
Urho3D::OggVorbisSoundStream::dataSize_
unsigned dataSize_
Compressed sound data size in bytes.
Definition: OggVorbisSoundStream.h:54
Urho3D::XMLElement::SetResourceRef
bool SetResourceRef(const ResourceRef &value)
Set a resource reference attribute.
Definition: XMLElement.cpp:444
Urho3D::View::GetCullCamera
Camera * GetCullCamera() const
Return culling camera. Normally same as the viewport camera.
Definition: View.h:145
Urho3D::Animation::RemoveTrigger
void RemoveTrigger(unsigned index)
Remove a trigger point by index.
Definition: Animation.cpp:358
Urho3D::AnimatedModel::skinMatrices_
PODVector< Matrix3x4 > skinMatrices_
Skinning matrices.
Definition: AnimatedModel.h:221
Urho3D::AnimatedModel::UpdateMorphs
void UpdateMorphs()
Reapply all vertex morphs.
Definition: AnimatedModel.cpp:1342
Urho3D::ConstraintMotor2D::SetAngularOffset
void SetAngularOffset(float angularOffset)
Set angular offset.
Definition: ConstraintMotor2D.cpp:74
Urho3D::CollisionBox2D::~CollisionBox2D
~CollisionBox2D() override
Destruct.
Urho3D::UIElement::IsInsideCombined
bool IsInsideCombined(IntVector2 position, bool isScreen)
Return whether a point (either in element or screen coordinates) is inside the combined rect of the e...
Definition: UIElement.cpp:1749
Urho3D::View::GetDepthStencil
RenderSurface * GetDepthStencil(RenderSurface *renderTarget)
Return the proper depth-stencil surface to use for a rendertarget.
Definition: View.cpp:3141
Urho3D::DebugRenderer::AddCylinder
void AddCylinder(const Vector3 &position, float radius, float height, const Color &color, bool depthTest=true)
Add a cylinder.
Definition: DebugRenderer.cpp:335
Urho3D::Variant::GetVoidPtr
void * GetVoidPtr() const
Return void pointer or null on type mismatch. RefCounted pointer will be converted.
Definition: Variant.h:1209
Urho3D::HashSet::Clear
void Clear()
Clear the set.
Definition: HashSet.h:393
Urho3D::UI::SetUseSystemClipboard
void SetUseSystemClipboard(bool enable)
Set whether to use system clipboard. Default false.
Definition: UI.cpp:681
Urho3D::Vector4::DotProduct
float DotProduct(const Vector4 &rhs) const
Calculate dot product.
Definition: Vector4.h:171
Urho3D::HashMap::Hash
unsigned Hash(const T &key) const
Compute a hash based on the key and the bucket size.
Definition: HashMap.h:781
Urho3D::Bone::boundingBox_
BoundingBox boundingBox_
Local-space bounding box.
Definition: Skeleton.h:80
Urho3D::Log::lastMessage_
String lastMessage_
Last log message.
Definition: Log.h:122
Urho3D::Vector3::LengthSquared
float LengthSquared() const
Return squared length.
Definition: Vector3.h:348
Urho3D::Node::SetScale2D
void SetScale2D(float x, float y)
Set scale in parent space (for Urho2D).
Definition: Node.h:158
Urho3D::CrowdAgent::requestedTargetType_
CrowdAgentRequestedTarget requestedTargetType_
Requested target type.
Definition: CrowdAgent.h:212
Urho3D::CustomGeometry::geometries_
Vector< SharedPtr< Geometry > > geometries_
All geometries.
Definition: CustomGeometry.h:168
Urho3D::PhysicsWorld::SetDebugDepthTest
void SetDebugDepthTest(bool enable)
Set debug geometry depth test mode. Called both by PhysicsWorld itself and physics components.
Definition: PhysicsWorld.cpp:766
Urho3D::Vector::operator+=
Vector< T > & operator+=(const T &rhs)
Add-assign an element.
Definition: Vector.h:131
Urho3D::DelayedWorldTransform2D
Delayed world transform assignment for parented 2D rigidbodies.
Definition: PhysicsWorld2D.h:57
Urho3D::AnimatedSprite2D::SetSpeed
void SetSpeed(float speed)
Set speed.
Definition: AnimatedSprite2D.cpp:190
Urho3D::FileSelector::SetDirectoryMode
void SetDirectoryMode(bool enable)
Set directory selection mode. Default false.
Definition: FileSelector.cpp:241
Urho3D::File::offset_
unsigned offset_
Start position within a package file, 0 for regular files.
Definition: File.h:139
Urho3D::UIElement::colorGradient_
bool colorGradient_
Has color gradient flag.
Definition: UIElement.h:809
Urho3D::Tile2D::sprite_
SharedPtr< Sprite2D > sprite_
Sprite.
Definition: TileMapDefs2D.h:159
Urho3D::OffMeshConnection::GetEndPoint
Node * GetEndPoint() const
Return endpoint node.
Definition: OffMeshConnection.cpp:120
Urho3D::ParticleEffect::GetMaxVelocity
float GetMaxVelocity() const
Return particle maximum velocity.
Definition: ParticleEffect.h:296
Urho3D::RenderPathCommand::tag_
String tag_
Tag name.
Definition: RenderPath.h:138
Urho3D::JSON_STRING
@ JSON_STRING
JSON string type.
Definition: JSONValue.h:42
Urho3D::SpriteSheet2D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: SpriteSheet2D.cpp:77
Urho3D::Connection::GetLogStatistics
bool GetLogStatistics() const
Return whether to log data in/out statistics.
Definition: Connection.h:207
Urho3D::UIElement::FindChild
unsigned FindChild(UIElement *element) const
Find child index. Return M_MAX_UNSIGNED if not found.
Definition: UIElement.cpp:1427
Urho3D::Context::globalVars_
VariantMap globalVars_
Variant map for global variables that can persist throughout application execution.
Definition: Context.h:246
Urho3D::Application::startupErrors_
String startupErrors_
Collected startup error log messages.
Definition: Application.h:66
Urho3D::List::InsertNode
void InsertNode(Node *dest, const T &value)
Allocate and insert a node into the list.
Definition: List.h:431
Urho3D::Texture3D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Texture3D.cpp:57
Urho3D::TmxFile2D
Tile map file.
Definition: TmxFile2D.h:157
Urho3D::UIElement::SetPriority
void SetPriority(int priority)
Set priority.
Definition: UIElement.cpp:843
Urho3D::String::Capacity
unsigned Capacity() const
Return buffer capacity.
Definition: Str.h:431
Urho3D::Particle2D::emitRotationDelta_
float emitRotationDelta_
Emit rotation delta.
Definition: ParticleEmitter2D.h:72
Urho3D::Material::Load
bool Load(const XMLElement &source)
Load from an XML element. Return true if successful.
Definition: Material.cpp:397
Urho3D::UIElement::GetRoot
UIElement * GetRoot() const
Return root element.
Definition: UIElement.cpp:1673
Urho3D::TypeInfo::GetType
StringHash GetType() const
Return type.
Definition: Object.h:54
Urho3D::Color::Range
float Range() const
Return range, defined as the difference between the greatest and least RGB component.
Definition: Color.cpp:213
Urho3D::Image::sRGB_
bool sRGB_
Data is sRGB.
Definition: Image.h:230
Urho3D::TextureCube::HandleRenderSurfaceUpdate
void HandleRenderSurfaceUpdate(StringHash eventType, VariantMap &eventData)
Handle render surface update event.
Definition: TextureCube.cpp:336
Urho3D::Node::GetWorldDirection
Vector3 GetWorldDirection() const
Return direction in world space.
Definition: Node.h:438
Urho3D::NamedPipe::Open
bool Open(const String &pipeName, bool isServer)
Open the pipe in either server or client mode. If already open, the existing pipe is closed....
Definition: NamedPipe.cpp:210
Urho3D::SharedArrayPtr::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: ArrayPtr.h:171
Urho3D::Resource::SetMemoryUse
void SetMemoryUse(unsigned size)
Set memory use in bytes, possibly approximate.
Definition: Resource.cpp:105
Urho3D::UnknownComponent::typeName_
String typeName_
Type name of the stored component.
Definition: UnknownComponent.h:93
Urho3D::BackgroundLoader
Background loader of resources. Owned by the ResourceCache.
Definition: BackgroundLoader.h:53
Urho3D::ValueAnimation::SubstractAndMultiply
Variant SubstractAndMultiply(const Variant &value1, const Variant &value2, float t) const
Return (value1 - value2) * t.
Definition: ValueAnimation.cpp:513
Urho3D::ToolTip::displayAt_
Timer displayAt_
Point at which the tooltip was set visible.
Definition: ToolTip.h:69
Urho3D::ScriptEventInvoker::~ScriptEventInvoker
~ScriptEventInvoker() override
Destructor, release the ref it we still hold it.
Definition: ScriptFile.cpp:1035
Urho3D::Text::GetRowSpacing
float GetRowSpacing() const
Return row spacing.
Definition: Text.h:142
Urho3D::AnimationState::IsLooped
bool IsLooped() const
Return whether looped.
Definition: AnimationState.h:130
Urho3D::ResourceRequest
ResourceRequest
Resource request types.
Definition: ResourceCache.h:62
Urho3D::Window::GetModalFrameSize
const IntVector2 & GetModalFrameSize() const
Get modal frame size.
Definition: Window.h:125
Urho3D::Graphics::GetStencilPass
StencilOp GetStencilPass() const
Return stencil operation to do if stencil test passes.
Definition: Graphics.h:543
Urho3D::Renderer
High-level rendering subsystem. Manages drawing of 3D views.
Definition: Renderer.h:175
Urho3D::PhysicsWorld2D::ContactInfo::shapeB_
SharedPtr< CollisionShape2D > shapeB_
Shape B.
Definition: PhysicsWorld2D.h:267
Urho3D::ResourceRef::ResourceRef
ResourceRef(const char *type, const char *name)
Construct with type and resource name.
Definition: Variant.h:115
Urho3D::List::Back
T & Back()
Return last element.
Definition: List.h:412
Urho3D::Console::UpdateElements
void UpdateElements()
Update elements to layout properly. Call this after manually adjusting the sub-elements.
Definition: Console.cpp:272
Urho3D::Geometry::GetIndexCount
unsigned GetIndexCount() const
Return number of indices.
Definition: Geometry.h:89
Urho3D::WindowModeParams::width_
int width_
Width of the window. 0 to pick automatically.
Definition: Graphics.h:131
Urho3D::UIElement::GetMinWidth
int GetMinWidth() const
Return minimum width.
Definition: UIElement.h:424
Urho3D::RigidBody::compoundShape_
UniquePtr< btCompoundShape > compoundShape_
Bullet compound collision shape.
Definition: RigidBody.h:271
Urho3D::DropDownList::DropDownList
DropDownList(Context *context)
Construct.
Definition: DropDownList.cpp:42
Urho3D::DbConnection
Database connection.
Definition: ODBCConnection.h:34
Urho3D::EventProfiler::IsActive
static bool IsActive()
Return true if active.
Definition: EventProfiler.h:73
Urho3D::Color::ToVector3
Vector3 ToVector3() const
Return RGB as a three-dimensional vector.
Definition: Color.h:162
Urho3D::NetworkPriority::GetDistanceFactor
float GetDistanceFactor() const
Return priority reduction distance factor.
Definition: NetworkPriority.h:56
Urho3D::Scene::varNames_
HashMap< StringHash, String > varNames_
Registered node user variable reverse mappings.
Definition: Scene.h:302
Urho3D::DbConnection::GetConnectionImpl
const sqlite3 * GetConnectionImpl() const
Return the underlying implementation connection object pointer. It is sqlite* when using SQLite3 or n...
Definition: SQLiteConnection.h:53
Urho3D::Spriter::SpriterInstance::SpriterInstance
SpriterInstance(Component *owner, SpriterData *spriteData)
Constructor with spriter data.
Definition: SpriterInstance2D.cpp:38
Urho3D::RigidBody::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: RigidBody.cpp:925
Urho3D::ScrollBar::backButton_
SharedPtr< Button > backButton_
Back button.
Definition: ScrollBar.h:102
Urho3D::XMLElement::GetBoundingBox
BoundingBox GetBoundingBox() const
Return bounding box attribute, or empty if missing.
Definition: XMLElement.cpp:759
Urho3D::Deserializer::ReadFloat
float ReadFloat()
Read a float.
Definition: Deserializer.cpp:124
Urho3D::UI::touchDragElements_
HashMap< WeakPtr< UIElement >, MouseButtonFlags > touchDragElements_
UI elements that are being touched with touch input.
Definition: UI.h:433
Urho3D::FontFaceBitmap::Load
bool Load(const unsigned char *fontData, unsigned fontDataSize, float pointSize) override
Load font face.
Definition: FontFaceBitmap.cpp:51
Urho3D::ParticleEffect2D::SetRotatePerSecond
void SetRotatePerSecond(float rotatePerSecond)
Set rotate per second.
Definition: ParticleEffect2D.cpp:439
Urho3D::StaticModelGroup
Renders several object instances while culling and receiving light as one unit. Can be used as a CPU-...
Definition: StaticModelGroup.h:31
Urho3D::List::Insert
void Insert(const Iterator &dest, const T &value)
Insert an element at position.
Definition: List.h:286
Urho3D::Quaternion::Quaternion
Quaternion() noexcept
Construct an identity quaternion.
Definition: Quaternion.h:39
Urho3D::Node::RemoveComponents
void RemoveComponents()
Template version of removing all components of specific type.
Definition: Node.h:722
Urho3D::Texture3D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Texture3D.cpp:62
Urho3D::RenderCommandType
RenderCommandType
Rendering path command types.
Definition: RenderPath.h:40
Urho3D::OcclusionBuffer::viewProj_
Matrix4 viewProj_
Combined view and projection matrix.
Definition: OcclusionBuffer.h:207
Urho3D::StaticSprite2D::UpdateMaterial
void UpdateMaterial()
Update material.
Definition: StaticSprite2D.cpp:348
Urho3D::VertexBufferMorph::elementMask_
VertexMaskFlags elementMask_
Vertex elements.
Definition: Model.h:44
Urho3D::Vector::Find
ConstIterator Find(const T &value) const
Return const iterator to value, or to the end if not found.
Definition: Vector.h:474
Urho3D::Renderer::SetBatchShaders
void SetBatchShaders(Batch &batch, Technique *tech, bool allowShadows, const BatchQueue &queue)
Choose shaders for a forward rendering batch. The related batch queue is provided in case it has extr...
Definition: Renderer.cpp:1162
Urho3D::Slider::GetRange
float GetRange() const
Return slider range.
Definition: Slider.h:82
Urho3D::DynamicNavBuildData::contourSet_
dtTileCacheContourSet * contourSet_
TileCache specific recast contour set.
Definition: NavBuildData.h:110
Urho3D::DropDownList::InsertItem
void InsertItem(unsigned index, UIElement *item)
Insert item to a specific position.
Definition: DropDownList.cpp:159
Urho3D::HashSet::HashSet
HashSet(const std::initializer_list< T > &list)
Aggregate initialization constructor.
Definition: HashSet.h:198
Urho3D::Graphics::GetFloat32Format
static unsigned GetFloat32Format()
Return the API-specific single channel 32-bit float texture format.
Definition: OGLGraphics.cpp:2652
Urho3D::Graphics::stencilTest_
bool stencilTest_
Stencil test enable flag.
Definition: Graphics.h:843
Urho3D::MessageBox::SetMessage
void SetMessage(const String &text)
Set message text. No-ops if there is no message text element.
Definition: MessageBox.cpp:120
Urho3D::PListValue::ConvertToValueVector
PListValueVector & ConvertToValueVector()
Convert to value vector (internal use only).
Definition: PListFile.cpp:264
Urho3D::XPathQuery::SetQuery
bool SetQuery(const String &queryString, const String &variableString=String::EMPTY, bool bind=true)
Set XPath query string and variable string. The variable string format is "name1:type1,...
Definition: XMLElement.cpp:1114
Urho3D::ResourceWithMetadata::LoadMetadataFromJSON
void LoadMetadataFromJSON(const JSONArray &array)
Load metadata from JSON array.
Definition: Resource.cpp:169
Urho3D::Renderer::SetTextureQuality
void SetTextureQuality(MaterialQuality quality)
Set texture quality level. See the QUALITY constants in GraphicsDefs.h.
Definition: Renderer.cpp:331
Urho3D::Thread::Stop
void Stop()
Set the running flag to false and wait for the thread to finish.
Definition: Thread.cpp:97
Urho3D::VAnimKeyFrame::value_
Variant value_
Value.
Definition: ValueAnimation.h:53
Urho3D::Deserializer::ReadIntRect
IntRect ReadIntRect()
Read an IntRect.
Definition: Deserializer.cpp:138
Urho3D::RigidBody::Activate
void Activate()
Activate rigid body if it was resting.
Definition: RigidBody.cpp:576
Urho3D::TransformSpace
TransformSpace
Transform space for translations and rotations.
Definition: Node.h:50
Urho3D::Camera::orthographic_
bool orthographic_
Orthographic mode flag.
Definition: Camera.h:242
Urho3D::Script::MessageCallback
void MessageCallback(const asSMessageInfo *msg)
Log a message from the script engine.
Definition: Script.cpp:235
Urho3D::Spriter::Animation
Animation.
Definition: SpriterData2D.h:146
Urho3D::CheckBox::OnClickBegin
void OnClickBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse click begin.
Definition: CheckBox.cpp:75
Urho3D::Text::~Text
~Text() override
Destruct.
Urho3D::PListValue::GetIntVector2
IntVector2 GetIntVector2() const
Return IntVector2, for string type.
Definition: PListFile.cpp:222
Urho3D::Material::textures_
HashMap< TextureUnit, SharedPtr< Texture > > textures_
Textures.
Definition: Material.h:287
Urho3D::Renderer2D::cachedTechniques_
HashMap< int, SharedPtr< Technique > > cachedTechniques_
Cached techniques per blend mode.
Definition: Renderer2D.h:133
Urho3D::Graphics::EndFrame
void EndFrame()
End frame rendering and swap buffers.
Definition: OGLGraphics.cpp:625
Urho3D::Animatable::HandleAttributeAnimationRemoved
void HandleAttributeAnimationRemoved(StringHash eventType, VariantMap &eventData)
Handle attribute animation removed.
Definition: Animatable.cpp:562
Urho3D::Zone::inverseWorld_
Matrix3x4 inverseWorld_
Cached inverse world transform matrix.
Definition: Zone.h:136
Urho3D::Sound::sixteenBit_
bool sixteenBit_
Sixteen bit flag.
Definition: Sound.h:128
Urho3D::Terrain::IsVisible
bool IsVisible() const
Return visible flag.
Definition: Terrain.h:184
Urho3D::View::batchQueues_
HashMap< unsigned, BatchQueue > batchQueues_
Batch queues by pass index.
Definition: View.h:419
Urho3D::Material::techniques_
Vector< TechniqueEntry > techniques_
Techniques.
Definition: Material.h:285
Urho3D::Tile2D::GetSwapXY
bool GetSwapXY() const
Return swap X and Y.
Definition: TileMapDefs2D.h:144
Urho3D::EventHandler::Invoke
virtual void Invoke(VariantMap &eventData)=0
Invoke event handler function.
Urho3D::View::frame_
FrameInfo frame_
Information of the frame being rendered.
Definition: View.h:352
Urho3D::Node::Load
bool Load(Deserializer &source) override
Load from binary data. Return true if successful.
Definition: Node.cpp:96
Urho3D::LuaScript::ExecuteFunction
bool ExecuteFunction(const String &functionName)
Execute script function.
Definition: LuaScript.cpp:316
Urho3D::CollisionShape2D::CollisionShape2D
CollisionShape2D(Context *context)
Construct.
Definition: CollisionShape2D.cpp:38
Urho3D::Serializable::MarkNetworkUpdate
virtual void MarkNetworkUpdate()
Mark for attribute check on the next network update.
Definition: Serializable.h:82
Urho3D::IKSolver::Solve
void Solve()
Invokes the solver. The solution is applied back to the scene graph automatically.
Definition: IKSolver.cpp:399
Urho3D::AnimationKeyFrame::position_
Vector3 position_
Bone position.
Definition: Animation.h:58
Urho3D::WorkQueue::GetFreeItem
SharedPtr< WorkItem > GetFreeItem()
Get pointer to an usable WorkItem from the item pool. Allocate one if no more free items.
Definition: WorkQueue.cpp:108
Urho3D::JSONValue::Size
unsigned Size() const
Return size of array or number of keys in object.
Definition: JSONValue.cpp:242
Urho3D::VertexBuffer::elements_
PODVector< VertexElement > elements_
Vertex elements.
Definition: VertexBuffer.h:154
Urho3D::View::GetLightQueues
const Vector< LightBatchQueue > & GetLightQueues() const
Return light batch queues.
Definition: View.h:172
Urho3D::Graphics::SetWindowPosition
void SetWindowPosition(const IntVector2 &position)
Set window position. Sets initial position if window is not created yet.
Definition: Graphics.cpp:87
Urho3D::ScrollBar::stepFactor_
float stepFactor_
Step factor.
Definition: ScrollBar.h:110
Urho3D::AreaAllocator::doubleWidth_
bool doubleWidth_
The dimension use for next growth. Used internally.
Definition: AreaAllocator.h:68
Urho3D::RenderPath::RemoveRenderTargets
void RemoveRenderTargets(const String &tag)
Remove rendertargets by tag name.
Definition: RenderPath.cpp:457
Urho3D::ScriptEventInvoker
Helper class for forwarding events to script objects that are not part of a scene.
Definition: ScriptFile.h:158
Urho3D::Zone
Component that describes global rendering properties.
Definition: Zone.h:33
Urho3D::ScrollView::SetScrollBarsVisible
void SetScrollBarsVisible(bool horizontal, bool vertical)
Set scrollbars' visibility manually. Disables scrollbar autoshow/hide.
Definition: ScrollView.cpp:312
Urho3D::SoundSource3D::GetInnerAngle
float GetInnerAngle() const
Return inner angle in degrees.
Definition: SoundSource3D.h:72
Urho3D::CollisionShape::~CollisionShape
~CollisionShape() override
Destruct. Free the geometry data and clean up unused data from the geometry data cache.
Definition: CollisionShape.cpp:471
Urho3D::ParticleEffect::directionMax_
Vector3 directionMax_
Particle direction maximum.
Definition: ParticleEffect.h:381
Urho3D::Variant::GetStringVector
const StringVector & GetStringVector() const
Return a string vector or empty on type mismatch.
Definition: Variant.h:1238
Urho3D::Technique::CreatePass
Pass * CreatePass(const String &name)
Create a new pass.
Definition: Technique.cpp:408
Urho3D::UnknownComponent::useXML_
bool useXML_
Flag of whether was loaded using XML/JSON data.
Definition: UnknownComponent.h:101
Urho3D::Frustum::Transformed
Frustum Transformed(const Matrix3 &transform) const
Return transformed by a 3x3 matrix.
Definition: Frustum.cpp:189
Urho3D::FlagSet::operator&
FlagSet operator&(const Enum value) const
Bitwise AND against Enum value.
Definition: FlagSet.h:118
Urho3D::LineEdit::GetCharIndex
unsigned GetCharIndex(const IntVector2 &position)
Return char index corresponding to position within element, or M_MAX_UNSIGNED if not found.
Definition: LineEdit.cpp:620
Urho3D::AsyncProgress::mode_
LoadMode mode_
Current load mode.
Definition: Scene.h:73
Urho3D::Console::autoCompleteLine_
String autoCompleteLine_
Store the original line which is being auto-completed.
Definition: Console.h:186
Urho3D::HashMap::Node
Hash map node.
Definition: HashMap.h:82
Urho3D::Console::displayedRows_
unsigned displayedRows_
Maximum displayed rows.
Definition: Console.h:166
Urho3D::Sound::frequency_
unsigned frequency_
Default frequency.
Definition: Sound.h:124
Urho3D::CrowdManager::GetDetourQueryFilter
const dtQueryFilter * GetDetourQueryFilter(unsigned queryFilterType) const
Get the detour query filter.
Definition: CrowdManager.cpp:690
Urho3D::UIElement::SetEnabled
void SetEnabled(bool enable)
Set whether reacts to input. Default false, but is enabled by subclasses if applicable.
Definition: UIElement.cpp:887
Urho3D::CollisionShape2D::GetInertia
float GetInertia() const
Return inertia.
Definition: CollisionShape2D.cpp:266
Urho3D::PhysicsWorld2D::delayedWorldTransforms_
HashMap< RigidBody2D *, DelayedWorldTransform2D > delayedWorldTransforms_
Delayed (parented) world transform assignments.
Definition: PhysicsWorld2D.h:244
Urho3D::UIBatch::blendMode_
BlendMode blendMode_
Blending mode.
Definition: UIBatch.h:79
Urho3D::RigidBody2D::body_
b2Body * body_
Box2D body.
Definition: RigidBody2D.h:179
Urho3D::ParticleEffect2D::angle_
float angle_
Angle.
Definition: ParticleEffect2D.h:272
Urho3D::Text::Text
Text(Context *context)
Construct.
Definition: Text.cpp:54
Urho3D::PRIORITY_LAST
static const unsigned PRIORITY_LAST
Sets to priority so that a package or file is pushed to the end of the vector.
Definition: ResourceCache.h:41
Urho3D::Console::HandleCloseButtonPressed
void HandleCloseButtonPressed(StringHash eventType, VariantMap &eventData)
Handle close button being pressed.
Definition: Console.cpp:520
Urho3D::RigidBody::GetFriction
float GetFriction() const
Return friction coefficient.
Definition: RigidBody.cpp:663
Urho3D::Node::SetNetParentAttr
void SetNetParentAttr(const PODVector< unsigned char > &value)
Set network parent attribute.
Definition: Node.cpp:1475
Urho3D::NavigationMesh::SetCellHeight
void SetCellHeight(float height)
Set cell height.
Definition: NavigationMesh.cpp:241
Urho3D::BillboardSet::~BillboardSet
~BillboardSet() override
Destruct.
Urho3D::Spline
Spline class to get a point on it based off the interpolation mode.
Definition: Spline.h:49
Urho3D::Node::Yaw
void Yaw(float angle, TransformSpace space=TS_LOCAL)
Rotate around the Y axis.
Definition: Node.cpp:655
Urho3D::StringHashRegister::RegisterString
StringHash RegisterString(const StringHash &hash, const char *string)
Register string for hash reverse mapping. Could be used from StringHash ctor.
Definition: StringHashRegister.cpp:48
Urho3D::Window::modal_
bool modal_
Modal flag.
Definition: Window.h:159
Urho3D::Material::SetNumTechniques
void SetNumTechniques(unsigned num)
Set number of techniques.
Definition: Material.cpp:917
Urho3D::Graphics::primaryWindowMode_
WindowModeParams primaryWindowMode_
Definition: Graphics.h:721
Urho3D::Bone::name_
String name_
Bone name.
Definition: Skeleton.h:60
Urho3D::SoundSource3D::outerAngle_
float outerAngle_
Outer angle for directional attenuation.
Definition: SoundSource3D.h:88
Urho3D::Deserializer::ReadUInt
unsigned ReadUInt()
Read a 32-bit unsigned integer.
Definition: Deserializer.cpp:98
Urho3D::Technique::IsDesktop
bool IsDesktop() const
Return whether requires desktop level hardware.
Definition: Technique.h:219
Urho3D::UI::HandleScreenMode
void HandleScreenMode(StringHash eventType, VariantMap &eventData)
Handle screen mode event.
Definition: UI.cpp:1749
Urho3D::BorderImage
Image UI element with optional border.
Definition: BorderImage.h:35
Urho3D::Font::sdfFont_
bool sdfFont_
Signed distance field font flag.
Definition: Font.h:111
Urho3D::Network::SetSimulatedPacketLoss
void SetSimulatedPacketLoss(float probability)
Set simulated packet loss probability between 0.0 - 1.0.
Definition: Network.cpp:586
Urho3D::LuaScriptInstance::CreateObject
bool CreateObject(const String &scriptObjectType)
Create script object. Return true if successful.
Definition: LuaScriptInstance.cpp:380
Urho3D::FileSystem::SetCurrentDir
bool SetCurrentDir(const String &pathName)
Set the current working directory.
Definition: FileSystem.cpp:306
Urho3D::Texture::IsResolveDirty
bool IsResolveDirty() const
Return whether multisampled texture needs resolve.
Definition: Texture.h:115
Urho3D::Deserializer::ReadResourceRef
ResourceRef ReadResourceRef()
Read a resource reference.
Definition: Deserializer.cpp:284
Urho3D::ConstraintMouse2D::~ConstraintMouse2D
~ConstraintMouse2D() override
Destruct.
Urho3D::Graphics::width_
int width_
Window width in pixels.
Definition: Graphics.h:725
Urho3D::WorkQueue::Pause
void Pause()
Pause worker threads.
Definition: WorkQueue.cpp:221
Urho3D::OffMeshConnection
A link between otherwise unconnected regions of the navigation mesh.
Definition: OffMeshConnection.h:31
Urho3D::PhysicsWorld::updateEnabled_
bool updateEnabled_
Automatic simulation update enabled flag.
Definition: PhysicsWorld.h:348
Urho3D::VectorBase::capacity_
unsigned capacity_
Buffer capacity.
Definition: VectorBase.h:66
Urho3D::FontFace::rowHeight_
float rowHeight_
Row height.
Definition: FontFace.h:114
Urho3D::AnimatedModel::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: AnimatedModel.cpp:313
Urho3D::BorderImage::GetImageBorder
const IntRect & GetImageBorder() const
Return border image dimensions. Zero rect uses border screen dimensions.
Definition: BorderImage.h:85
Urho3D::WeakPtr::WeakRefs
int WeakRefs() const
Return the object's weak reference count.
Definition: Ptr.h:489
Urho3D::Pass::GetPixelShaders
Vector< SharedPtr< ShaderVariation > > & GetPixelShaders()
Return pixel shaders.
Definition: Technique.h:135
Urho3D::Light::SetShadowResolution
void SetShadowResolution(float resolution)
Set shadow resolution between 0.25 - 1.0. Determines the shadow map to use.
Definition: Light.cpp:398
Urho3D::Camera::SetFarClip
void SetFarClip(float farClip)
Set far clip distance.
Definition: Camera.cpp:122
Urho3D::Connection::msg_
VectorBuffer msg_
Reusable message buffer.
Definition: Connection.h:313
Urho3D::ListView::HandleUIMouseClick
void HandleUIMouseClick(StringHash eventType, VariantMap &eventData)
Handle global UI mouseclick to check for selection change.
Definition: ListView.cpp:1018
Urho3D::ListView::SetHierarchyMode
void SetHierarchyMode(bool enable)
Enable hierarchy mode. Allows items to have parent-child relationship at different indent level and t...
Definition: ListView.cpp:712
Urho3D::ParticleEffect::SetRelative
void SetRelative(bool enable)
Set whether billboards are relative to the scene node.
Definition: ParticleEffect.cpp:455
Urho3D::Graphics::lightPrepassSupport_
bool lightPrepassSupport_
Light pre-pass rendering support flag.
Definition: Graphics.h:739
Urho3D::Sound::GetLength
float GetLength() const
Return length in seconds.
Definition: Sound.cpp:318
Urho3D::CollisionBox2D::SetCenter
void SetCenter(const Vector2 &center)
Set center.
Definition: CollisionBox2D.cpp:78
Urho3D::AnimationControl::autoFadeTime_
float autoFadeTime_
Animation autofade on stop -time, 0 if disabled.
Definition: AnimationController.h:66
Urho3D::HM_ALWAYS
@ HM_ALWAYS
Highlight always.
Definition: ListView.h:41
Urho3D::FileSelector::SetFileName
void SetFileName(const String &fileName)
Set current filename.
Definition: FileSelector.cpp:210
Urho3D::Graphics::SetIndexBuffer
void SetIndexBuffer(IndexBuffer *buffer)
Set index buffer.
Definition: OGLGraphics.cpp:1003
Urho3D::UI::GetRoot
UIElement * GetRoot() const
Return root UI element.
Definition: UI.h:135
Urho3D::Text::SetTextAlignment
void SetTextAlignment(HorizontalAlignment align)
Set row alignment.
Definition: Text.cpp:311
Urho3D::Material::GetVertexShaderDefines
const String & GetVertexShaderDefines() const
Return additional vertex shader defines.
Definition: Material.h:206
Urho3D::Image::nextLevel_
SharedPtr< Image > nextLevel_
Precalculated mip level image.
Definition: Image.h:236
Urho3D::HashMap::Node::pair_
KeyValue pair_
Key-value pair.
Definition: HashMap.h:94
Urho3D::Audio::PauseSoundType
void PauseSoundType(const String &type)
Pause playback of specific sound type. This allows to suspend e.g. sound effects or voice when the ga...
Definition: Audio.cpp:170
Urho3D::Quaternion::z_
float z_
Z coordinate.
Definition: Quaternion.h:467
Urho3D::View::geometries_
PODVector< Drawable * > geometries_
Visible geometry objects.
Definition: View.h:394
Urho3D::ShaderProgram::GetPixelShader
ShaderVariation * GetPixelShader() const
Return the pixel shader.
Definition: OGLShaderProgram.cpp:328
Urho3D::ScrollView::OnWheel
void OnWheel(int delta, MouseButtonFlags buttons, QualifierFlags qualifiers) override
React to mouse wheel.
Definition: ScrollView.cpp:189
Urho3D::SoundSource3D::SetInnerAngle
void SetInnerAngle(float angle)
Set inner angle in degrees. Inside this angle sound will not be attenuated.By default 360,...
Definition: SoundSource3D.cpp:131
Urho3D::Renderer2D::cachedMaterials_
HashMap< Texture2D *, HashMap< int, SharedPtr< Material > > > cachedMaterials_
Cached materials.
Definition: Renderer2D.h:131
Urho3D::UISelectable::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: UISelectable.cpp:33
Urho3D::Material::SetFillMode
void SetFillMode(FillMode mode)
Set polygon fill mode. Interacts with the camera's fill mode setting so that the "least filled" mode ...
Definition: Material.cpp:1084
Urho3D::CScriptDictValue
Script dictionary value.
Definition: Addons.h:153
Urho3D::Network::SetUpdateFps
void SetUpdateFps(int fps)
Set network update FPS.
Definition: Network.cpp:573
Urho3D::CustomVariantValueImpl::Clone
CustomVariantValue * Clone() const override
Clone.
Definition: Variant.h:252
Urho3D::Renderer::lightStencilValue_
unsigned char lightStencilValue_
Current stencil value for light optimization.
Definition: Renderer.h:584
Urho3D::RibbonTrail::numPoints_
unsigned numPoints_
Number of points.
Definition: RibbonTrail.h:221
Urho3D::CollisionShape2D::SetCategoryBits
void SetCategoryBits(int categoryBits)
Set filter category bits.
Definition: CollisionShape2D.cpp:94
Urho3D::XMLElement::GetMatrix3
Matrix3 GetMatrix3(const String &name) const
Return a Matrix3 attribute, or zero matrix if missing.
Definition: XMLElement.cpp:975
Urho3D::ParticleEmitter::CheckActiveParticles
bool CheckActiveParticles() const
Return whether has active particles.
Definition: ParticleEmitter.cpp:561
Urho3D::LuaScript::RegisterLoader
void RegisterLoader()
Register loader.
Definition: LuaScript.cpp:334
Urho3D::AnimatedSprite2D::SetAnimationSet
void SetAnimationSet(AnimationSet2D *animationSet)
Set animation set.
Definition: AnimatedSprite2D.cpp:102
Urho3D::ScrollBar::OnSetEditable
void OnSetEditable() override
React to editable status change.
Definition: ScrollBar.cpp:143
Urho3D::Scene::LoadXML
bool LoadXML(const XMLElement &source) override
Load from XML data. Removes all existing child nodes and components first. Return true if successful.
Definition: Scene.cpp:165
Urho3D::Terrain
Heightmap terrain component.
Definition: Terrain.h:38
Urho3D::ParticleEffect::GetRandomRotation
float GetRandomRotation() const
Return random rotation.
Definition: ParticleEffect.cpp:816
Urho3D::RaycastVehicle::GetWheelDirection
Vector3 GetWheelDirection(int wheel) const
Get wheel direction vector.
Definition: RaycastVehicle.cpp:628
Urho3D::ScrollView::UpdateScrollBars
void UpdateScrollBars()
Update the scrollbars' ranges and positions.
Definition: ScrollView.cpp:472
Urho3D::Scene::asyncLoadingMs_
int asyncLoadingMs_
Maximum milliseconds per frame to spend on async scene loading.
Definition: Scene.h:324
Urho3D::TriangleMeshData::TriangleMeshData
TriangleMeshData(Model *model, unsigned lodLevel)
Construct from a model.
Definition: CollisionShape.cpp:199
Urho3D::Texture2D::Texture2D
Texture2D(Context *context)
Construct.
Definition: Texture2D.cpp:42
Urho3D::GPUObject::graphics_
WeakPtr< Graphics > graphics_
Graphics subsystem.
Definition: GPUObject.h:73
Urho3D::RaycastVehicle::loadedWheelData_
VariantVector loadedWheelData_
Loaded data temporarily wait here for ApplyAttributes to come pick them up.
Definition: RaycastVehicle.h:206
Urho3D::AreaAllocator::freeAreas_
PODVector< IntRect > freeAreas_
Free rectangles.
Definition: AreaAllocator.h:62
Urho3D::Serializer::WritePackedVector3
bool WritePackedVector3(const Vector3 &value, float maxAbsCoord)
Write a Vector3 packed into 3 x 16 bits with the specified maximum absolute range.
Definition: Serializer.cpp:121
Urho3D::Skeleton::Save
bool Save(Serializer &dest) const
Write to a stream. Return true if successful.
Definition: Skeleton.cpp:77
Urho3D::Context::GetEventReceivers
EventReceiverGroup * GetEventReceivers(StringHash eventType)
Return event receivers for an event type, or null if they do not exist.
Definition: Context.h:200
Urho3D::RibbonTrail::forceUpdate_
bool forceUpdate_
Force update flag (ignore animation LOD momentarily).
Definition: RibbonTrail.h:245
Urho3D::PhysicsWorld2D::ContactInfo::worldNormal_
Vector2 worldNormal_
Contact normal in world space.
Definition: PhysicsWorld2D.h:271
Urho3D::Sprite::SetFullImageRect
void SetFullImageRect()
Use whole texture as the image.
Definition: Sprite.cpp:207
Urho3D::PListValue::GetType
PListValueType GetType() const
Return type.
Definition: PListFile.h:97
Urho3D::Console::GetNumHistoryRows
unsigned GetNumHistoryRows() const
Return history maximum size.
Definition: Console.h:111
Urho3D::Obstacle::ownerMesh_
WeakPtr< DynamicNavigationMesh > ownerMesh_
Pointer to the navigation mesh we belong to.
Definition: Obstacle.h:91
Urho3D::PhysicsWorld::setDebugMode
void setDebugMode(int debugMode) override
Set debug draw flags.
Definition: PhysicsWorld.h:156
Urho3D::ConstraintWeld2D::jointDef_
b2WeldJointDef jointDef_
Box2D joint def.
Definition: ConstraintWeld2D.h:64
Urho3D::View::FindNamedTexture
Texture * FindNamedTexture(const String &name, bool isRenderTarget, bool isVolumeMap=false)
Get a named texture from the rendertarget list or from the resource cache, to be either used as a ren...
Definition: View.cpp:3183
Urho3D::String::String
String(String &&str) noexcept
Move-construct from another string.
Definition: Str.h:70
Urho3D::BatchQueue::shaderRemapping_
HashMap< unsigned, unsigned > shaderRemapping_
Shader remapping table for 2-pass state and distance sort.
Definition: Batch.h:250
Urho3D::Connection::GetBytesInPerSec
float GetBytesInPerSec() const
Return bytes received per second.
Definition: Connection.cpp:1089
Urho3D::LineEdit::GetCursorBlinkRate
float GetCursorBlinkRate() const
Return cursor blink rate.
Definition: LineEdit.h:96
Urho3D::Vector4::IsNaN
bool IsNaN() const
Return whether any component is NaN.
Definition: Vector4.h:195
Urho3D::BoundingBox::BoundingBox
BoundingBox(const BoundingBox &box) noexcept
Copy-construct from another bounding box.
Definition: BoundingBox.h:54
Urho3D::LuaScriptInstance
Lua script object component.
Definition: LuaScriptInstance.h:60
Urho3D::ProfilerBlock::totalTime_
long long totalTime_
Total accumulated time.
Definition: Profiler.h:164
Urho3D::Drawable::castShadows_
bool castShadows_
Shadowcaster flag.
Definition: Drawable.h:339
Urho3D::Obstacle::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: Obstacle.cpp:89
Urho3D::Scene::HandleResourceBackgroundLoaded
void HandleResourceBackgroundLoaded(StringHash eventType, VariantMap &eventData)
Handle a background loaded resource completing.
Definition: Scene.cpp:1173
Urho3D::Light::GetShadowIntensity
float GetShadowIntensity() const
Return light intensity in shadow.
Definition: Light.h:277
Urho3D::ValueAnimation::splineTangentsDirty_
bool splineTangentsDirty_
Spline tangents dirty.
Definition: ValueAnimation.h:169
Urho3D::Input::SuppressNextMouseMove
void SuppressNextMouseMove()
Suppress next mouse movement.
Definition: Input.cpp:1849
Urho3D::XMLFile::CombineText
bool CombineText(const pugi::xml_node &patch, const pugi::xml_node &original, bool prepend) const
Combine two text nodes.
Definition: XMLFile.cpp:364
Urho3D::Material::SetLineAntiAlias
void SetLineAntiAlias(bool enable)
Set line antialiasing on/off. Has effect only on models that consist of line lists.
Definition: Material.cpp:1100
Urho3D::CollisionShape::MarkShapeDirty
void MarkShapeDirty()
Mark shape dirty.
Definition: CollisionShape.h:287
Urho3D::ListView::DisableInternalLayoutUpdate
void DisableInternalLayoutUpdate()
Disable automatic layout update for internal elements.
Definition: ListView.cpp:331
Urho3D::Connection::GetLastHeardTime
unsigned GetLastHeardTime() const
Return the time since last received data from the remote host in milliseconds.
Definition: Connection.cpp:1084
Urho3D::Cursor::GetShape
const String & GetShape() const
Get current shape.
Definition: Cursor.h:121
Urho3D::FlagSet::FlagSet
FlagSet(Integer value)
Ctor by integer.
Definition: FlagSet.h:56
Urho3D::Scene::~Scene
~Scene() override
Destruct.
Definition: Scene.cpp:82
Urho3D::AnimationState::GetBlendMode
AnimationBlendMode GetBlendMode() const
Return blending mode.
Definition: AnimationState.h:136
Urho3D::ParticleEffect2D::GetRotatePerSecondVariance
float GetRotatePerSecondVariance() const
Return rotate per second variance.
Definition: ParticleEffect2D.h:224
Urho3D::VertexBuffer::UpdateToGPU
bool UpdateToGPU()
Update the shadow data to the GPU buffer.
Definition: OGLVertexBuffer.cpp:260
Urho3D::ConstraintMotor2D::SetCorrectionFactor
void SetCorrectionFactor(float correctionFactor)
Set correction factor.
Definition: ConstraintMotor2D.cpp:119
Urho3D::View::highestZonePriority_
int highestZonePriority_
Highest zone priority currently visible.
Definition: View.h:366
Urho3D::FileMode
FileMode
File open mode.
Definition: File.h:52
Urho3D::StaticModel::HandleModelReloadFinished
void HandleModelReloadFinished(StringHash eventType, VariantMap &eventData)
Handle model reload finished.
Definition: StaticModel.cpp:446
Urho3D::SoundSource::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: SoundSource.cpp:131
Urho3D::Plane::normal_
Vector3 normal_
Plane normal.
Definition: Plane.h:118
Urho3D::Deserializer::ReadVector4
Vector4 ReadVector4()
Read a Vector4.
Definition: Deserializer.cpp:189
Urho3D::RigidBody2D::SetGravityScale
void SetGravityScale(float gravityScale)
Set gravity scale.
Definition: RigidBody2D.cpp:268
Urho3D::CursorShapeInfo::CursorShapeInfo
CursorShapeInfo(int systemCursor)
Construct with system cursor.
Definition: Cursor.h:68
Urho3D::ConstraintFriction2D::GetAnchor
const Vector2 & GetAnchor() const
Return anchor.
Definition: ConstraintFriction2D.h:51
Urho3D::PhysicsWorld2D::GetDrawPair
bool GetDrawPair() const
Return draw pair.
Definition: PhysicsWorld2D.h:174
Urho3D::ValueAnimation::SetEventFrame
void SetEventFrame(float time, const StringHash &eventType, const VariantMap &eventData=VariantMap())
Set event frame.
Definition: ValueAnimation.cpp:309
Urho3D::Octant::GetParent
Octant * GetParent() const
Return parent octant.
Definition: Octree.h:85
Urho3D::CollisionShape2D::GetRestitution
float GetRestitution() const
Return restitution.
Definition: CollisionShape2D.h:89
Urho3D::RigidBody2D::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: RigidBody2D.cpp:93
Urho3D::Light::GetShapeTextureAttr
ResourceRef GetShapeTextureAttr() const
Return shape texture attribute.
Definition: Light.cpp:537
Urho3D::DebugTriangle
Debug render triangle.
Definition: DebugRenderer.h:66
Urho3D::AnimationState::SetBlendMode
void SetBlendMode(AnimationBlendMode mode)
Set blending mode.
Definition: AnimationState.cpp:179
Urho3D::DropDownList::OnShowPopup
void OnShowPopup() override
React to the popup being shown.
Definition: DropDownList.cpp:113
Urho3D::DbResult
Database query result.
Definition: ODBCResult.h:33
Urho3D::UIElement::SetClipBorder
void SetClipBorder(const IntRect &rect)
Set child element clipping border.
Definition: UIElement.cpp:814
Urho3D::Image::SaveBMP
bool SaveBMP(const String &fileName) const
Save in BMP format. Return true if successful.
Definition: Image.cpp:1249
Urho3D::Context::SetEventHandler
void SetEventHandler(EventHandler *handler)
Set current event handler. Called by Object.
Definition: Context.h:223
Urho3D::PackageFile::GetNameHash
StringHash GetNameHash() const
Return hash of the package file name.
Definition: PackageFile.h:68
Urho3D::UIElement::SetEditable
void SetEditable(bool enable)
Set whether value is editable through input. Not applicable to all elements. Default true.
Definition: UIElement.cpp:918
Urho3D::AnimationStateTrack::bone_
Bone * bone_
Bone pointer.
Definition: AnimationState.h:61
Urho3D::LogicComponent::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post-update event.
Definition: LogicComponent.cpp:192
Urho3D::TileMapInfo2D::height_
int height_
Height.
Definition: TileMapDefs2D.h:56
Urho3D::ParticleEffect2D::startColor_
Color startColor_
Start color.
Definition: ParticleEffect2D.h:286
Urho3D::AnimatedModel::AnimatedModel
AnimatedModel(Context *context)
Construct.
Definition: AnimatedModel.cpp:70
Urho3D::UIElement::GetMaxWidth
int GetMaxWidth() const
Return minimum width.
Definition: UIElement.h:433
Urho3D::ParticleEffect2D::SetDuration
void SetDuration(float duration)
Set duration.
Definition: ParticleEffect2D.cpp:409
Urho3D::Matrix3x4::SetScale
void SetScale(float scale)
Set uniform scaling elements.
Definition: Matrix3x4.h:534
Urho3D::Matrix4::IDENTITY
static const Matrix4 IDENTITY
Identity matrix.
Definition: Matrix4.h:735
Urho3D::Pair::operator>
bool operator>(const Pair< T, U > &rhs) const
Test for greater than with another pair.
Definition: Pair.h:61
Urho3D::ShaderProgram::constantBuffers_
SharedPtr< ConstantBuffer > constantBuffers_[MAX_SHADER_PARAMETER_GROUPS *2]
Constant buffers by binding index.
Definition: OGLShaderProgram.h:103
Urho3D::Geometry::GetVertexBuffers
const Vector< SharedPtr< VertexBuffer > > & GetVertexBuffers() const
Return all vertex buffers.
Definition: Geometry.h:71
Urho3D::List::Front
const T & Front() const
Return const first element.
Definition: List.h:409
Urho3D::DynamicNavigationMesh::meshProcessor_
UniquePtr< dtTileCacheMeshProcess > meshProcessor_
Mesh processor used by Detour, in this case a 'pass-through' processor.
Definition: DynamicNavigationMesh.h:140
Urho3D::AnimatedModel::RemoveAnimationState
void RemoveAnimationState(Animation *animation)
Remove an animation by animation pointer.
Definition: AnimatedModel.cpp:465
Urho3D::BillboardSet::transforms_
Matrix3x4 transforms_[2]
Transform matrices for position and billboard orientation.
Definition: BillboardSet.h:189
Urho3D::UI::hoveredElements_
HashMap< WeakPtr< UIElement >, bool > hoveredElements_
Currently hovered elements.
Definition: UI.h:425
Urho3D::Sprite::GetRotation
float GetRotation() const
Return rotation angle.
Definition: Sprite.h:92
Urho3D::Terrain::GetLightMask
unsigned GetLightMask() const
Return light mask.
Definition: Terrain.h:172
Urho3D::UIElement::GetLayoutBorder
const IntRect & GetLayoutBorder() const
Return layout border.
Definition: UIElement.h:555
Urho3D::ResourceGroup::memoryUse_
unsigned long long memoryUse_
Current memory use.
Definition: ResourceCache.h:56
Urho3D::Constraint::GetConstraint
btTypedConstraint * GetConstraint() const
Return Bullet constraint.
Definition: Constraint.h:104
Urho3D::Texture::SetLevelsDirty
void SetLevelsDirty()
Set the mipmap levels dirty flag. Called internally by Graphics.
Definition: Texture.cpp:234
Urho3D::Vertex2D
2D vertex.
Definition: Drawable2D.h:37
Urho3D::XMLElement::SetFloat
bool SetFloat(const String &name, float value)
Set a float attribute.
Definition: XMLElement.cpp:352
Urho3D::ConstraintRevolute2D::anchor_
Vector2 anchor_
Anchor.
Definition: ConstraintRevolute2D.h:86
Urho3D::Light::SetIntensitySortValue
void SetIntensitySortValue(float distance)
Set sort value based on intensity and view distance.
Definition: Light.cpp:566
Urho3D::Application::Stop
virtual void Stop()
Cleanup after the main loop. Called by Application.
Definition: Application.h:50
Urho3D::Script::GetDefaultScriptFile
ScriptFile * GetDefaultScriptFile() const
Return immediate mode script file.
Definition: Script.cpp:288
Urho3D::HashSet::Insert
Iterator Insert(const T &key, bool &exists)
Insert a key. Return an iterator and set exists flag according to whether the key already existed.
Definition: HashSet.h:317
Urho3D::RenderSurface::SetUpdateMode
void SetUpdateMode(RenderSurfaceUpdateMode mode)
Set viewport update mode. Default is to update when visible.
Definition: RenderSurface.cpp:55
Urho3D::Text3D::SetEffectDepthBias
void SetEffectDepthBias(float bias)
Set effect Z bias.
Definition: Text3D.cpp:306
Urho3D::NavigationMesh::drawOffMeshConnections_
bool drawOffMeshConnections_
Debug draw OffMeshConnection components.
Definition: NavigationMesh.h:350
Urho3D::StaticSprite2D::GetUseDrawRect
bool GetUseDrawRect() const
Return whether to use custom-defined draw rectangle.
Definition: StaticSprite2D.h:107
Urho3D::PhysicsWorld2D::DrawSolidPolygon
void DrawSolidPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a solid closed polygon provided in CCW order.
Definition: PhysicsWorld2D.cpp:201
Urho3D::ConstraintPulley2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintPulley2D.cpp:49
Urho3D::ScriptFile::ClearDelayedExecute
void ClearDelayedExecute(const String &declaration=String::EMPTY)
Clear pending delay-executed function calls. If empty declaration given, clears all.
Definition: ScriptFile.cpp:508
Urho3D::XMLElement::GetAttributeLower
String GetAttributeLower(const String &name) const
Return attribute in lowercase, or empty if missing.
Definition: XMLElement.cpp:716
Urho3D::PhysicsWorldConfig
Custom overrides of physics internals. To use overrides, must be set before the physics component is ...
Definition: PhysicsWorld.h:110
Urho3D::Connection::SendServerUpdate
void SendServerUpdate()
Send scene update messages. Called by Network.
Definition: Connection.cpp:259
Urho3D::View::SetTextures
bool SetTextures(RenderPathCommand &command)
Set textures for current render command. Return whether depth write is allowed (depth-stencil not bou...
Definition: View.cpp:1800
Urho3D::Texture3D::Create
bool Create() override
Create the GPU texture.
Definition: OGLTexture3D.cpp:340
Urho3D::VertexElement::index_
unsigned char index_
Semantic index of element, for example multi-texcoords.
Definition: GraphicsDefs.h:216
Urho3D::VectorBase::size_
unsigned size_
Size of vector.
Definition: VectorBase.h:64
Urho3D::ParticleEffect::GetNumColorFrames
unsigned GetNumColorFrames() const
Return number of color animation frames.
Definition: ParticleEffect.h:320
Urho3D::Graphics::gpuObjects_
PODVector< GPUObject * > gpuObjects_
GPU objects.
Definition: Graphics.h:767
Urho3D::Matrix3x4::SetRotation
void SetRotation(const Matrix3 &rotation)
Set rotation elements from a 3x3 matrix.
Definition: Matrix3x4.h:512
Urho3D::Light::SetShadowMaxExtrusion
void SetShadowMaxExtrusion(float extrusion)
Set maximum shadow extrusion for directional lights. The actual extrusion will be the smaller of this...
Definition: Light.cpp:353
Urho3D::Variant::GetString
const String & GetString() const
Return string or empty on type mismatch.
Definition: Variant.h:1197
Urho3D::Node::MarkDirty
void MarkDirty()
Mark node and child nodes to need world transform recalculation. Notify listener components.
Definition: Node.cpp:743
Urho3D::View::renderTargets_
HashMap< StringHash, Texture * > renderTargets_
Rendertargets defined by the renderpath.
Definition: View.h:409
Urho3D::Input::IsMouseVisible
bool IsMouseVisible() const
Return whether the operating system mouse cursor is visible.
Definition: Input.h:288
Urho3D::PhysicsWorld::world_
UniquePtr< btDiscreteDynamicsWorld > world_
Bullet physics world.
Definition: PhysicsWorld.h:312
Urho3D::LT_OBJECT_GROUP
@ LT_OBJECT_GROUP
Object group.
Definition: TileMapDefs2D.h:80
Urho3D::ParticleEffect::SetMinRotation
void SetMinRotation(float rotation)
Set particle minimum rotation.
Definition: ParticleEffect.cpp:560
Urho3D::Batch::pixelShader_
ShaderVariation * pixelShader_
Pixel shader.
Definition: Batch.h:106
Urho3D::ParticleEffect::SetActiveTime
void SetActiveTime(float time)
Set emission active period length (0 = infinite).
Definition: ParticleEffect.cpp:510
Urho3D::Graphics::HasTextureUnit
bool HasTextureUnit(TextureUnit unit)
Check whether the current vertex or pixel shader uses a texture unit.
Definition: OGLGraphics.cpp:1467
Urho3D::LuaScriptInstance::OnGetAttribute
void OnGetAttribute(const AttributeInfo &attr, Variant &dest) const override
Handle attribute read access.
Definition: LuaScriptInstance.cpp:208
Urho3D::ScriptFile::CleanupEventInvoker
void CleanupEventInvoker(asIScriptObject *object)
Clean up an event invoker object when its associated script object no longer exists.
Definition: ScriptFile.cpp:652
Urho3D::View::octree_
Octree * octree_
Octree to use.
Definition: View.h:318
Urho3D::Window::dragBeginPosition_
IntVector2 dragBeginPosition_
Original position at drag begin.
Definition: Window.h:155
Urho3D::FlagSet::Integer
typename std::underlying_type< Enum >::type Integer
Integer type.
Definition: FlagSet.h:52
Urho3D::Audio::GetMixRate
int GetMixRate() const
Return mixing rate.
Definition: Audio.h:75
Urho3D::PhysicsWorld2D::GetGravity
const Vector2 & GetGravity() const
Return gravity.
Definition: PhysicsWorld2D.h:191
Urho3D::Window::fixedHeightResizing_
bool fixedHeightResizing_
Fixed height resize flag.
Definition: Window.h:147
Urho3D::DynamicNavBuildData::alloc_
dtTileCacheAlloc * alloc_
Allocator from DynamicNavigationMesh instance.
Definition: NavBuildData.h:116
Urho3D::Renderer2D::viewBatchInfos_
HashMap< Camera *, ViewBatchInfo2D > viewBatchInfos_
View batch info.
Definition: Renderer2D.h:125
Urho3D::StaticModelGroup::GetNodeIDsAttr
const VariantVector & GetNodeIDsAttr() const
Return node IDs attribute.
Definition: StaticModelGroup.cpp:355
Urho3D::ValueAnimation::interpolatable_
bool interpolatable_
Interpolatable flag.
Definition: ValueAnimation.h:159
Urho3D::ParticleEffect2D::SetMinRadiusVariance
void SetMinRadiusVariance(float minRadiusVariance)
Set min radius variance.
Definition: ParticleEffect2D.cpp:434
Urho3D::WeakPtr::WeakPtr
WeakPtr(const SharedPtr< T > &rhs) noexcept
Construct from a shared pointer.
Definition: Ptr.h:306
Urho3D::ScriptFile::script_
SharedPtr< Script > script_
Script subsystem.
Definition: ScriptFile.h:132
Urho3D::Network::OnServerDisconnected
void OnServerDisconnected(const SLNet::AddressOrGUID &address)
Handle server disconnection.
Definition: Network.cpp:1002
Urho3D::IndexBuffer::GetIndexSize
unsigned GetIndexSize() const
Return index size in bytes.
Definition: IndexBuffer.h:77
Urho3D::ListView::RemoveAllItems
void RemoveAllItems()
Remove all items.
Definition: ListView.cpp:496
Urho3D::CrowdAgent::previousTargetState_
CrowdAgentTargetState previousTargetState_
Agent's previous target state used to check for state changes.
Definition: CrowdAgent.h:234
Urho3D::AnimatedModel::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: AnimatedModel.cpp:297
Urho3D::CrowdAgent::SetMaxAccel
void SetMaxAccel(float maxAccel)
Set the agent's max acceleration.
Definition: CrowdAgent.cpp:379
Urho3D::Vector3::Vector3
Vector3(float x, float y, float z) noexcept
Construct from coordinates.
Definition: Vector3.h:223
Urho3D::AnimationSet2D
Spriter animation set, it includes one or more animations, for more information please refer to http:...
Definition: AnimationSet2D.h:46
Urho3D::ListBase::Swap
void Swap(ListBase &rhs)
Swap with another linked list.
Definition: ListBase.h:106
Urho3D::Graphics::ClearParameterSources
void ClearParameterSources()
Clear remembered shader parameter sources.
Definition: OGLGraphics.cpp:1478
Urho3D::FileSelector::HandleOKPressed
void HandleOKPressed(StringHash eventType, VariantMap &eventData)
Handle OK button pressed.
Definition: FileSelector.cpp:442
Urho3D::Vector2::Angle
float Angle(const Vector2 &rhs) const
Returns the angle between this vector and another vector in degrees.
Definition: Vector2.h:316
Urho3D::Node::GetOrCreateComponent
Component * GetOrCreateComponent(StringHash type, CreateMode mode=REPLICATED, unsigned id=0)
Create a component to this node if it does not exist already.
Definition: Node.cpp:933
Urho3D::Constraint2D::SetOtherBody
void SetOtherBody(RigidBody2D *body)
Set other rigid body.
Definition: Constraint2D.cpp:118
Urho3D::Graphics::SetUBO
void SetUBO(unsigned object)
Bind a UBO, avoiding redundant operation. Used only on OpenGL.
Definition: OGLGraphics.cpp:2537
Urho3D::Input::lastMousePosition_
IntVector2 lastMousePosition_
Last mouse position for calculating movement.
Definition: Input.h:388
Urho3D::Tile2D::propertySet_
SharedPtr< PropertySet2D > propertySet_
Property set.
Definition: TileMapDefs2D.h:161
Urho3D::Variant::Variant
Variant(const Variant &value)
Copy-construct from another variant.
Definition: Variant.h:548
Urho3D::LuaScript::HandlePostUpdate
void HandlePostUpdate(StringHash eventType, VariantMap &eventData)
Handle post update.
Definition: LuaScript.cpp:466
Urho3D::IKEffector::SetTargetRotation
void SetTargetRotation(const Quaternion &targetRotation)
Sets the current target rotation. If the effector has a target node then this will have no effect.
Definition: IKEffector.cpp:132
Urho3D::TileMapLayer2D::SetVisible
void SetVisible(bool visible)
Set visible.
Definition: TileMapLayer2D.cpp:235
Urho3D::ConstraintDistance2D::ConstraintDistance2D
ConstraintDistance2D(Context *context)
Construct.
Definition: ConstraintDistance2D.cpp:37
Urho3D::Vector4::Vector4
Vector4(const Vector3 &vector, float w) noexcept
Construct from a 3-dimensional vector and the W coordinate.
Definition: Vector4.h:47
Urho3D::UIElement::GetLayoutElementMaxSize
int GetLayoutElementMaxSize() const
Return maximum layout element size in the layout direction. Only valid after layout has been calculat...
Definition: UIElement.h:619
Urho3D::Node::SetTransformSilent
void SetTransformSilent(const Vector3 &position, const Quaternion &rotation, const Vector3 &scale)
Set local transform silently without marking the node & child nodes dirty. Used by animation code.
Definition: Node.cpp:1894
Urho3D::Graphics::GetViewport
IntRect GetViewport() const
Return the viewport coordinates.
Definition: Graphics.h:498
Urho3D::LuaScriptInstance::luaScript_
LuaScript * luaScript_
Lua Script subsystem.
Definition: LuaScriptInstance.h:171
Urho3D::OcclusionBuffer::view_
Matrix3x4 view_
View transform matrix.
Definition: OcclusionBuffer.h:203
Urho3D::Graphics::GetTripleBuffer
bool GetTripleBuffer() const
Return whether triple buffering is enabled.
Definition: Graphics.h:381
Urho3D::Spriter::Folder
Folder.
Definition: SpriterData2D.h:72
Urho3D::TouchState::delta_
IntVector2 delta_
Movement since last frame.
Definition: Input.h:69
Urho3D::RibbonTrail::GetEndColor
const Color & GetEndColor() const
Get vertex blended color for end of trail.
Definition: RibbonTrail.h:140
Urho3D::Tile2D::HasProperty
bool HasProperty(const String &name) const
Return has property.
Definition: TileMapDefs2D.cpp:173
Urho3D::ScreenModeParams::multiSample_
int multiSample_
Level of multisampling.
Definition: Graphics.h:97
Urho3D::SoundSource::MixZeroVolume
void MixZeroVolume(Sound *sound, unsigned samples, int mixRate)
Advance playback pointer without producing audible output.
Definition: SoundSource.cpp:1234
Urho3D::XMLElement::SetVariantMap
bool SetVariantMap(const VariantMap &value)
Set a variant map attribute. Creates child elements as necessary.
Definition: XMLElement.cpp:506
Urho3D::Input::HandleScreenMode
void HandleScreenMode(StringHash eventType, VariantMap &eventData)
Handle screen mode event.
Definition: Input.cpp:2397
Urho3D::InstanceData::InstanceData
InstanceData()=default
Construct undefined.
Urho3D::AnimatedModel::GetUpdateInvisible
bool GetUpdateInvisible() const
Return whether to update animation when not visible.
Definition: AnimatedModel.h:124
Urho3D::CrowdManager::GetAreaCost
float GetAreaCost(unsigned queryFilterType, unsigned areaID) const
Get the cost of an area for the specified query filter type.
Definition: CrowdManager.cpp:501
Urho3D::VectorBuffer::Read
unsigned Read(void *dest, unsigned size) override
Read bytes from the buffer. Return number of bytes actually read.
Definition: VectorBuffer.cpp:47
Urho3D::TmxLayer2D
Tmx layer.
Definition: TmxFile2D.h:38
Urho3D::ScrollBar::StepForward
void StepForward()
Scroll forward one step.
Definition: ScrollBar.cpp:196
Urho3D::StaticSprite2D::sprite_
SharedPtr< Sprite2D > sprite_
Sprite.
Definition: StaticSprite2D.h:144
Urho3D::ConstraintPrismatic2D::jointDef_
b2PrismaticJointDef jointDef_
Box2D joint def.
Definition: ConstraintPrismatic2D.h:89
Urho3D::UI::GetDragBeginInterval
float GetDragBeginInterval() const
Return UI drag start event interval in seconds.
Definition: UI.h:179
Urho3D::Constraint::otherBody_
WeakPtr< RigidBody > otherBody_
Other rigid body.
Definition: Constraint.h:175
Urho3D::DecalSet::UpdateEventSubscription
void UpdateEventSubscription(bool checkAllDecals)
Subscribe/unsubscribe from scene post-update as necessary.
Definition: DecalSet.cpp:1122
Urho3D::ParticleEffect2D::GetFinishColor
const Color & GetFinishColor() const
Return finish color.
Definition: ParticleEffect2D.h:182
Urho3D::IKSolver::RecalculateSegmentLengths
void RecalculateSegmentLengths()
Unusual, but if you have a tree with translational motions such that the distances between nodes chan...
Definition: IKSolver.cpp:387
Urho3D::Batch::worldTransform_
const Matrix3x4 * worldTransform_
World transform(s). For a skinned model, these are the bone transforms.
Definition: Batch.h:92
Urho3D::MessageBox::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: MessageBox.cpp:109
Urho3D::Connection::sceneLoaded_
bool sceneLoaded_
Scene loaded flag.
Definition: Connection.h:333
Urho3D::AnimatedModel::SetMorphsAttr
void SetMorphsAttr(const PODVector< unsigned char > &value)
Set morphs attribute.
Definition: AnimatedModel.cpp:856
Urho3D::Graphics::GetDepthStencil
RenderSurface * GetDepthStencil() const
Return current depth-stencil surface.
Definition: Graphics.h:495
Urho3D::ParticleEffect::GetSizeMul
float GetSizeMul() const
Return particle size multiplicative modifier.
Definition: ParticleEffect.h:314
Urho3D::CustomVariantValueImpl::Compare
bool Compare(const CustomVariantValue &rhs) const override
Compare to another custom value.
Definition: Variant.h:259
Urho3D::Sprite2D::GetTexture
Texture2D * GetTexture() const
Return texture.
Definition: Sprite2D.h:65
Urho3D::Navigable::IsRecursive
bool IsRecursive() const
Return whether geometry is automatically collected from child nodes.
Definition: Navigable.h:47
Urho3D::Vector3::y_
float y_
Y coordinate.
Definition: Vector3.h:476
Urho3D::AnimationState::SetStartBone
void SetStartBone(Bone *startBone)
Set start bone. Not supported in node animation mode. Resets any assigned per-bone weights.
Definition: AnimationState.cpp:105
Urho3D::Vector::RemoveSwap
bool RemoveSwap(const T &value)
Erase an element by value by swapping with the last element. Return true if was found and erased.
Definition: Vector.h:409
Urho3D::SoundSource::SetPanning
void SetPanning(float panning)
Set stereo panning. -1.0 is full left and 1.0 is full right.
Definition: SoundSource.cpp:302
Urho3D::Font::SaveXML
bool SaveXML(Serializer &dest, int pointSize, bool usedGlyphs=false, const String &indentation="\t")
Save resource as a new bitmap font type in XML format. Return true if successful.
Definition: Font.cpp:114
Urho3D::StaticModelGroup::~StaticModelGroup
~StaticModelGroup() override
Destruct.
Urho3D::ConstraintPulley2D::SetOwnerBodyGroundAnchor
void SetOwnerBodyGroundAnchor(const Vector2 &groundAnchor)
Set other body ground anchor point.
Definition: ConstraintPulley2D.cpp:64
Urho3D::UIBatch::UIBatch
UIBatch()
Construct with defaults.
Definition: UIBatch.cpp:36
Urho3D::Node::rotation_
Quaternion rotation_
Rotation.
Definition: Node.h:691
Urho3D::DynamicNavigationMesh::maxLayers_
unsigned maxLayers_
Maximum number of layers that are allowed to be constructed.
Definition: DynamicNavigationMesh.h:144
Urho3D::RenderPathCommand::sortMode_
RenderCommandSortMode sortMode_
Sorting mode.
Definition: RenderPath.h:142
Urho3D::SoundSource::MixNull
void MixNull(float timeStep)
Advance playback pointer to simulate audio playback in headless mode.
Definition: SoundSource.cpp:1263
Urho3D::ParticleEffect2D::GetRotationEndVariance
float GetRotationEndVariance() const
Return rotation end variance.
Definition: ParticleEffect2D.h:239
Urho3D::Terrain::lastSpacing_
Vector3 lastSpacing_
Vertex and height sacing at the time of last update.
Definition: Terrain.h:269
Urho3D::Octant::children_
Octant * children_[NUM_OCTANTS]
Child octants.
Definition: Octree.h:142
Urho3D::Constraint::SetLowLimit
void SetLowLimit(const Vector2 &limit)
Set low limit. Interpretation is constraint type specific.
Definition: Constraint.cpp:292
Urho3D::Log::logMutex_
Mutex logMutex_
Mutex for threaded operation.
Definition: Log.h:116
Urho3D::Button::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: Button.cpp:88
Urho3D::Log::SetLevel
void SetLevel(int level)
Set logging level.
Definition: Log.cpp:117
Urho3D::CollisionShape::GetSize
const Vector3 & GetSize() const
Return shape size.
Definition: CollisionShape.h:224
Urho3D::RigidBody2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: RigidBody2D.cpp:565
Urho3D::ConstraintPulley2D::SetOwnerBodyAnchor
void SetOwnerBodyAnchor(const Vector2 &anchor)
Set owner body anchor point.
Definition: ConstraintPulley2D.cpp:86
Urho3D::Sphere::Sphere
Sphere(const BoundingBox &box) noexcept
Construct from a bounding box.
Definition: Sphere.h:62
Urho3D::BatchGroupKey::BatchGroupKey
BatchGroupKey(const Batch &batch)
Construct from a batch.
Definition: Batch.h:184
Urho3D::Texture3D::Release
void Release() override
Release the texture.
Definition: OGLTexture3D.cpp:69
Urho3D::CustomGeometry::DefineVertex
void DefineVertex(const Vector3 &position)
Define a vertex position. This begins a new vertex.
Definition: CustomGeometry.cpp:541
Urho3D::AnimationState::GetLength
float GetLength() const
Return animation length.
Definition: AnimationState.cpp:439
Urho3D::LogicComponent::Start
virtual void Start()
Called when the component is added to a scene node. Other components may not yet exist.
Definition: LogicComponent.h:62
Urho3D::IndexBufferDesc::data_
SharedArrayPtr< unsigned char > data_
Index data.
Definition: Model.h:89
Urho3D::CATMULL_ROM_FULL_CURVE
@ CATMULL_ROM_FULL_CURVE
Catmull-Rom full path interpolation. Start and end knots are duplicated or looped as necessary to mov...
Definition: Spline.h:45
Urho3D::EventProfilerBlock::GetChild
EventProfilerBlock * GetChild(StringHash eventID)
Return child block with the specified event ID.
Definition: EventProfiler.h:42
Urho3D::Geometry::GetRawDataShared
void GetRawDataShared(SharedArrayPtr< unsigned char > &vertexData, unsigned &vertexSize, SharedArrayPtr< unsigned char > &indexData, unsigned &indexSize, const PODVector< VertexElement > *&elements) const
Return raw vertex and index data for CPU operations, or null pointers if not available....
Definition: Geometry.cpp:257
Urho3D::ToolTip::ToolTip
ToolTip(Context *context)
Construct.
Definition: ToolTip.cpp:34
Urho3D::StringHashRegister::GetString
const String & GetString(const StringHash &hash) const
Return String for given StringHash. Return value is unsafe to use if RegisterString is called from ot...
Definition: StringHashRegister.cpp:102
Urho3D::ScriptInstance::Execute
bool Execute(const String &declaration, const VariantVector &parameters=Variant::emptyVariantVector)
Query for a method by declaration and execute. Log an error if not found.
Definition: ScriptInstance.cpp:277
Urho3D::Vector2::IsNaN
bool IsNaN() const
Return whether any component is NaN.
Definition: Vector2.h:328
Urho3D::ListView::GetItem
UIElement * GetItem(unsigned index) const
Return item at index.
Definition: ListView.cpp:833
Urho3D::Constraint::otherBodyNodeID_
unsigned otherBodyNodeID_
Other body node ID for pending constraint recreation.
Definition: Constraint.h:199
Urho3D::RenderPathCommand::GetOutputFace
CubeMapFace GetOutputFace(unsigned index) const
Return output rendertarget face index.
Definition: RenderPath.cpp:304
Urho3D::HashMap::KeyValue::operator==
bool operator==(const KeyValue &rhs) const
Test for equality with another pair.
Definition: HashMap.h:71
Urho3D::WeakArrayPtr::WeakArrayPtr
WeakArrayPtr()
Construct a null weak array pointer.
Definition: ArrayPtr.h:235
Urho3D::SoundSource::SetFrequency
void SetFrequency(float frequency)
Set frequency.
Definition: SoundSource.cpp:284
Urho3D::Terrain::southID_
unsigned southID_
Node ID of south neighbor.
Definition: Terrain.h:319
Urho3D::RenderPathCommand::GetDepthStencilName
const String & GetDepthStencilName() const
Return depth-stencil output name.
Definition: RenderPath.h:135
Urho3D::CollisionPolygon2D::ApplyNodeWorldScale
void ApplyNodeWorldScale() override
Apply node world scale.
Definition: CollisionPolygon2D.cpp:106
Urho3D::Pair::operator!=
bool operator!=(const Pair< T, U > &rhs) const
Test for inequality with another pair.
Definition: Pair.h:48
Urho3D::DynamicNavBuildData::heightFieldLayers_
rcHeightfieldLayerSet * heightFieldLayers_
Recast heightfield layer set.
Definition: NavBuildData.h:114
Urho3D::JoystickState::GetNumButtons
unsigned GetNumButtons() const
Return number of buttons.
Definition: Input.h:88
Urho3D::SharedPtr::SharedPtr
SharedPtr(const SharedPtr< U > &rhs) noexcept
Copy-construct from another shared pointer allowing implicit upcasting.
Definition: Ptr.h:66
Urho3D::JSONValue::IsString
bool IsString() const
Check is string.
Definition: JSONValue.h:185
Urho3D::ParticleEffect::rotationSpeedMin_
float rotationSpeedMin_
Particle rotation speed minimum.
Definition: ParticleEffect.h:411
Urho3D::TerrainPatch::~TerrainPatch
~TerrainPatch() override
Destruct.
Urho3D::Model::GetNumGeometryLodLevels
unsigned GetNumGeometryLodLevels(unsigned index) const
Return number of LOD levels in geometry.
Definition: Model.cpp:736
Urho3D::Image::Resize
bool Resize(int width, int height)
Resize image by bilinear resampling. Return true if successful.
Definition: Image.cpp:1158
Urho3D::IntRect::Right
int Right() const
Return right coordinate.
Definition: Rect.h:455
Urho3D::Sound::SetLooped
void SetLooped(bool enable)
Set loop on/off. If loop is enabled, sets the full sound as loop range.
Definition: Sound.cpp:253
Urho3D::PhysicsWorld::collisionDispatcher_
UniquePtr< btDispatcher > collisionDispatcher_
Bullet collision dispatcher.
Definition: PhysicsWorld.h:306
Urho3D::Light::usePhysicalValues_
bool usePhysicalValues_
Use physical light values flag.
Definition: Light.h:395
Urho3D::AnimatedModel::animationLodDistance_
float animationLodDistance_
Animation LOD distance, the minimum of all LOD view distances last frame.
Definition: AnimatedModel.h:241
Urho3D::UI::ConvertUIToSystem
IntVector2 ConvertUIToSystem(const IntVector2 &uiPos) const
Convert scaled UI position (or offset) to system mouse position (or offset).
Definition: UI.cpp:857
Urho3D::Color::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Color.h:253
Urho3D::StaticModelGroup::numWorldTransforms_
unsigned numWorldTransforms_
Number of valid instance node transforms.
Definition: StaticModelGroup.h:92
Urho3D::SoundSource::masterGain_
float masterGain_
Effective master gain.
Definition: SoundSource.h:144
Urho3D::FileSystem::nextAsyncExecID_
unsigned nextAsyncExecID_
Next async execution ID.
Definition: FileSystem.h:121
Urho3D::WeakArrayPtr::Null
bool Null() const
Check if the pointer is null.
Definition: ArrayPtr.h:373
Urho3D::FileSelector::filterList_
DropDownList * filterList_
Filter dropdown.
Definition: FileSelector.h:161
Urho3D::FaceCameraMode
FaceCameraMode
Billboard camera facing modes.
Definition: GraphicsDefs.h:353
Urho3D::UIElement::BringToFront
void BringToFront()
Bring UI element to front.
Definition: UIElement.cpp:1217
Urho3D::ScrollBar::SetScrollStep
void SetScrollStep(float step)
Set button scroll step.
Definition: ScrollBar.cpp:181
Urho3D::UIElement::pivotSet_
bool pivotSet_
Has pivot changed manually.
Definition: UIElement.h:789
Urho3D::NavigationMesh::GetTileGeometry
void GetTileGeometry(NavBuildData *build, Vector< NavigationGeometryInfo > &geometryList, BoundingBox &box)
Get geometry data within a bounding box.
Definition: NavigationMesh.cpp:1085
Urho3D::Text3D::SetFont
bool SetFont(const String &fontName, float size=DEFAULT_FONT_SIZE)
Set font by looking from resource cache by name and font size. Return true if successful.
Definition: Text3D.cpp:188
Urho3D::ResourceCache::PrintMemoryUsage
String PrintMemoryUsage() const
Returns a formatted string containing the memory actively used.
Definition: ResourceCache.cpp:916
Urho3D::Scene::AddRequiredPackageFile
void AddRequiredPackageFile(PackageFile *package)
Add a required package file for networking. To be called on the server.
Definition: Scene.cpp:677
Urho3D::SoundSource3D::SetDistanceAttenuation
void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
Set attenuation parameters.
Definition: SoundSource3D.cpp:104
Urho3D::XMLElement::GetParent
XMLElement GetParent() const
Return parent element.
Definition: XMLElement.cpp:639
Urho3D::CollisionShape::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: CollisionShape.cpp:494
Urho3D::Variant::SetBuffer
void SetBuffer(const void *data, unsigned size)
Set buffer type from a memory area.
Definition: Variant.cpp:392
Urho3D::XMLElement::GetAttribute
String GetAttribute(const String &name=String::EMPTY) const
Return attribute, or empty if missing.
Definition: XMLElement.cpp:693
Urho3D::RigidBody2D::SetFixedRotation
void SetFixedRotation(bool fixedRotation)
Set fixed rotation.
Definition: RigidBody2D.cpp:232
Urho3D::SharedPtr::Reset
void Reset(T *ptr=nullptr)
Reset with another pointer.
Definition: Ptr.h:167
Urho3D::Node::GetWorldRotation2D
float GetWorldRotation2D() const
Return rotation in world space (for Urho2D).
Definition: Node.h:432
Urho3D::Window::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: Window.cpp:84
Urho3D::Node::UpdateWorldTransform
void UpdateWorldTransform() const
Recalculate the world transform.
Definition: Node.cpp:2087
Urho3D::SmoothedTransform::targetRotation_
Quaternion targetRotation_
Target rotation.
Definition: SmoothedTransform.h:92
Urho3D::ScrollBar::HandleForwardButtonPressed
void HandleForwardButtonPressed(StringHash eventType, VariantMap &eventData)
Handle forward button pressed.
Definition: ScrollBar.cpp:280
Urho3D::Matrix3::Element
float Element(unsigned i, unsigned j) const
Return matrix element.
Definition: Matrix3.h:266
Urho3D::RibbonTrail::needUpdate_
bool needUpdate_
Need update flag.
Definition: RibbonTrail.h:239
Urho3D::OcclusionBuffer::projection_
Matrix4 projection_
Projection matrix.
Definition: OcclusionBuffer.h:205
Urho3D::Geometry::rawIndexSize_
unsigned rawIndexSize_
Raw index data override size.
Definition: Geometry.h:141
Urho3D::Object::UnsubscribeFromAllEventsExcept
void UnsubscribeFromAllEventsExcept(const PODVector< StringHash > &exceptions, bool onlyUserData)
Unsubscribe from all events except those listed, and optionally only those with userdata (script regi...
Definition: Object.cpp:268
Urho3D::Connection::GetDownloadName
const String & GetDownloadName() const
Return name of current package download, or empty if no downloads.
Definition: Connection.cpp:1131
Urho3D::Slider::value_
float value_
Slider current value.
Definition: Slider.h:108
Urho3D::Image::CleanupLevels
void CleanupLevels()
Clean up the mip levels.
Definition: Image.cpp:2310
Urho3D::JoystickState::Reset
void Reset()
Reset button, axis and hat states to neutral.
Definition: Input.cpp:339
Urho3D::BatchGroup::~BatchGroup
~BatchGroup()=default
Destruct.
Urho3D::Spline::Spline
Spline()
Default constructor.
Definition: Spline.cpp:40
Urho3D::JSONValue::JSONValue
JSONValue(const JSONValue &value)
Copy-construct from another JSON value.
Definition: JSONValue.h:137
Urho3D::RigidBody::collisionMask_
unsigned collisionMask_
Collision mask.
Definition: RigidBody.h:291
Urho3D::UI::debugVertexData_
PODVector< float > debugVertexData_
UI rendering vertex data for debug draw.
Definition: UI.h:367
Urho3D::Matrix3::Row
Vector3 Row(unsigned i) const
Return matrix row.
Definition: Matrix3.h:269
Urho3D::UI::SetCustomSize
void SetCustomSize(const IntVector2 &size)
Set custom size of the root element. This disables automatic resizing of the root element according t...
Definition: UI.cpp:757
Urho3D::NavigationMesh::GetMeshName
String GetMeshName() const
Return the given name of this navigation mesh.
Definition: NavigationMesh.h:192
Urho3D::ShaderProgram
Linked shader program on the GPU.
Definition: OGLShaderProgram.h:38
Urho3D::ConstraintRevolute2D::SetEnableMotor
void SetEnableMotor(bool enableMotor)
Set enable motor.
Definition: ConstraintRevolute2D.cpp:116
Urho3D::ScrollView::~ScrollView
~ScrollView() override
Destruct.
Urho3D::Script::Script
Script(Context *context)
Construct.
Definition: Script.cpp:69
Urho3D::PhysicsWorld::AddCollisionShape
void AddCollisionShape(CollisionShape *shape)
Add a collision shape to keep track of. Called by CollisionShape.
Definition: PhysicsWorld.cpp:730
Urho3D::Constraint::MarkConstraintDirty
void MarkConstraintDirty()
Mark constraint dirty.
Definition: Constraint.h:166
Urho3D::WeakPtr::operator[]
T & operator[](int index)
Subscript the object if applicable.
Definition: Ptr.h:422
Urho3D::ListView::hierarchyMode_
bool hierarchyMode_
Hierarchy mode flag.
Definition: ListView.h:176
Urho3D::Network::BroadcastMessage
void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer &msg, unsigned contentID=0)
Broadcast a message with content ID to all client connections.
Definition: Network.cpp:513
Urho3D::PhysicsWorld::RemoveCachedGeometry
void RemoveCachedGeometry(Model *model)
Invalidate cached collision geometry for a model.
Definition: PhysicsWorld.cpp:614
Urho3D::AnimatedModel::LoadXML
bool LoadXML(const XMLElement &source) override
Load from XML data. Return true if successful.
Definition: AnimatedModel.cpp:137
Urho3D::Console::currentRow_
String currentRow_
Current row being edited.
Definition: Console.h:164
Urho3D::ConstraintRevolute2D::GetMotorSpeed
float GetMotorSpeed() const
Return motor speed.
Definition: ConstraintRevolute2D.h:74
Urho3D::Camera::projFarClip_
float projFarClip_
Cached actual far clip distance.
Definition: Camera.h:246
Urho3D::UI::RenderToTextureData::debugVertexData_
PODVector< float > debugVertexData_
UI rendering vertex data for debug draw.
Definition: UI.h:263
Urho3D::Terrain::GetNorthNeighbor
Terrain * GetNorthNeighbor() const
Return north neighbor terrain.
Definition: Terrain.h:145
Urho3D::Texture::GetSRGB
bool GetSRGB() const
Return whether is using sRGB sampling and writing.
Definition: Texture.h:106
Urho3D::Context::networkAttributes_
HashMap< StringHash, Vector< AttributeInfo > > networkAttributes_
Network replication attribute descriptions per object type.
Definition: Context.h:232
Urho3D::AnimationState::SetBoneWeight
void SetBoneWeight(unsigned index, float weight, bool recursive=false)
Set per-bone blending weight by track index. Default is 1.0 (full), is multiplied with the state's bl...
Definition: AnimationState.cpp:205
Urho3D::Log
Logging subsystem.
Definition: Log.h:73
Urho3D::ParticleEmitter2D::Update
void Update(float timeStep)
Update.
Definition: ParticleEmitter2D.cpp:311
Urho3D::Model::GetMorphs
const Vector< ModelMorph > & GetMorphs() const
Return vertex morphs.
Definition: Model.h:188
Urho3D::Node::AddListener
void AddListener(Component *component)
Add listener component that is notified of node being dirtied. Can either be in the same node or anot...
Definition: Node.cpp:1152
Urho3D::ParticleEffect::SetSizeAdd
void SetSizeAdd(float sizeAdd)
Set particle size additive modifier.
Definition: ParticleEffect.cpp:581
Urho3D::ResourceRefList::names_
StringVector names_
List of object names.
Definition: Variant.h:158
Urho3D::Graphics::lastShader_
WeakPtr< Shader > lastShader_
Last used shader in shader variation query.
Definition: Graphics.h:855
Urho3D::Slider::~Slider
~Slider() override
Destruct.
Urho3D::RaycastVehicle::GetWheelFrictionSlip
float GetWheelFrictionSlip(int wheel) const
Get wheel friction slip.
Definition: RaycastVehicle.cpp:515
Urho3D::WorkQueue::poolItems_
List< SharedPtr< WorkItem > > poolItems_
Work item pool for reuse to cut down on allocation. The bool is a flag for item pooling and whether i...
Definition: WorkQueue.h:132
Urho3D::PhysicsWorld2D::SetApplyingTransforms
void SetApplyingTransforms(bool enable)
Set node dirtying to be disregarded.
Definition: PhysicsWorld2D.h:203
Urho3D::Matrix3x4::Element
float Element(unsigned i, unsigned j) const
Return matrix element.
Definition: Matrix3x4.h:660
Urho3D::Camera::SetOrthographic
void SetOrthographic(bool enable)
Set orthographic mode enabled/disabled.
Definition: Camera.cpp:195
Urho3D::PropertySet2D::Load
void Load(const XMLElement &element)
Load from XML element.
Definition: TileMapDefs2D.cpp:142
Urho3D::Sound::GetStart
signed char * GetStart() const
Return sound data start.
Definition: Sound.h:73
Urho3D::Drawable2D::GetDrawOrder
int GetDrawOrder() const
Return draw order by layer and order in layer.
Definition: Drawable2D.h:109
Urho3D::GraphicsImpl::vertexBuffersDirty_
bool vertexBuffersDirty_
Need vertex attribute pointer update flag.
Definition: OGLGraphicsImpl.h:158
Urho3D::BackgroundLoader::GetNumQueuedResources
unsigned GetNumQueuedResources() const
Return amount of resources in the load queue.
Urho3D::DebugLine::DebugLine
DebugLine()=default
Construct undefined.
Urho3D::Scene::replicatedNodes_
HashMap< unsigned, Node * > replicatedNodes_
Replicated scene nodes by ID.
Definition: Scene.h:284
Urho3D::ResourceCache::FindResource
const SharedPtr< Resource > & FindResource(StringHash type, StringHash nameHash)
Find a resource.
Definition: ResourceCache.cpp:975
Urho3D::BoundingBox::Merge
void Merge(const Vector3 &point)
Merge a point.
Definition: BoundingBox.h:176
Urho3D::PhysicsWorld2D::SetDrawPair
void SetDrawPair(bool drawPair)
Set draw pair.
Definition: PhysicsWorld2D.cpp:372
Urho3D::XMLElement::SetUInt
bool SetUInt(const String &name, unsigned value)
Set an unsigned integer attribute.
Definition: XMLElement.cpp:362
Urho3D::Deserializer::ReadMatrix3
Matrix3 ReadMatrix3()
Read a Matrix3.
Definition: Deserializer.cpp:212
Urho3D::CollisionShape2D::SetFriction
void SetFriction(float friction)
Set friction.
Definition: CollisionShape2D.cpp:152
Urho3D::ScenePassInfo::passIndex_
unsigned passIndex_
Pass index.
Definition: View.h:83
Urho3D::IntVector2::x_
int x_
X coordinate.
Definition: Vector2.h:156
Urho3D::SoundSource3D::SetOuterAngle
void SetOuterAngle(float angle)
Set outer angle in degrees. Outside this angle sound will be completely attenuated....
Definition: SoundSource3D.cpp:137
Urho3D::Context::GetEventSender
Object * GetEventSender() const
Return active event sender. Null outside event handling.
Definition: Context.cpp:374
Urho3D::AnimationSet2D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: AnimationSet2D.cpp:124
Urho3D::MessageBox::okButton_
Button * okButton_
OK button element.
Definition: MessageBox.h:73
Urho3D::NodeReplicationState::markedDirty_
bool markedDirty_
Whether exists in the SceneState's dirty set.
Definition: ReplicationState.h:171
Urho3D::DebugHud::profilerText_
SharedPtr< Text > profilerText_
Profiling information text.
Definition: DebugHud.h:117
Urho3D::LineEdit::SetText
void SetText(const String &text)
Set text.
Definition: LineEdit.cpp:480
Urho3D::Drawable2D::~Drawable2D
~Drawable2D() override
Destruct.
Definition: Drawable2D.cpp:54
Urho3D::XMLElement::SetVectorVariant
bool SetVectorVariant(const String &name, const Variant &value)
Set a float, Vector or Matrix attribute stored in a variant.
Definition: XMLElement.cpp:538
Urho3D::AnimationState::IsEnabled
bool IsEnabled() const
Return whether weight is nonzero.
Definition: AnimationState.h:127
Urho3D::Camera::frustum_
Frustum frustum_
Cached world space frustum.
Definition: Camera.h:234
Urho3D::Animation::RemoveAllTracks
void RemoveAllTracks()
Remove all tracks. This is unsafe if the animation is currently used in playback.
Definition: Animation.cpp:326
Urho3D::ProgressBar::SetOrientation
void SetOrientation(Orientation orientation)
Set orientation type.
Definition: ProgressBar.cpp:76
Urho3D::SoundStream::SetStopAtEnd
void SetStopAtEnd(bool enable)
Set whether playback should stop when no more data. Default false.
Definition: SoundStream.cpp:52
Urho3D::ParticleEffect::SortTextureFrames
void SortTextureFrames()
Sort the list of texture frames based on time.
Definition: ParticleEffect.cpp:728
Urho3D::HashSet::ConstIterator::operator=
ConstIterator & operator=(const Iterator &rhs)
Assign from a non-const iterator.
Definition: HashSet.h:131
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4(const Matrix4 &matrix) noexcept
Copy-construct from a 4x4 matrix which is assumed to contain no projection.
Definition: Matrix3x4.h:83
Urho3D::Matrix3x4::SetScale
void SetScale(const Vector3 &scale)
Set scaling elements.
Definition: Matrix3x4.h:526
Urho3D::FlagSet::operator==
bool operator==(Enum rhs) const
Equality check against enum value.
Definition: FlagSet.h:190
Urho3D::PhysicsWorld2D::physicsStepping_
bool physicsStepping_
Whether is currently stepping the world. Used internally.
Definition: PhysicsWorld2D.h:238
Urho3D::UI::vertexData_
PODVector< float > vertexData_
UI rendering vertex data.
Definition: UI.h:363
Urho3D::StaticModel::SetOcclusionLodLevel
void SetOcclusionLodLevel(unsigned level)
Set occlusion LOD level. By default (M_MAX_UNSIGNED) same as visible.
Definition: StaticModel.cpp:296
Urho3D::RibbonTrail::SetMaterial
void SetMaterial(Material *material)
Set material.
Definition: RibbonTrail.cpp:414
Urho3D::RaycastVehicle::vehicleData_
RaycastVehicleData * vehicleData_
Opaque Bullet data hidden from public.
Definition: RaycastVehicle.h:190
Urho3D::ProfilerBlock::count_
unsigned count_
Calls on current frame.
Definition: Profiler.h:146
Urho3D::Renderer2D::AddDrawable
void AddDrawable(Drawable2D *drawable)
Add Drawable2D.
Definition: Renderer2D.cpp:227
Urho3D::Graphics::Minimize
void Minimize()
Minimize the window.
Definition: Graphics.cpp:345
Urho3D::CharLocation
Cached character location and size within text. Used for queries related to text editing.
Definition: Text.h:47
Urho3D::BlendMode
BlendMode
Blending mode.
Definition: GraphicsDefs.h:70
Urho3D::DebugHud::SetAppStats
void SetAppStats(const String &label, const Variant &stats)
Set application-specific stats.
Definition: DebugHud.cpp:280
Urho3D::Zone::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: Zone.cpp:229
Urho3D::Tile2D::GetGid
unsigned GetGid() const
Return gid.
Definition: TileMapDefs2D.h:138
Urho3D::View::PrepareInstancingBuffer
void PrepareInstancingBuffer()
Prepare instancing buffer by filling it with all instance transforms.
Definition: View.cpp:2954
Urho3D::DecalVertex::DecalVertex
DecalVertex(const Vector3 &position, const Vector3 &normal)
Construct with position and normal.
Definition: DecalSet.h:43
Urho3D::Variant::Variant
Variant(const Matrix3 &value)
Construct from a Matrix3.
Definition: Variant.h:499
Urho3D::Geometry::SetNumVertexBuffers
bool SetNumVertexBuffers(unsigned num)
Set number of vertex buffers.
Definition: Geometry.cpp:53
Urho3D::DropDownList::~DropDownList
~DropDownList() override
Destruct.
Urho3D::PhysicsWorld::delayedWorldTransforms_
HashMap< RigidBody *, DelayedWorldTransform > delayedWorldTransforms_
Delayed (parented) world transform assignments.
Definition: PhysicsWorld.h:326
Urho3D::FileSystem::~FileSystem
~FileSystem() override
Destruct.
Definition: FileSystem.cpp:294
Urho3D::Batch::Batch
Batch()=default
Construct with defaults.
Urho3D::RandomAccessConstIterator::RandomAccessConstIterator
constexpr RandomAccessConstIterator(const T *ptr)
Construct with an object pointer.
Definition: Iter.h:136
Urho3D::AnimatedSprite2D::Dispose
void Dispose()
Dispose.
Definition: AnimatedSprite2D.cpp:496
Urho3D::ParticleEffect::loadMaterialName_
String loadMaterialName_
Material name acquired during BeginLoad().
Definition: ParticleEffect.h:423
Urho3D::Renderer::SetSpecularLighting
void SetSpecularLighting(bool enable)
Set specular lighting on/off.
Definition: Renderer.cpp:316
Urho3D::AllocatorBlock::nodeSize_
unsigned nodeSize_
Size of a node.
Definition: Allocator.h:43
Urho3D::SmoothedTransform::targetPosition_
Vector3 targetPosition_
Target position.
Definition: SmoothedTransform.h:90
Urho3D::ParticleEffect::GetColorFrames
const Vector< ColorFrame > & GetColorFrames() const
Return all color animation frames.
Definition: ParticleEffect.h:317
Urho3D::Material::Clone
SharedPtr< Material > Clone(const String &cloneName=String::EMPTY) const
Clone the material.
Definition: Material.cpp:1146
Urho3D::ToolTip::GetDelay
float GetDelay() const
Return the delay in seconds until the tooltip shows once hovering.
Definition: ToolTip.h:57
Urho3D::PackageDownload::initiated_
bool initiated_
Download initiated flag.
Definition: Connection.h:84
Urho3D::DebugRenderer::lines_
PODVector< DebugLine > lines_
Lines rendered with depth test.
Definition: DebugRenderer.h:176
Urho3D::AnimationController::GetFadeTime
float GetFadeTime(const String &name) const
Return animation fade time.
Definition: AnimationController.cpp:547
Urho3D::SoundSource::gain_
float gain_
Gain.
Definition: SoundSource.h:138
Urho3D::LayoutMode
LayoutMode
Layout operation mode.
Definition: UIElement.h:85
Urho3D::Light::GetShadowResolution
float GetShadowResolution() const
Return shadow resolution.
Definition: Light.h:280
Urho3D::Serializable::ReadDeltaUpdate
bool ReadDeltaUpdate(Deserializer &source)
Read and apply a network delta update. Return true if attributes were changed.
Definition: Serializable.cpp:820
Urho3D::CrowdAgent::agentCrowdId_
int agentCrowdId_
Crowd manager reference to this agent.
Definition: CrowdAgent.h:206
Urho3D::Object::~Object
~Object() override
Destruct. Clean up self from event sender & receiver structures.
Definition: Object.cpp:83
Urho3D::FileSelector::path_
String path_
Current directory.
Definition: FileSelector.h:179
Urho3D::Technique
Material technique. Consists of several passes.
Definition: Technique.h:190
Urho3D::Batch::Draw
void Draw(View *view, Camera *camera, bool allowDepthWrite) const
Prepare and draw.
Definition: Batch.cpp:636
Urho3D::Animatable::GetAttributeAnimation
ValueAnimation * GetAttributeAnimation(const String &name) const
Return attribute animation.
Definition: Animatable.cpp:428
Urho3D::StretchableSprite2D
Stretchable sprite component.
Definition: StretchableSprite2D.h:30
Urho3D::Renderer::LoadPassShaders
void LoadPassShaders(Pass *pass, Vector< SharedPtr< ShaderVariation > > &vertexShaders, Vector< SharedPtr< ShaderVariation > > &pixelShaders, const BatchQueue &queue)
Reload shaders for a material pass. The related batch queue is provided in case it has extra shader c...
Definition: Renderer.cpp:1639
Urho3D::Graphics::GetHiresShadowMapFormat
unsigned GetHiresShadowMapFormat() const
Return 24-bit shadow map depth texture format, or 0 if not supported.
Definition: Graphics.h:414
Urho3D::Color::BLACK
static const Color BLACK
Opaque black color.
Definition: Color.h:269
Urho3D::Image::GetSDLSurface
SDL_Surface * GetSDLSurface(const IntRect &rect=IntRect::ZERO) const
Return an SDL surface from the image, or null if failed. Only RGB images are supported....
Definition: Image.cpp:2223
Urho3D::ShaderPrecache::ShaderPrecache
ShaderPrecache(Context *context, const String &fileName)
Construct and begin collecting shader combinations. Load existing combinations from XML if the file e...
Definition: ShaderPrecache.cpp:38
Urho3D::Sphere::GetLocalPoint
Vector3 GetLocalPoint(float theta, float phi) const
Return point on the sphere relative to sphere position.
Definition: Sphere.cpp:257
Urho3D::Allocator::operator=
Allocator< T > & operator=(const Allocator< T > &rhs)=delete
Prevent assignment.
Urho3D::CustomVariantValue::IsZero
virtual bool IsZero() const
Compare to zero.
Definition: Variant.h:204
Urho3D::List::Node::value_
T value_
Node value.
Definition: List.h:48
Urho3D::XMLElement::SetStringVector
bool SetStringVector(const StringVector &value)
Set a string vector attribute. Creates child elements as necessary.
Definition: XMLElement.cpp:490
Urho3D::CrowdAgent::AddAgentToCrowd
int AddAgentToCrowd(bool force=false)
Add agent into crowd.
Definition: CrowdAgent.cpp:270
Urho3D::Quaternion::Quaternion
Quaternion(const float *data) noexcept
Construct from a float array.
Definition: Quaternion.h:82
Urho3D::ParticleEffect::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: ParticleEffect.cpp:120
Urho3D::ShaderProgram::GetConstantBuffers
const SharedPtr< ConstantBuffer > * GetConstantBuffers() const
Return all constant buffers.
Definition: OGLShaderProgram.h:77
Urho3D::IKEffector::GetTargetName
const String & GetTargetName() const
Retrieves the name of the target node. The node doesn't necessarily have to exist in the scene graph.
Definition: IKEffector.cpp:99
Urho3D::Texture::RegenerateLevels
void RegenerateLevels()
Regenerate mipmap levels for a rendertarget after rendering and before sampling. Called internally by...
Definition: OGLTexture.cpp:335
Urho3D::ResourceCache::SearchPackages
File * SearchPackages(const String &name)
Search resource packages for file.
Definition: ResourceCache.cpp:1123
Urho3D::IntVector3::IntVector3
IntVector3() noexcept
Construct a zero vector.
Definition: Vector3.h:36
Urho3D::Text3D::GetTextAlignment
HorizontalAlignment GetTextAlignment() const
Return row alignment.
Definition: Text3D.cpp:413
Urho3D::ShaderProgram::~ShaderProgram
~ShaderProgram() override
Destruct.
Definition: OGLShaderProgram.cpp:70
Urho3D::Model::Clone
SharedPtr< Model > Clone(const String &cloneName=String::EMPTY) const
Clone the model. The geometry data is deep-copied and can be modified in the clone without affecting ...
Definition: Model.cpp:617
Urho3D::UIElement::GetLayoutChildPosition
IntVector2 GetLayoutChildPosition(UIElement *child)
Get child element constant position in a layout.
Definition: UIElement.cpp:2185
Urho3D::Connection::remoteEvents_
Vector< RemoteEvent > remoteEvents_
Queued remote events.
Definition: Connection.h:315
Urho3D::HashSet::FindNode
Node * FindNode(const T &key, unsigned hashKey) const
Find a node from the buckets. Do not call if the buckets have not been allocated.
Definition: HashSet.h:526
Urho3D::DirtyBits::Clear
void Clear(unsigned index)
Clear a bit.
Definition: ReplicationState.h:77
Urho3D::Renderer::SetHDRRendering
void SetHDRRendering(bool enable)
Set HDR rendering on/off.
Definition: Renderer.cpp:311
Urho3D::Renderer::indirectionCubeMap_
SharedPtr< TextureCube > indirectionCubeMap_
Indirection cube map for shadowed pointlights.
Definition: Renderer.h:498
Urho3D::Scene::InstantiateXML
Node * InstantiateXML(const XMLElement &source, const Vector3 &position, const Quaternion &rotation, CreateMode mode=REPLICATED)
Instantiate scene content from XML data. Return root node if successful.
Definition: Scene.cpp:551
Urho3D::Renderer::occlusionBuffers_
Vector< SharedPtr< OcclusionBuffer > > occlusionBuffers_
Reusable occlusion buffers.
Definition: Renderer.h:502
Urho3D::SpriteSheet2D::EndLoadFromJSONFile
bool EndLoadFromJSONFile()
End load from JSON file.
Definition: SpriteSheet2D.cpp:299
Urho3D::InstanceData::InstanceData
InstanceData(const Matrix3x4 *worldTransform, const void *instancingData, float distance)
Construct with transform, instancing data and distance.
Definition: Batch.h:118
Urho3D::AnimatedModel::animationStates_
Vector< SharedPtr< AnimationState > > animationStates_
Animation states.
Definition: AnimatedModel.h:219
Urho3D::HashMap::ConstIterator::ConstIterator
ConstIterator()=default
Construct.
Urho3D::Log::inWrite_
bool inWrite_
In write flag to prevent recursion.
Definition: Log.h:128
Urho3D::Camera::GetFarClip
float GetFarClip() const
Return far clip distance. If a custom projection matrix is in use, is calculated from it instead of t...
Definition: Camera.cpp:276
Urho3D::Model::GetBoundingBox
const BoundingBox & GetBoundingBox() const
Return bounding box.
Definition: Model.h:152
Urho3D::DynamicNavigationMesh::GetTileData
PODVector< unsigned char > GetTileData(const IntVector2 &tile) const override
Return tile data.
Definition: DynamicNavigationMesh.cpp:541
Urho3D::List::Iterator::operator--
Iterator & operator--()
Predecrement the pointer.
Definition: List.h:85
Urho3D::PODVector
Vector template class for POD types. Does not call constructors or destructors and uses block move....
Definition: Vector.h:686
Urho3D::Node::SetWorldTransform2D
void SetWorldTransform2D(const Vector2 &position, float rotation)
Set both position and rotation in world space as an atomic operation (for Urho2D).
Definition: Node.h:222
Urho3D::Spline::interpolationMode_
InterpolationMode interpolationMode_
Interpolation mode.
Definition: Spline.h:121
Urho3D::NavigationMesh::GetBoundingBox
const BoundingBox & GetBoundingBox() const
Return local space bounding box of the navigation mesh.
Definition: NavigationMesh.h:246
Urho3D::Texture::sRGB_
bool sRGB_
sRGB sampling and writing mode flag.
Definition: Texture.h:237
Urho3D::GImpactMeshData::meshInterface_
UniquePtr< TriangleMeshInterface > meshInterface_
Bullet triangle mesh interface.
Definition: CollisionShape.h:100
Urho3D::Serializer::WriteUInt64
bool WriteUInt64(unsigned long long value)
Write a 64-bit unsigned integer.
Definition: Serializer.cpp:56
Urho3D::Audio::SetListener
void SetListener(SoundListener *listener)
Set active sound listener for 3D sounds.
Definition: Audio.cpp:192
Urho3D::CollisionShape::SetGImpactMesh
void SetGImpactMesh(Model *model, unsigned lodLevel=0, const Vector3 &scale=Vector3::ONE, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a triangle mesh from Model. If you update a model's geometry and want to reapply the shape,...
Definition: CollisionShape.cpp:695
Urho3D::CrowdAgent::GetObstacleAvoidanceType
unsigned GetObstacleAvoidanceType() const
Get the agent's obstacle avoidance type.
Definition: CrowdAgent.h:166
Urho3D::CollisionShape2D::IsTrigger
bool IsTrigger() const
Return trigger.
Definition: CollisionShape2D.h:71
Urho3D::XMLElement::file_
WeakPtr< XMLFile > file_
XML file.
Definition: XMLElement.h:307
Urho3D::IndexBuffer::UpdateToGPU
bool UpdateToGPU()
Update the shadow data to the GPU buffer.
Definition: OGLIndexBuffer.cpp:257
Urho3D::Graphics::GetMonitorCount
int GetMonitorCount() const
Return the number of currently connected monitors.
Definition: Graphics.cpp:315
Urho3D::UIElement::SetFocusMode
void SetFocusMode(FocusMode mode)
Set focus mode.
Definition: UIElement.cpp:924
Urho3D::TileMapObject2D::GetPoint
const Vector2 & GetPoint(unsigned index) const
Return point at index (use for script).
Definition: TileMapDefs2D.cpp:195
Urho3D::BorderImage::~BorderImage
~BorderImage() override
Destruct.
Urho3D::Input::ResetMouseVisible
void ResetMouseVisible()
Reset last mouse visibility that was not suppressed in SetMouseVisible.
Definition: Input.cpp:664
Urho3D::Terrain::SetEastNeighbor
void SetEastNeighbor(Terrain *east)
Set east (positive X) neighbor terrain for seamless LOD changes across terrains.
Definition: Terrain.cpp:321
Urho3D::BoundingBox
Three-dimensional axis-aligned bounding box.
Definition: BoundingBox.h:43
Urho3D::Pass::GetLightingMode
PassLightingMode GetLightingMode() const
Return pass lighting mode.
Definition: Technique.h:99
Urho3D::View3D::GetAutoUpdate
bool GetAutoUpdate() const
Return whether render target updates automatically.
Definition: View3D.h:65
Urho3D::Button::SetPressed
void SetPressed(bool enable)
Set new pressed state.
Definition: Button.cpp:193
Urho3D::RenderSurface::viewports_
Vector< SharedPtr< Viewport > > viewports_
Viewports.
Definition: RenderSurface.h:148
Urho3D::Drawable::minZ_
float minZ_
Current minimum view space depth.
Definition: Drawable.h:373
Urho3D::RibbonTrail::indexBuffer_
SharedPtr< IndexBuffer > indexBuffer_
Index buffer.
Definition: RibbonTrail.h:207
Urho3D::PhysicsWorld::GetInternalEdge
bool GetInternalEdge() const
Return whether Bullet's internal edge utility for trimesh collisions is enabled.
Definition: PhysicsWorld.h:230
Urho3D::TouchState::lastPosition_
IntVector2 lastPosition_
Last position in screen coordinates.
Definition: Input.h:67
Urho3D::ParticleEffect::Clone
SharedPtr< ParticleEffect > Clone(const String &cloneName=String::EMPTY) const
Clone the particle effect.
Definition: ParticleEffect.cpp:736
Urho3D::Input::lastMouseVisible_
bool lastMouseVisible_
The last operating system mouse cursor visible flag set by end use call to SetMouseVisible.
Definition: Input.h:404
Urho3D::ConstraintMouse2D::target_
Vector2 target_
Target.
Definition: ConstraintMouse2D.h:71
Urho3D::DecalSet::SetDecalsAttr
void SetDecalsAttr(const PODVector< unsigned char > &value)
Set decals attribute.
Definition: DecalSet.cpp:524
Urho3D::UniquePtr::UniquePtr
UniquePtr(T *ptr)
Construct from pointer.
Definition: Ptr.h:574
Urho3D::ScrollBar::GetScrollStep
float GetScrollStep() const
Return button scroll step.
Definition: ScrollBar.h:78
Urho3D::Deserializer::SeekRelative
unsigned SeekRelative(int delta)
Set position relative to current position. Return actual new position.
Definition: Deserializer.cpp:48
Urho3D::GraphicsImpl::usedVertexAttributes_
unsigned usedVertexAttributes_
Vertex attributes bitmask used by the current shader program.
Definition: OGLGraphicsImpl.h:120
Urho3D::ListView::SetHighlightMode
void SetHighlightMode(HighlightMode mode)
Set selected items' highlight mode.
Definition: ListView.cpp:701
Urho3D::StringHash::ZERO
static const StringHash ZERO
Zero hash.
Definition: StringHash.h:108
Urho3D::AnimationState::blendingMode_
AnimationBlendMode blendingMode_
Blending mode.
Definition: AnimationState.h:177
Urho3D::HttpRequest::GetURL
const String & GetURL() const
Return URL used in the request.
Definition: HttpRequest.h:65
Urho3D::GPUObject::OnDeviceLost
virtual void OnDeviceLost()
Mark the GPU resource destroyed on graphics context destruction.
Definition: GPUObject.cpp:52
Urho3D::BillboardSet::sortFrameNumber_
unsigned sortFrameNumber_
Frame number on which was last sorted.
Definition: BillboardSet.h:203
Urho3D::XMLElement
Element in an XML file.
Definition: XMLElement.h:49
Urho3D::ScriptInstance::idAttributes_
HashMap< AttributeInfo *, unsigned > idAttributes_
Storage for unapplied node and component ID attributes.
Definition: ScriptInstance.h:206
Urho3D::IntVector2::UP
static const IntVector2 UP
(0,1) vector.
Definition: Vector2.h:167
Urho3D::Quaternion::FromRotationMatrix
void FromRotationMatrix(const Matrix3 &matrix)
Define from a rotation matrix.
Definition: Quaternion.cpp:106
Urho3D::Octant::GetWorldBoundingBox
const BoundingBox & GetWorldBoundingBox() const
Return world-space bounding box.
Definition: Octree.h:76
Urho3D::ParticleEmitter::Update
void Update(const FrameInfo &frame) override
Update before octree reinsertion. Is called from a worker thread.
Definition: ParticleEmitter.cpp:101
Urho3D::RaycastVehicle::inAirRPM_
float inAirRPM_
Revolutions per minute value for in-air motor wheels. FIXME: set this one per wheel.
Definition: RaycastVehicle.h:198
Urho3D::Rect::Clear
void Clear()
Clear to undefined state.
Definition: Rect.h:184
Urho3D::Thread::handle_
void * handle_
Thread handle.
Definition: Thread.h:72
Urho3D::Graphics::GetStencilTest
bool GetStencilTest() const
Return whether stencil test is enabled.
Definition: Graphics.h:531
Urho3D::Sound::SetFormat
void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
Set uncompressed sound data format.
Definition: Sound.cpp:245
Urho3D::UI::HandleMouseButtonUp
void HandleMouseButtonUp(StringHash eventType, VariantMap &eventData)
Handle mouse button up event.
Definition: UI.cpp:1780
Urho3D::Vector::Insert
Iterator Insert(const Iterator &dest, const Vector< T > &vector)
Insert a vector by iterator.
Definition: Vector.h:318
Urho3D::Connection::packedMessageLimit_
int packedMessageLimit_
Outgoing packet size limit.
Definition: Connection.h:351
Urho3D::String::FindLast
unsigned FindLast(const String &str, unsigned startPos=NPOS, bool caseSensitive=true) const
Return index to the last occurrence of a string, or NPOS if not found.
Definition: Str.cpp:668
Urho3D::ScriptFile::GetFunction
asIScriptFunction * GetFunction(const String &declaration)
Return a function by declaration. Will be stored to a search cache so that further searches should be...
Definition: ScriptFile.cpp:606
Urho3D::Rect::min_
Vector2 min_
Minimum vector.
Definition: Rect.h:259
Urho3D::UIElement::FindAttributeAnimationTarget
Animatable * FindAttributeAnimationTarget(const String &name, String &outName) override
Find target of an attribute animation from object hierarchy by name.
Definition: UIElement.cpp:1890
Urho3D::ConstraintPrismatic2D::GetLowerTranslation
float GetLowerTranslation() const
Return lower translation.
Definition: ConstraintPrismatic2D.h:70
Urho3D::FileWatcher::~FileWatcher
~FileWatcher() override
Destruct.
Definition: FileWatcher.cpp:67
Urho3D::SoundListener::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: SoundListener.cpp:40
Urho3D::PhysicsWorld2D::SendBeginContactEvents
void SendBeginContactEvents()
Send begin contact events.
Definition: PhysicsWorld2D.cpp:723
Urho3D::OcclusionBuffer::GetView
const Matrix3x4 & GetView() const
Return view transform matrix.
Definition: OcclusionBuffer.h:129
Urho3D::OcclusionBuffer::ClipVertices
void ClipVertices(const Vector4 &plane, Vector4 *vertices, bool *triangles, unsigned &numTriangles)
Clip vertices against a plane.
Definition: OcclusionBuffer.cpp:685
Urho3D::Network::packageCacheDir_
String packageCacheDir_
Package cache directory.
Definition: Network.h:174
Urho3D::WString::Length
unsigned Length() const
Return length.
Definition: Str.h:616
Urho3D::ParticleEffect2D::GetRotatePerSecond
float GetRotatePerSecond() const
Return rotate per second.
Definition: ParticleEffect2D.h:221
Urho3D::Animatable::OnObjectAnimationRemoved
void OnObjectAnimationRemoved(ObjectAnimation *objectAnimation)
Handle object animation removed.
Definition: Animatable.cpp:497
Urho3D::Image::depth_
int depth_
Depth.
Definition: Image.h:220
Urho3D::Serializable::OnGetAttribute
virtual void OnGetAttribute(const AttributeInfo &attr, Variant &dest) const
Handle attribute read access. Default implementation reads the variable at offset,...
Definition: Serializable.cpp:178
Urho3D::Text3D::GetRowSpacing
float GetRowSpacing() const
Return row spacing.
Definition: Text3D.cpp:418
Urho3D::Terrain::shadowDistance_
float shadowDistance_
Shadow distance.
Definition: Terrain.h:311
Urho3D::Drawable::vertexLights_
PODVector< Light * > vertexLights_
Per-vertex lights affecting this drawable.
Definition: Drawable.h:389
Urho3D::Decal::boundingBox_
BoundingBox boundingBox_
Local-space bounding box.
Definition: DecalSet.h:95
Urho3D::CascadeParameters::Validate
void Validate()
Validate parameters.
Definition: Light.cpp:79
Urho3D::ProfilerBlock::parent_
ProfilerBlock * parent_
Parent block.
Definition: Profiler.h:148
Urho3D::Vector::Resize
void Resize(unsigned newSize)
Resize the vector.
Definition: Vector.h:425
Urho3D::ScrollView::GetScrollSnapEpsilon
float GetScrollSnapEpsilon() const
Return scroll snap epsilon.
Definition: ScrollView.h:125
Urho3D::Scene::asyncLoading_
bool asyncLoading_
Asynchronous loading flag.
Definition: Scene.h:336
Urho3D::LogicComponent::Stop
virtual void Stop()
Called when the component is detached from a scene node, usually on destruction. Note that you will n...
Definition: LogicComponent.h:68
Urho3D::SoundSource::GetFrequency
float GetFrequency() const
Return frequency.
Definition: SoundSource.h:93
Urho3D::Vector4::ONE
static const Vector4 ONE
(1,1,1) vector.
Definition: Vector4.h:236
Urho3D::Particle2D::emitRadius_
float emitRadius_
Emit radius.
Definition: ParticleEmitter2D.h:66
Urho3D::Terrain::GetLodBias
float GetLodBias() const
Return LOD bias.
Definition: Terrain.h:166
Urho3D::RayQueryResult::RayQueryResult
RayQueryResult()
Construct with defaults.
Definition: OctreeQuery.h:188
Urho3D::IndexBuffer::IsDynamic
bool IsDynamic() const
Return whether is dynamic.
Definition: IndexBuffer.h:68
Urho3D::NavArea::GetWorldBoundingBox
BoundingBox GetWorldBoundingBox() const
Get the bounds of this navigation area in world space.
Definition: NavArea.cpp:68
Urho3D::Color::ToUInt
unsigned ToUInt() const
Return color packed to a 32-bit integer, with R component in the lowest 8 bits. Components are clampe...
Definition: Color.cpp:34
Urho3D::Deserializer::ReadBool
bool ReadBool()
Read a bool.
Definition: Deserializer.cpp:119
Urho3D::Light::SetShadowFadeDistance
void SetShadowFadeDistance(float distance)
Set shadow fade out start distance. Only has effect if shadow distance is also non-zero.
Definition: Light.cpp:386
Urho3D::BoundingBox::min_
Vector3 min_
Minimum vector.
Definition: BoundingBox.h:321
Urho3D::Scene
Root scene node, represents the whole scene.
Definition: Scene.h:87
Urho3D::CustomVariantValueTraits
Custom variant value type traits. Specialize the template to implement custom type behavior.
Definition: Variant.h:214
Urho3D::List::Size
unsigned Size() const
Return number of elements.
Definition: List.h:418
Urho3D::Connection::GetPosition
const Vector3 & GetPosition() const
Return the observer position sent by the client for interest management.
Definition: Connection.h:189
Urho3D::JoystickState
Input state for a joystick.
Definition: Input.h:77
Urho3D::ValueAnimation::SaveJSON
bool SaveJSON(JSONValue &dest) const
Save as XML data. Return true if successful.
Definition: ValueAnimation.cpp:187
Urho3D::IntVector2::DOWN
static const IntVector2 DOWN
(0,-1) vector.
Definition: Vector2.h:169
Urho3D::Octant::GetCullingBox
const BoundingBox & GetCullingBox() const
Return bounding box used for fitting drawable objects.
Definition: Octree.h:79
Urho3D::Console::SetDefaultStyle
void SetDefaultStyle(XMLFile *style)
Set UI elements' style from an XML file.
Definition: Console.cpp:120
Urho3D::PackageFile::~PackageFile
~PackageFile() override
Destruct.
Urho3D::UIElement::RemoveChildXML
bool RemoveChildXML(XMLElement &parent, const String &name) const
Remove child XML element by matching attribute name.
Definition: UIElement.cpp:1945
Urho3D::RibbonTrail::SetEndScale
void SetEndScale(float endScale)
Set vertex blended scale for end of trail.
Definition: RibbonTrail.cpp:325
Urho3D::UIElement::EnableLayoutUpdate
void EnableLayoutUpdate()
Enable automatic layout update.
Definition: UIElement.cpp:1212
Urho3D::XMLElement::SetBuffer
bool SetBuffer(const String &name, const void *data, unsigned size)
Set a buffer attribute.
Definition: XMLElement.cpp:332
Urho3D::CollisionShape::SetModelAttr
void SetModelAttr(const ResourceRef &value)
Set model attribute.
Definition: CollisionShape.cpp:876
Urho3D::Material::ParseShaderParameterValue
static Variant ParseShaderParameterValue(const String &value)
Parse a shader parameter value from a string. Retunrs either a bool, a float, or a 2 to 4-component v...
Definition: Material.cpp:1237
Urho3D::RibbonTrail::vertexDistance_
float vertexDistance_
Distance between points. Basically is tail length.
Definition: RibbonTrail.h:217
Urho3D::RandomAccessIterator::URHO_CPP14
URHO_CPP14(constexpr) RandomAccessIterator< T > &operator++()
Preincrement the pointer.
Definition: Iter.h:52
Urho3D::CheckBox::OnKey
void OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers) override
React to a key press.
Definition: CheckBox.cpp:82
Urho3D::View3D::depthTexture_
SharedPtr< Texture2D > depthTexture_
Depth stencil texture.
Definition: View3D.h:87
Urho3D::UI::SendDragOrHoverEvent
void SendDragOrHoverEvent(StringHash eventType, UIElement *element, const IntVector2 &screenPos, const IntVector2 &deltaPos, UI::DragData *dragData)
Send a UI element drag or hover begin event.
Definition: UI.cpp:1664
Urho3D::Input::ResetTouches
void ResetTouches()
Clear touch states and send touch end events.
Definition: Input.cpp:1658
Urho3D::Vector3::CrossProduct
Vector3 CrossProduct(const Vector3 &rhs) const
Calculate cross product.
Definition: Vector3.h:392
Urho3D::ShaderVariation::Release
void Release() override
Release the shader.
Definition: OGLShaderVariation.cpp:60
Urho3D::Script::GetObjectType
asITypeInfo * GetObjectType(const char *declaration)
Query for an inbuilt object type by constant declaration. Can not be used for script types.
Definition: Script.cpp:303
Urho3D::Node::SetWorldPosition2D
void SetWorldPosition2D(const Vector2 &position)
Set position in world space (for Urho2D).
Definition: Node.h:188
Urho3D::Terrain::SetViewMask
void SetViewMask(unsigned mask)
Set view mask for patches. Is and'ed with camera's view mask to see if the object should be rendered.
Definition: Terrain.cpp:416
Urho3D::ObjectAnimation::GetAttributeAnimationInfos
const HashMap< String, SharedPtr< ValueAnimationInfo > > & GetAttributeAnimationInfos() const
Return all attribute animations infos.
Definition: ObjectAnimation.h:78
Urho3D::SharedPtr::SharedPtr
SharedPtr() noexcept
Construct a null shared pointer.
Definition: Ptr.h:40
Urho3D::RaycastVehicle::GetWheelAxle
Vector3 GetWheelAxle(int wheel) const
Get wheel axle vector.
Definition: RaycastVehicle.cpp:643
Urho3D::Frustum::IsInside
Intersection IsInside(const Vector3 &point) const
Test if a point is inside or outside.
Definition: Frustum.h:83
Urho3D::Color::FromUInt
void FromUInt(unsigned color)
Set RGBA values from packed 32-bit integer, with R component in the lowest 8 bits (format 0xAABBGGRR)...
Definition: Color.cpp:77
Urho3D::BodyType2D
BodyType2D
Rigid body type.
Definition: RigidBody2D.h:39
Urho3D::Node::ReorderComponent
void ReorderComponent(Component *component, unsigned index)
Adjust index order of an existing component in this node.
Definition: Node.cpp:1083
Urho3D::PhysicsWorld2D::SetDrawCenterOfMass
void SetDrawCenterOfMass(bool drawCenterOfMass)
Set draw center of mass.
Definition: PhysicsWorld2D.cpp:380
Urho3D::RigidBody::hasSimulated_
bool hasSimulated_
Internal flag whether has simulated at least once.
Definition: RigidBody.h:311
Urho3D::ShaderProgram::globalFrameNumber
static unsigned globalFrameNumber
Global shader parameter source framenumber.
Definition: OGLShaderProgram.h:112
Urho3D::Node::SetEnabled
void SetEnabled(bool enable)
Set enabled/disabled state without recursion. Components in a disabled node become effectively disabl...
Definition: Node.cpp:715
Urho3D::Renderer::ReloadTextures
void ReloadTextures()
Reload textures.
Definition: Renderer.cpp:1752
Urho3D::Slider::Page
void Page(const IntVector2 &position, bool pressed)
Send slider page event.
Definition: Slider.cpp:277
Urho3D::OcclusionBuffer::GetWidth
int GetWidth() const
Return buffer width.
Definition: OcclusionBuffer.h:135
Urho3D::ObjectFactory::typeInfo_
const TypeInfo * typeInfo_
Type info.
Definition: Object.h:228
Urho3D::HashIteratorBase::HashIteratorBase
HashIteratorBase()
Construct.
Definition: HashBase.h:61
Urho3D::Renderer::GetDefaultLightRamp
Texture2D * GetDefaultLightRamp() const
Return the default range attenuation texture.
Definition: Renderer.h:367
Urho3D::TileMap2D::GetTmxFile
TmxFile2D * GetTmxFile() const
Return tmx file.
Definition: TileMap2D.cpp:154
Urho3D::AnimationController::GetAnimationState
AnimationState * GetAnimationState(const String &name) const
Find an animation state by animation name.
Definition: AnimationController.cpp:571
Urho3D::Texture3D::loadImage_
SharedPtr< Image > loadImage_
Image file acquired during BeginLoad.
Definition: Texture3D.h:73
Urho3D::RigidBody2D::IsAllowSleep
bool IsAllowSleep() const
Return allow sleep.
Definition: RigidBody2D.h:141
Urho3D::Sound::LoadParameters
void LoadParameters()
Load optional parameters from an XML file.
Definition: Sound.cpp:341
Urho3D::HashSet::Node::key_
T key_
Key.
Definition: HashSet.h:51
Urho3D::ScrollBar::downRect_
IntRect downRect_
Down button image rect.
Definition: ScrollBar.h:118
Urho3D::RigidBody::SetFriction
void SetFriction(float friction)
Set friction coefficient.
Definition: RigidBody.cpp:374
Urho3D::UISelectable::GetHoverColor
const Color & GetHoverColor() const
Return hover background color.
Definition: UISelectable.h:55
Urho3D::Scene::localNodeID_
unsigned localNodeID_
Next free local node ID.
Definition: Scene.h:318
Urho3D::RigidBody::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: RigidBody.cpp:931
Urho3D::ConvexData::indexData_
SharedArrayPtr< unsigned > indexData_
Index data.
Definition: CollisionShape.h:119
Urho3D::FileSelector::SetTitle
void SetTitle(const String &text)
Set title text.
Definition: FileSelector.cpp:182
Urho3D::Color::FromUIntMask
void FromUIntMask(unsigned color, const ChannelMask &mask)
Set RGBA values from packed 32-bit integer with arbitrary channel mask.
Definition: Color.cpp:85
Urho3D::SoundSource::streamBuffer_
SharedPtr< Sound > streamBuffer_
Decode buffer.
Definition: SoundSource.h:191
Urho3D::TerrainPatch::SetCoordinates
void SetCoordinates(const IntVector2 &coordinates)
Set patch coordinates.
Definition: TerrainPatch.cpp:238
Urho3D::CollisionBox2D::GetCenter
const Vector2 & GetCenter() const
Return center.
Definition: CollisionBox2D.h:58
Urho3D::PhysicsWorld::SetSplitImpulse
void SetSplitImpulse(bool enable)
Set split impulse collision mode. This is more accurate, but slower. Disabled by default.
Definition: PhysicsWorld.cpp:358
Urho3D::Bone::initialScale_
Vector3 initialScale_
Reset scale.
Definition: Skeleton.h:70
Urho3D::FontFaceFreeType::LoadCharGlyph
bool LoadCharGlyph(unsigned charCode, Image *image=nullptr)
Load char glyph.
Definition: FontFaceFreeType.cpp:410
Urho3D::ToolTip::originalPosition_
IntVector2 originalPosition_
Original offset position to the parent.
Definition: ToolTip.h:71
Urho3D::AnimatedModel::UpdateBoneBoundingBox
void UpdateBoneBoundingBox()
Recalculate the bone bounding box. Normally called internally, but can also be manually called if up-...
Definition: AnimatedModel.cpp:906
Urho3D::ParticleEffect2D::GetParticleLifespanVariance
float GetParticleLifespanVariance() const
Return particle lifespan variance.
Definition: ParticleEffect2D.h:152
Urho3D::SplinePath::GetLength
float GetLength() const
Get the length of SplinePath.
Definition: SplinePath.h:82
Urho3D::SplinePath::spline_
Spline spline_
The Control Points of the Spline.
Definition: SplinePath.h:126
Urho3D::AttributeAccessor
Abstract base class for invoking attribute accessors.
Definition: Attribute.h:62
Urho3D::LineEdit::text_
SharedPtr< Text > text_
Text element.
Definition: LineEdit.h:130
Urho3D::CollisionShape2D::SetRestitution
void SetRestitution(float restitution)
Set restitution .
Definition: CollisionShape2D.cpp:178
Urho3D::CrowdAgent::UpdateParameters
void UpdateParameters(unsigned scope=M_MAX_UNSIGNED)
Update Detour crowd agent parameter.
Definition: CrowdAgent.cpp:190
Urho3D::Pass::pixelShaderDefineExcludes_
String pixelShaderDefineExcludes_
Pixel shader define excludes.
Definition: Technique.h:176
Urho3D::Image::GetComponents
unsigned GetComponents() const
Return number of color components.
Definition: Image.h:168
Urho3D::Console::SetVisible
void SetVisible(bool enable)
Show or hide.
Definition: Console.cpp:141
Urho3D::PhysicsWorld2D::rigidBodies_
Vector< WeakPtr< RigidBody2D > > rigidBodies_
Rigid bodies.
Definition: PhysicsWorld2D.h:242
Urho3D::VAnimKeyFrame::time_
float time_
Time.
Definition: ValueAnimation.h:51
Urho3D::Slider::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: Slider.cpp:209
Urho3D::Button::SetRepeatRate
void SetRepeatRate(float rate)
Set repeat rate.
Definition: Button.cpp:188
Urho3D::Sprite::ScreenToElement
IntVector2 ScreenToElement(const IntVector2 &screenPosition) override
Convert screen coordinates to element coordinates.
Definition: Sprite.cpp:96
Urho3D::Renderer::GetSpecularLighting
bool GetSpecularLighting() const
Return whether specular lighting is enabled.
Definition: Renderer.h:271
Urho3D::RibbonTrail::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: RibbonTrail.h:205
Urho3D::UniquePtr::Swap
void Swap(UniquePtr &up)
Swap with another UniquePtr.
Definition: Ptr.h:632
Urho3D::ScrollBar::HandleSliderChanged
void HandleSliderChanged(StringHash eventType, VariantMap &eventData)
Handle slider movement.
Definition: ScrollBar.cpp:286
Urho3D::GImpactMeshData::GImpactMeshData
GImpactMeshData(Model *model, unsigned lodLevel)
Construct from a model.
Definition: CollisionShape.cpp:217
Urho3D::UIElement::GetClipBorder
const IntRect & GetClipBorder() const
Return child element clipping border.
Definition: UIElement.h:475
Urho3D::OcclusionBuffer::DrawTriangle
void DrawTriangle(Vector4 *vertices, unsigned threadIndex)
Draw a triangle.
Definition: OcclusionBuffer.cpp:589
Urho3D::StaticModel::geometries_
Vector< Vector< SharedPtr< Geometry > > > geometries_
All geometries.
Definition: StaticModel.h:119
Urho3D::ParticleEffect2D::GetAngleVariance
float GetAngleVariance() const
Return angle variance.
Definition: ParticleEffect2D.h:158
Urho3D::ParticleEffect::GetFloatMinMax
void GetFloatMinMax(const XMLElement &element, float &minValue, float &maxValue)
Read a float range from an XML element.
Definition: ParticleEffect.cpp:821
Urho3D::Renderer::GetOcclusionBufferSize
int GetOcclusionBufferSize() const
Return occlusion buffer width.
Definition: Renderer.h:325
Urho3D::CollisionChain2D::SetVertices
void SetVertices(const PODVector< Vector2 > &vertices)
Set vertices.
Definition: CollisionChain2D.cpp:87
Urho3D::Graphics::GetIndexBuffer
IndexBuffer * GetIndexBuffer() const
Return current index buffer.
Definition: Graphics.h:467
Urho3D::UIElement::GetScreenPosition
virtual const IntVector2 & GetScreenPosition() const
Update and return screen position.
Definition: UIElement.cpp:395
Urho3D::CollisionShape::SetSphere
void SetSphere(float diameter, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a sphere.
Definition: CollisionShape.cpp:587
Urho3D::RenderPathCommand::type_
RenderCommandType type_
Command type.
Definition: RenderPath.h:140
Urho3D::VariantAttributeAccessorImpl::VariantAttributeAccessorImpl
VariantAttributeAccessorImpl(TGetFunction getFunction, TSetFunction setFunction)
Construct.
Definition: Serializable.h:157
Urho3D::Animation::animationName_
String animationName_
Animation name.
Definition: Animation.h:193
Urho3D::ResourceWithMetadata::LoadMetadataFromXML
void LoadMetadataFromXML(const XMLElement &source)
Load metadata from <metadata> children of XML element.
Definition: Resource.cpp:163
Urho3D::View::scenePasses_
PODVector< ScenePassInfo > scenePasses_
Info for scene render passes defined by the renderpath.
Definition: View.h:413
Urho3D::PListValue::Reset
void Reset()
Reset.
Definition: PListFile.cpp:276
Urho3D::StringHash::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: StringHash.h:99
Urho3D::BillboardSet::forceUpdate_
bool forceUpdate_
Force update flag (ignore animation LOD momentarily).
Definition: BillboardSet.h:195
Urho3D::Engine::InitializeResourceCache
bool InitializeResourceCache(const VariantMap &parameters, bool removeOld=true)
Reinitialize resource cache subsystem using parameters given. Implicitly called by Initialize....
Definition: Engine.cpp:321
Urho3D::PacketType
PacketType
Packet types for outgoing buffers. Outgoing messages are grouped by their type.
Definition: Connection.h:110
Urho3D::Graphics::GetMaximized
bool GetMaximized() const
Returns true if window is maximized or runs in full screen mode.
Definition: Graphics.cpp:325
Urho3D::Input::GetNumTouches
unsigned GetNumTouches() const
Return number of active finger touches.
Definition: Input.h:261
Urho3D::Texture::Texture
Texture(Context *context)
Construct.
Definition: Texture.cpp:58
Urho3D::Thread::~Thread
virtual ~Thread()
Destruct. If running, stop and wait for thread to finish.
Definition: Thread.cpp:69
Urho3D::Particle2D::sizeDelta_
float sizeDelta_
Size delta.
Definition: ParticleEmitter2D.h:44
Urho3D::PassLightingMode
PassLightingMode
Lighting mode of a pass.
Definition: Technique.h:36
Urho3D::Slider::knob_
SharedPtr< BorderImage > knob_
Slider knob.
Definition: Slider.h:102
Urho3D::LuaScriptInstance::SetScriptNetworkDataAttr
void SetScriptNetworkDataAttr(const PODVector< unsigned char > &data)
Set script network serialization attribute by calling a script function.
Definition: LuaScriptInstance.cpp:448
Urho3D::Texture::GetComponents
unsigned GetComponents() const
Return number of image components required to receive pixel data from GetData(), or 0 for compressed ...
Definition: Texture.cpp:163
Urho3D::Deserializer::GetChecksum
virtual unsigned GetChecksum()
Return a checksum if applicable.
Definition: Deserializer.cpp:58
Urho3D::Node::SaveXML
bool SaveXML(XMLElement &dest) const override
Save as XML data. Return true if successful.
Definition: Node.cpp:194
Urho3D::RigidBody::enableMassUpdate_
bool enableMassUpdate_
Mass update enable flag.
Definition: RigidBody.h:309
Urho3D::Connection::SetControls
void SetControls(const Controls &newControls)
Set new controls.
Definition: Connection.cpp:225
Urho3D::Network::GetGUID
const String & GetGUID() const
Get local server GUID.
Definition: Network.h:74
Urho3D::Light::GetRange
float GetRange() const
Return range.
Definition: Light.h:253
Urho3D::ConstraintGear2D
2D gear constraint component.
Definition: ConstraintGear2D.h:31
Urho3D::Light::shapeTexture_
SharedPtr< Texture > shapeTexture_
Spotlight attenuation texture.
Definition: Light.h:367
Urho3D::Graphics::SetStencilTest
void SetStencilTest(bool enable, CompareMode mode=CMP_ALWAYS, StencilOp pass=OP_KEEP, StencilOp fail=OP_KEEP, StencilOp zFail=OP_KEEP, unsigned stencilRef=0, unsigned compareMask=M_MAX_UNSIGNED, unsigned writeMask=M_MAX_UNSIGNED)
Set stencil test.
Definition: OGLGraphics.cpp:1989
Urho3D::CollisionShape::GetPhysicsWorld
PhysicsWorld * GetPhysicsWorld() const
Return physics world.
Definition: CollisionShape.h:218
Urho3D::ObjectAnimation::SaveXML
bool SaveXML(XMLElement &dest) const
Save as XML data. Return true if successful.
Definition: ObjectAnimation.cpp:112
Urho3D::ParticleEffect::constantForce_
Vector3 constantForce_
Particle constant force.
Definition: ParticleEffect.h:383
Urho3D::UISelectable::selectionColor_
Color selectionColor_
Selection background color.
Definition: UISelectable.h:59
Urho3D::StaticSprite2D::SetCustomMaterialAttr
void SetCustomMaterialAttr(const ResourceRef &value)
Set custom material attribute.
Definition: StaticSprite2D.cpp:260
Urho3D::UIElement::~UIElement
~UIElement() override
Destruct.
Definition: UIElement.cpp:102
Urho3D::Constraint::ReleaseConstraint
void ReleaseConstraint()
Release the constraint.
Definition: Constraint.cpp:347
Urho3D::ParticleEmitter2D::emitParticleTime_
float emitParticleTime_
Emit particle time.
Definition: ParticleEmitter2D.h:155
Urho3D::TerrainPatch::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: TerrainPatch.cpp:68
Urho3D::FileWatcher::watchSubDirs_
bool watchSubDirs_
Watch subdirectories flag.
Definition: FileWatcher.h:79
Urho3D::ShaderProgram::usedVertexAttributes_
unsigned usedVertexAttributes_
Used vertex attribute location bitmask.
Definition: OGLShaderProgram.h:101
Urho3D::UIElement::layoutNestingLevel_
unsigned layoutNestingLevel_
Layout update nesting level to prevent endless loop.
Definition: UIElement.h:730
Urho3D::HashMap::ReserveNode
Node * ReserveNode()
Reserve a node.
Definition: HashMap.h:743
Urho3D::XMLElement::CreateChild
XMLElement CreateChild(const String &name)
Create a child element.
Definition: XMLElement.cpp:94
Urho3D::CustomGeometry::GetCircleShape
static Vector< Vector3 > GetCircleShape(float radius=1, size_t iterations=100, float startTheta=0, float endTheta=2 *M_PI)
Geometry Shape Helper Functions (normal defaults to (0,1,0)
Definition: CustomGeometry.cpp:207
Urho3D::OggVorbisSoundStream::Seek
bool Seek(unsigned sample_number) override
Seek to sample number. Return true on success.
Definition: OggVorbisSoundStream.cpp:62
Urho3D::IntVector3::LEFT
static const IntVector3 LEFT
(-1,0,0) vector.
Definition: Vector3.h:168
Urho3D::PropertySet2D::HasProperty
bool HasProperty(const String &name) const
Return has property.
Definition: TileMapDefs2D.cpp:149
Urho3D::SoundSource::GetPlayPosition
volatile signed char * GetPlayPosition() const
Return playback position.
Definition: SoundSource.h:84
Urho3D::Network::updateAcc_
float updateAcc_
Update time accumulator.
Definition: Network.h:172
Urho3D::NavigationMesh::SetDetailSampleMaxError
void SetDetailSampleMaxError(float error)
Set detail sampling maximum error.
Definition: NavigationMesh.cpp:311
Urho3D::ShaderProgram::pixelShader_
WeakPtr< ShaderVariation > pixelShader_
Pixel shader.
Definition: OGLShaderProgram.h:93
Urho3D::Context::RegisterSubsystem
T * RegisterSubsystem()
Template version of registering subsystem.
Definition: Context.h:256
Urho3D::ParticleEffect2D::GetGravity
const Vector2 & GetGravity() const
Return gravity.
Definition: ParticleEffect2D.h:161
Urho3D::Console::PopulateInterpreter
bool PopulateInterpreter()
Populate the command line interpreters that could handle the console command.
Definition: Console.cpp:310
Urho3D::CrowdAgent::SetQueryFilterType
void SetQueryFilterType(unsigned queryFilterType)
Set the agent's query filter type.
Definition: CrowdAgent.cpp:419
Urho3D::OcclusionBuffer::BuildDepthHierarchy
void BuildDepthHierarchy()
Build reduced size mip levels.
Definition: OcclusionBuffer.cpp:234
Urho3D::Image::~Image
~Image() override
Destruct.
Urho3D::Pass::alphaToCoverage_
bool alphaToCoverage_
Alpha-to-coverage mode.
Definition: Technique.h:162
Urho3D::RigidBody2D::GetLinearVelocity
Vector2 GetLinearVelocity() const
Return linear velocity.
Definition: RigidBody2D.cpp:538
Urho3D::Drawable2D::SetLayer
void SetLayer(int layer)
Set layer.
Definition: Drawable2D.cpp:77
Urho3D::ScrollView::SetVerticalScrollBarVisible
void SetVerticalScrollBarVisible(bool visible)
Set vertical scrollbar visibility manually. Disables scrollbar autoshow/hide.
Definition: ScrollView.cpp:325
Urho3D::MessageBox::GetTitle
const String & GetTitle() const
Return title text. Return empty string if there is no title text element.
Definition: MessageBox.cpp:126
Urho3D::CrowdManager::GetDistanceToWall
float GetDistanceToWall(const Vector3 &point, float radius, int queryFilterType, Vector3 *hitPos=nullptr, Vector3 *hitNormal=nullptr)
Return distance to wall from a point using the crowd initialized query extent (based on maxAgentRadiu...
Definition: CrowdManager.cpp:428
Urho3D::RWOpsWrapper::Seek
static Sint64 Seek(SDL_RWops *context, Sint64 offset, int whence)
Seek within the object's data.
Definition: RWOpsWrapper.h:61
Urho3D::AsyncProgress::totalResources_
unsigned totalResources_
Total resources.
Definition: Scene.h:79
Urho3D::Zone::GetPriority
int GetPriority() const
Return zone priority.
Definition: Zone.h:100
Urho3D::Node::AddComponent
void AddComponent(Component *component, unsigned id, CreateMode mode)
Add a pre-created component. Using this function from application code is discouraged,...
Definition: Node.cpp:1824
Urho3D::TextureCube::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: TextureCube.cpp:238
Urho3D::ShaderPrecache
Utility class for collecting used shader combinations during runtime for precaching.
Definition: ShaderPrecache.h:36
Urho3D::FontFace::textures_
Vector< SharedPtr< Texture2D > > textures_
Glyph texture pages.
Definition: FontFace.h:110
Urho3D::Scene::NodeTagRemoved
void NodeTagRemoved(Node *node, const String &tag)
Cache node by tag if tag not zero.
Definition: Scene.cpp:974
Urho3D::CrowdManager::numQueryFilterTypes_
unsigned numQueryFilterTypes_
Number of query filter types configured in the crowd. Limit to DT_CROWD_MAX_QUERY_FILTER_TYPE.
Definition: CrowdManager.h:193
Urho3D::RaycastVehicle::WheelIsGrounded
bool WheelIsGrounded(int wheel) const
True if wheel touches ground (raycast hits something).
Definition: RaycastVehicle.cpp:685
Urho3D::IKSolver::CreateIKNodeFromUrhoNode
ik_node_t * CreateIKNodeFromUrhoNode(const Node *node)
Creates the ik library node and sets the current rotation/position and user data correctly.
Definition: IKSolver.cpp:219
Urho3D::Node::IsChildOf
bool IsChildOf(Node *node) const
Return whether is a direct or indirect child of specified node.
Definition: Node.cpp:1383
Urho3D::Pass::shadersLoadedFrameNumber_
unsigned shadersLoadedFrameNumber_
Last shaders loaded frame number.
Definition: Technique.h:158
Urho3D::BillboardSet::GetBillboards
PODVector< Billboard > & GetBillboards()
Return all billboards.
Definition: BillboardSet.h:110
Urho3D::Pass::depthTestMode_
CompareMode depthTestMode_
Depth compare mode.
Definition: Technique.h:154
Urho3D::Material::GetShadowCullMode
CullMode GetShadowCullMode() const
Return culling mode for shadows.
Definition: Material.h:226
Urho3D::Context::GetSubsystems
const HashMap< StringHash, SharedPtr< Object > > & GetSubsystems() const
Return all subsystems.
Definition: Context.h:146
Urho3D::Variant::GetResourceRef
const ResourceRef & GetResourceRef() const
Return a resource reference or empty on type mismatch.
Definition: Variant.h:1220
Urho3D::UIElement::SortChildren
void SortChildren()
Sort child elements if sorting enabled and order dirty. Called by UI.
Definition: UIElement.cpp:1788
Urho3D::UI::SetScale
void SetScale(float scale)
Set UI scale. 1.0 is default (pixel perfect). Resize the root element to match.
Definition: UI.cpp:739
Urho3D::Terrain::IsOccluder
bool IsOccluder() const
Return occluder flag.
Definition: Terrain.h:190
Urho3D::Technique::litAlphaPassIndex
static unsigned litAlphaPassIndex
Index for lit alpha pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:272
Urho3D::View::currentViewportTexture_
Texture * currentViewportTexture_
Texture containing the latest viewport texture.
Definition: View.h:342
Urho3D::View::DrawFullscreenQuad
void DrawFullscreenQuad(bool setIdentityProjection=false)
Draw a fullscreen quad. Shaders and renderstates must have been set beforehand. Quad will be drawn to...
Definition: View.cpp:2139
Urho3D::RaycastVehicle::GetEngineForce
float GetEngineForce(int wheel) const
Get engine force for the wheel.
Definition: RaycastVehicle.cpp:575
Urho3D::IndexBufferDesc::indexSize_
unsigned indexSize_
Index size.
Definition: Model.h:85
Urho3D::IntRect::Width
int Width() const
Return width.
Definition: Rect.h:403
Urho3D::ResourceCache::~ResourceCache
~ResourceCache() override
Destruct. Free all resources.
Definition: ResourceCache.cpp:90
Urho3D::Material::GetNumTechniques
unsigned GetNumTechniques() const
Return number of techniques.
Definition: Material.h:188
Urho3D::UnknownComponent::GetType
StringHash GetType() const override
Return type of the stored component.
Definition: UnknownComponent.h:41
Urho3D::DepthValue::max_
int max_
Maximum value.
Definition: OcclusionBuffer.h:50
Urho3D::ScriptFile::SaveByteCode
bool SaveByteCode(Serializer &dest)
Save the script bytecode. Return true if successful.
Definition: ScriptFile.cpp:594
Urho3D::Batch::geometry_
Geometry * geometry_
Geometry.
Definition: Batch.h:88
Urho3D::NetworkPriority::GetBasePriority
float GetBasePriority() const
Return base priority.
Definition: NetworkPriority.h:53
Urho3D::Texture::SetBackupTexture
void SetBackupTexture(Texture *texture)
Set backup texture to use when rendering to this texture.
Definition: Texture.cpp:104
Urho3D::TrailPoint::sortDistance_
float sortDistance_
Distance for sorting.
Definition: RibbonTrail.h:61
Urho3D::Camera::GetFov
float GetFov() const
Return vertical field of view in degrees.
Definition: Camera.h:116
Urho3D::NavBuildData::NavBuildData
NavBuildData()
Constructor.
Definition: NavBuildData.cpp:33
Urho3D::Camera::GetZoom
float GetZoom() const
Return zoom.
Definition: Camera.h:125
Urho3D::PhysicsWorld::AddDelayedWorldTransform
void AddDelayedWorldTransform(const DelayedWorldTransform &transform)
Add a delayed world transform assignment. Called by RigidBody.
Definition: PhysicsWorld.cpp:750
Urho3D::Pass::SetLightingMode
void SetLightingMode(PassLightingMode mode)
Set pass lighting mode, affects what shader variations will be attempted to be loaded.
Definition: Technique.cpp:114
Urho3D::EventHandler::SetSenderAndEventType
void SetSenderAndEventType(Object *sender, StringHash eventType)
Set sender and event type.
Definition: Object.h:262
Urho3D::Text3D::GetTextEffect
TextEffect GetTextEffect() const
Return text effect.
Definition: Text3D.cpp:428
Urho3D::NavigationMesh::cellHeight_
float cellHeight_
Cell height.
Definition: NavigationMesh.h:316
Urho3D::AnimationController::GetRemoveOnCompletion
bool GetRemoveOnCompletion(const String &name) const
Return whether animation auto-removes on completion, or false if no such animation.
Definition: AnimationController.cpp:563
Urho3D::UIElement::GetDefaultStyle
XMLFile * GetDefaultStyle(bool recursiveUp=true) const
Return default style.
Definition: UIElement.cpp:1579
Urho3D::PackageUpload
Package file send transfer.
Definition: Connection.h:88
Urho3D::ScreenModeParams::highDPI_
bool highDPI_
Definition: Graphics.h:91
Urho3D::TileMapInfo2D
Tile map information.
Definition: TileMapDefs2D.h:49
Urho3D::Terrain::SetZoneMask
void SetZoneMask(unsigned mask)
Set zone mask for patches. Is and'ed with zone's zone mask to see if the object should belong to the ...
Definition: Terrain.cpp:452
Urho3D::HttpRequest::readBuffer_
SharedArrayPtr< unsigned char > readBuffer_
Read buffer for the main thread.
Definition: HttpRequest.h:101
Urho3D::PhysicsWorld2D::world_
UniquePtr< b2World > world_
Box2D physics world.
Definition: PhysicsWorld2D.h:220
Urho3D::Input::Input
Input(Context *context)
Construct.
Definition: Input.cpp:352
Urho3D::CustomGeometry::FillShape
void FillShape(const Vector< Vector3 > &shapeList, bool connectTail=true, bool clear=true, int geomNum=0)
Fills a point List shape with triangles.
Definition: CustomGeometry.cpp:302
Urho3D::ParticleEffect2D::~ParticleEffect2D
~ParticleEffect2D() override
Destruct.
Urho3D::CollisionBox2D::angle_
float angle_
Angle.
Definition: CollisionBox2D.h:76
Urho3D::FontFaceFreeType
Free type font face description.
Definition: FontFaceFreeType.h:34
Urho3D::String::End
ConstIterator End() const
Return const iterator to the end.
Definition: Str.h:389
Urho3D::Vector::DoResize
void DoResize(unsigned newSize)
Resize the vector and create/remove new elements as necessary.
Definition: Vector.h:583
Urho3D::ScrollBar::GetEffectiveScrollStep
float GetEffectiveScrollStep() const
Return scroll step multiplied by factor.
Definition: ScrollBar.cpp:216
Urho3D::SplinePath::GetPoint
Vector3 GetPoint(float factor) const
Get a point on the SplinePath from 0.f to 1.f where 0 is the start and 1 is the end.
Definition: SplinePath.cpp:217
Urho3D::LuaFile::LoadAndExecute
bool LoadAndExecute(lua_State *luaState)
Load buffer as chunk and execute. Return true if successful.
Definition: LuaFile.cpp:115
Urho3D::CrowdAgent::maxAccel_
float maxAccel_
Agent's max acceleration.
Definition: CrowdAgent.h:216
Urho3D::AnimationTrack::RemoveKeyFrame
void RemoveKeyFrame(unsigned index)
Remove a keyframe at index.
Definition: Animation.cpp:77
Urho3D::Connection::GetRoundTripTime
float GetRoundTripTime() const
Return the connection's round trip time in milliseconds.
Definition: Connection.cpp:1073
Urho3D::View::deferredAmbient_
bool deferredAmbient_
Deferred ambient pass flag. This means that the destination rendertarget is being written to at the s...
Definition: View.h:376
Urho3D::IntRect::top_
int top_
Top coordinate.
Definition: Rect.h:463
Urho3D::DebugRenderer::AddCircle
void AddCircle(const Vector3 &center, const Vector3 &normal, float radius, const Color &color, int steps=64, bool depthTest=true)
Add a circle.
Definition: DebugRenderer.cpp:439
Urho3D::FileSelector::GetWindow
Window * GetWindow() const
Return fileselector window.
Definition: FileSelector.h:84
Urho3D::Pass::GetAlphaToCoverage
bool GetAlphaToCoverage() const
Return alpha-to-coverage mode.
Definition: Technique.h:108
Urho3D::AnimationState::SetWeight
void SetWeight(float weight)
Set blending weight.
Definition: AnimationState.cpp:165
Urho3D::ObjectAnimation::LoadXML
bool LoadXML(const XMLElement &source)
Load from XML data. Return true if successful.
Definition: ObjectAnimation.cpp:78
Urho3D::Network::simulatedPacketLoss_
float simulatedPacketLoss_
Simulated packet loss probability between 0.0 - 1.0.
Definition: Network.h:168
Urho3D::Zone::OnRemoveFromOctree
void OnRemoveFromOctree() override
Handle removal from octree.
Definition: Zone.cpp:320
Urho3D::LogicComponent::IsDelayedStartCalled
bool IsDelayedStartCalled() const
Return whether the DelayedStart() function has been called.
Definition: LogicComponent.h:86
Urho3D::UIElement::GetName
const String & GetName() const
Return name.
Definition: UIElement.h:406
Urho3D::Font::scaledOffset_
Vector2 scaledOffset_
Point size scaled position adjustment for glyphs.
Definition: Font.h:107
Urho3D::HorizontalAlignment
HorizontalAlignment
UI element horizontal alignment.
Definition: UIElement.h:37
Urho3D::StringHashRegister::GetStringCopy
String GetStringCopy(const StringHash &hash) const
Return string for given StringHash. Return empty string if not found.
Definition: StringHashRegister.cpp:76
Urho3D::Texture3D::GetData
bool GetData(unsigned level, void *dest) const
Get data from a mip level. The destination buffer must be big enough. Return true if successful.
Definition: OGLTexture3D.cpp:298
Urho3D::HashMap::~HashMap
~HashMap()
Destruct.
Definition: HashMap.h:250
Urho3D::RigidBody::SetLinearDamping
void SetLinearDamping(float damping)
Set linear velocity damping factor.
Definition: RigidBody.cpp:327
Urho3D::Graphics::OnWindowMoved
void OnWindowMoved()
Window was moved through user interaction. Called by Input subsystem.
Definition: OGLGraphics.cpp:2251
Urho3D::Spline::Clear
void Clear()
Clear the spline.
Definition: Spline.h:108
Urho3D::CollisionShape::lodLevel_
unsigned lodLevel_
Model LOD level.
Definition: CollisionShape.h:310
Urho3D::Shader::GetSourceCode
const String & GetSourceCode(ShaderType type) const
Return either vertex or pixel shader source code.
Definition: Shader.h:57
Urho3D::PODVector::PODVector
PODVector(const PODVector< T > &vector)
Construct from another vector.
Definition: Vector.h:718
Urho3D::Variant::GetFloat
float GetFloat() const
Return float or zero on type mismatch. Ints and doubles are converted.
Definition: Variant.h:1149
Urho3D::ListView::SetSelections
void SetSelections(const PODVector< unsigned > &indices)
Set multiple selected items. If multiselect disabled, sets only the first.
Definition: ListView.cpp:517
Urho3D::Resource::nameHash_
StringHash nameHash_
Name hash.
Definition: Resource.h:104
Urho3D::ParticleEmitter::~ParticleEmitter
~ParticleEmitter() override
Destruct.
Urho3D::CheckBox
UI element that can be toggled between unchecked and checked state.
Definition: CheckBox.h:31
Urho3D::Network::ClientDisconnected
void ClientDisconnected(const SLNet::AddressOrGUID &connection)
Handle a client disconnection.
Definition: Network.cpp:323
Urho3D::StaticSprite2D::SetAlpha
void SetAlpha(float alpha)
Set alpha.
Definition: StaticSprite2D.cpp:167
Urho3D::TileMapObject2D::points_
Vector< Vector2 > points_
Points(for polygon and polyline).
Definition: TileMapDefs2D.h:220
Urho3D::Billboard::color_
Color color_
Color.
Definition: BillboardSet.h:47
Urho3D::CollisionPolygon2D::CollisionPolygon2D
CollisionPolygon2D(Context *context)
Construct.
Definition: CollisionPolygon2D.cpp:38
Urho3D::LuaScriptInstance::scriptFile_
SharedPtr< LuaFile > scriptFile_
Script file.
Definition: LuaScriptInstance.h:177
Urho3D::ResourceCache::packages_
Vector< SharedPtr< PackageFile > > packages_
Package files.
Definition: ResourceCache.h:240
Urho3D::Component::GetComponents
void GetComponents(PODVector< Component * > &dest, StringHash type) const
Return components in the same scene node by type.
Definition: Component.cpp:275
Urho3D::Connection::SendPackages
void SendPackages()
Send package files to client. Called by network.
Definition: Connection.cpp:351
Urho3D::ColorFrame::ColorFrame
ColorFrame(const Color &color, float time)
Construct from a color and time.
Definition: ParticleEffect.h:60
Urho3D::ShaderType
ShaderType
Shader types.
Definition: GraphicsDefs.h:300
Urho3D::TouchState::pressure_
float pressure_
Finger pressure.
Definition: Input.h:71
Urho3D::IndexBuffer::lockStart_
unsigned lockStart_
Lock start vertex.
Definition: IndexBuffer.h:107
Urho3D::Rect::POSITIVE
static const Rect POSITIVE
Rect in the range (0, 0) - (1, 1).
Definition: Rect.h:266
Urho3D::UIComponent::UIComponent
UIComponent(Context *context)
Construct.
Definition: UIComponent.cpp:150
Urho3D::Texture2D::OnDeviceLost
void OnDeviceLost() override
Mark the GPU resource destroyed on context destruction.
Definition: OGLTexture2D.cpp:42
Urho3D::Vector3::ProjectOntoPlane
Vector3 ProjectOntoPlane(const Vector3 &origin, const Vector3 &normal) const
Project position vector onto plane with given origin and normal.
Definition: Vector3.h:363
Urho3D::Context::subsystems_
HashMap< StringHash, SharedPtr< Object > > subsystems_
Subsystems.
Definition: Context.h:228
Urho3D::Sprite::SetTextureAttr
void SetTextureAttr(const ResourceRef &value)
Set texture attribute.
Definition: Sprite.cpp:284
Urho3D::PhysicsWorld2D::GetDrawJoint
bool GetDrawJoint() const
Return draw joint.
Definition: PhysicsWorld2D.h:168
Urho3D::ParticleEffect2D::WriteFloat
void WriteFloat(XMLElement &element, const String &name, float value) const
Write float.
Definition: ParticleEffect2D.cpp:548
Urho3D::UIElement::HasFocus
bool HasFocus() const
Return whether has focus.
Definition: UIElement.cpp:1541
Urho3D::StaticSprite2D::SetSprite
void SetSprite(Sprite2D *sprite)
Set sprite.
Definition: StaticSprite2D.cpp:84
Urho3D::Image::GetWidth
int GetWidth() const
Return width.
Definition: Image.h:159
Urho3D::Network::guid_
String guid_
Local server GUID.
Definition: Network.h:192
Urho3D::HttpRequest
An HTTP connection with response data stream.
Definition: HttpRequest.h:46
Urho3D::Renderer::maxOccluderTriangles_
int maxOccluderTriangles_
Maximum occluder triangles.
Definition: Renderer.h:562
Urho3D::Node::GetChildren
const Vector< SharedPtr< Node > > & GetChildren() const
Return immediate child scene nodes.
Definition: Node.h:512
Urho3D::AnimationState::~AnimationState
~AnimationState() override
Destruct.
Urho3D::Scene::GetAsyncProgress
float GetAsyncProgress() const
Return asynchronous loading progress between 0.0 and 1.0, or 1.0 if not in progress.
Definition: Scene.cpp:747
Urho3D::Window::modalFrameSize_
IntVector2 modalFrameSize_
Modal frame size, used when modal flag is set.
Definition: Window.h:167
Urho3D::Font::SetScaledGlyphOffset
void SetScaledGlyphOffset(const Vector2 &offset)
Set point size scaled position adjustment for glyphs.
Definition: Font.cpp:134
Urho3D::OffMeshConnection::endPointDirty_
bool endPointDirty_
Endpoint changed flag.
Definition: OffMeshConnection.h:86
Urho3D::BorderImage::IsTiled
bool IsTiled() const
Return whether is tiled.
Definition: BorderImage.h:97
Urho3D::XMLElement::xpathResultSet_
const XPathResultSet * xpathResultSet_
XPath query result set.
Definition: XMLElement.h:311
Urho3D::CrowdAgent::DrawDebugGeometry
void DrawDebugGeometry(bool depthTest)
Draw debug geometry.
Definition: CrowdAgent.cpp:164
Urho3D::AttributeInfo::ptr_
void * ptr_
Attribute data pointer if elsewhere than in the Serializable.
Definition: Attribute.h:116
Urho3D::ParticleEmitter2D::GetBlendMode
BlendMode GetBlendMode() const
Return blend mode.
Definition: ParticleEmitter2D.h:108
Urho3D::HashMap::CompareNodes
static bool CompareNodes(Node *&lhs, Node *&rhs)
Compare two nodes.
Definition: HashMap.h:778
Urho3D::View3D::HandleRenderSurfaceUpdate
void HandleRenderSurfaceUpdate(StringHash eventType, VariantMap &eventData)
Handle render surface update event. Queue the texture for update in case the View3D is visible and au...
Definition: View3D.cpp:172
Urho3D::PhysicsWorld2D::endContactInfos_
Vector< ContactInfo > endContactInfos_
End contact infos.
Definition: PhysicsWorld2D.h:280
Urho3D::Drawable::AddToOctree
void AddToOctree()
Add to octree.
Definition: Drawable.cpp:385
Urho3D::Vector4
Four-dimensional vector.
Definition: Vector4.h:31
Urho3D::AnimationState::stateTracks_
Vector< AnimationStateTrack > stateTracks_
Per-track data.
Definition: AnimationState.h:167
Urho3D::Sprite::scale_
Vector2 scale_
Scale.
Definition: Sprite.h:116
Urho3D::StaticModel::ResetLodLevels
void ResetLodLevels()
Reset LOD levels.
Definition: StaticModel.cpp:405
Urho3D::Pass
Material rendering pass, which defines shaders and render state.
Definition: Technique.h:44
Urho3D::LuaScript::functionPointerToFunctionMap_
HashMap< const void *, SharedPtr< LuaFunction > > functionPointerToFunctionMap_
Function pointer to function map.
Definition: LuaScript.h:127
Urho3D::FileSystem::SetExecuteConsoleCommands
void SetExecuteConsoleCommands(bool enable)
Set whether to execute engine console commands as OS-specific system command.
Definition: FileSystem.cpp:361
Urho3D::BatchGroupKey::renderOrder_
unsigned char renderOrder_
8-bit render order modifier from material.
Definition: Batch.h:205
Urho3D::Animatable::SetAttributeAnimation
void SetAttributeAnimation(const String &name, ValueAnimation *attributeAnimation, WrapMode wrapMode=WM_LOOP, float speed=1.0f)
Set attribute animation.
Definition: Animatable.cpp:320
Urho3D::ShaderProgram::ClearParameterSources
static void ClearParameterSources()
Clear all parameter sources from all shader programs by incrementing the global parameter source fram...
Definition: OGLShaderProgram.cpp:403
Urho3D::Polyhedron
A convex volume built from polygon faces.
Definition: Polyhedron.h:37
Urho3D::EventHandler11Impl::Clone
EventHandler * Clone() const override
Return a unique copy of the event handler.
Definition: Object.h:348
Urho3D::Node::GetChildrenWithComponentRecursive
void GetChildrenWithComponentRecursive(PODVector< Node * > &dest, StringHash type) const
Return child nodes with a specific component recursively.
Definition: Node.cpp:2146
Urho3D::OcclusionBuffer::GetCullMode
CullMode GetCullMode() const
Return culling mode.
Definition: OcclusionBuffer.h:147
Urho3D::AnimatedModel::morphsDirty_
bool morphsDirty_
Vertex morphs dirty flag.
Definition: AnimatedModel.h:249
Urho3D::XPathQuery::EvaluateToFloat
float EvaluateToFloat(const XMLElement &element) const
Evaluate XPath query and expecting a float return value.
Definition: XMLElement.cpp:1171
Urho3D::Light::SetFov
void SetFov(float fov)
Set spotlight field of view.
Definition: Light.cpp:333
Urho3D::Audio::clipBuffer_
SharedArrayPtr< int > clipBuffer_
Clipping buffer for mixing.
Definition: Audio.h:127
Urho3D::TileMap2D::GetNumLayers
unsigned GetNumLayers() const
Return number of layers.
Definition: TileMap2D.h:62
Urho3D::Network::Disconnect
void Disconnect(int waitMSec=0)
Disconnect the connection to the server. If wait time is non-zero, will block while waiting for disco...
Definition: Network.cpp:412
Urho3D::GraphicsImpl::resolveSrcFBO_
unsigned resolveSrcFBO_
Read frame buffer for multisampled texture resolves.
Definition: OGLGraphicsImpl.h:132
Urho3D::ParticleEffect2D::GetMaxRadius
float GetMaxRadius() const
Return max radius.
Definition: ParticleEffect2D.h:209
Urho3D::Node::GetDependencyNodes
const PODVector< Node * > & GetDependencyNodes() const
Return the depended on nodes to order network updates.
Definition: Node.h:607
Urho3D::JoystickState::buttonPress_
PODVector< bool > buttonPress_
Button pressed on this frame.
Definition: Input.h:121
Urho3D::BillboardSet::animationLodTimer_
float animationLodTimer_
Animation LOD timer.
Definition: BillboardSet.h:160
Urho3D::Sound::SetData
void SetData(const void *data, unsigned dataSize)
Set uncompressed sound data.
Definition: Sound.cpp:236
Urho3D::StaticModelGeometryData::center_
Vector3 center_
Geometry center.
Definition: StaticModel.h:36
Urho3D::CollisionShape::SetTransform
void SetTransform(const Vector3 &position, const Quaternion &rotation)
Set offset transform.
Definition: CollisionShape.cpp:769
Urho3D::StaticSprite2D::useHotSpot_
bool useHotSpot_
Use hot spot flag.
Definition: StaticSprite2D.h:156
Urho3D::UI::usingTouchInput_
bool usingTouchInput_
Touch used flag.
Definition: UI.h:395
Urho3D::Zone::SetZoneTexture
void SetZoneTexture(Texture *texture)
Set zone texture. This will be bound to the zone texture unit when rendering objects inside the zone....
Definition: Zone.cpp:154
Urho3D::View::activeOccluders_
unsigned activeOccluders_
Number of active occluders.
Definition: View.h:404
Urho3D::ScriptFile::scriptModule_
asIScriptModule * scriptModule_
Script module.
Definition: ScriptFile.h:134
Urho3D::StringHashRegister::~StringHashRegister
~StringHashRegister()
Destruct.
Definition: StringHashRegister.cpp:43
Urho3D::UIElement::SetStyleAuto
bool SetStyleAuto(XMLFile *file=nullptr)
Set style from an XML file. Find the style element automatically by using the element's typename....
Definition: UIElement.cpp:1034
Urho3D::StretchableSprite2D::UpdateSourceBatches
void UpdateSourceBatches() override
Update source batches.
Definition: StretchableSprite2D.cpp:150
Urho3D::CrowdManager::SetMaxAgents
void SetMaxAgents(unsigned maxAgents)
Set the maximum number of agents.
Definition: CrowdManager.cpp:236
Urho3D::Node::Save
bool Save(Serializer &dest) const override
Save as binary data. Return true if successful.
Definition: Node.cpp:115
Urho3D::LuaScript::RemoveEventHandler
void RemoveEventHandler(const String &eventName) override
Remove a scripted event handler.
Definition: LuaScript.cpp:192
Urho3D::CustomGeometry::ProtrudeShape
void ProtrudeShape(const Vector< Vector3 > &mShapeList, const Vector< Vector3 > &mPointList, bool connectTail=false)
Definition: CustomGeometry.cpp:374
Urho3D::Constraint2D::SetCollideConnected
void SetCollideConnected(bool collideConnected)
Set collide connected.
Definition: Constraint2D.cpp:132
Urho3D::VAnimKeyFrame
Value animation key frame.
Definition: ValueAnimation.h:48
Urho3D::UniquePtr::UniquePtr
UniquePtr()
Construct empty.
Definition: Ptr.h:571
Urho3D::AnimationTriggerPoint::AnimationTriggerPoint
AnimationTriggerPoint()
Construct.
Definition: Animation.h:105
Urho3D::CATMULL_ROM_CURVE
@ CATMULL_ROM_CURVE
Catmull-Rom interpolation. The first and last knots control velocity and are not included on the path...
Definition: Spline.h:41
Urho3D::Renderer::RemoveUnusedBuffers
void RemoveUnusedBuffers()
Remove unused occlusion and screen buffers.
Definition: Renderer.cpp:1533
Urho3D::StaticSprite2D::SetColor
void SetColor(const Color &color)
Set color.
Definition: StaticSprite2D.cpp:157
Urho3D::ResourceCache::GetResourceFileName
String GetResourceFileName(const String &name) const
Return full absolute file name of resource if possible, or empty if not found.
Definition: ResourceCache.cpp:785
Urho3D::Light::GetLength
float GetLength() const
Return area tube light length. Works only with PBR shaders.
Definition: Light.h:232
Urho3D::StaticSprite2D::OnDrawOrderChanged
void OnDrawOrderChanged() override
Handle draw order changed.
Definition: StaticSprite2D.cpp:290
Urho3D::DebugRenderer::AddLine
void AddLine(const Vector3 &start, const Vector3 &end, const Color &color, bool depthTest=true)
Add a line.
Definition: DebugRenderer.cpp:87
Urho3D::Connection::componentLatestData_
HashMap< unsigned, PODVector< unsigned char > > componentLatestData_
Pending latest data for not yet received components.
Definition: Connection.h:309
Urho3D::ValueAnimation::SaveXML
bool SaveXML(XMLElement &dest) const
Save as XML data. Return true if successful.
Definition: ValueAnimation.cpp:125
Urho3D::AnimatedModel::isMaster_
bool isMaster_
Master model flag.
Definition: AnimatedModel.h:255
Urho3D::Texture2DArray::OnDeviceLost
void OnDeviceLost() override
Mark the GPU resource destroyed on context destruction.
Definition: OGLTexture2DArray.cpp:46
Urho3D::Variant::GetQuaternion
const Quaternion & GetQuaternion() const
Return quaternion or identity on type mismatch.
Definition: Variant.h:1188
Urho3D::Connection::uploads_
HashMap< StringHash, PackageUpload > uploads_
Ongoing package send transfers.
Definition: Connection.h:305
Urho3D::WeakArrayPtr::Reset
void Reset()
Reset to null and release the weak reference.
Definition: ArrayPtr.h:346
Urho3D::ParticleEffect2D::particleLifeSpan_
float particleLifeSpan_
Particle lifespan.
Definition: ParticleEffect2D.h:268
Urho3D::UIElement::SetMinWidth
void SetMinWidth(int width)
Set minimum width.
Definition: UIElement.cpp:615
Urho3D::DbResult::resultImpl_
nanodbc::result resultImpl_
The underlying implementation connection object.
Definition: ODBCResult.h:64
Urho3D::ConstraintWheel2D::SetMotorSpeed
void SetMotorSpeed(float motorSpeed)
Set motor speed.
Definition: ConstraintWheel2D.cpp:114
Urho3D::ParticleEffect::GetRandomRotationSpeed
float GetRandomRotationSpeed() const
Return random rotationspeed.
Definition: ParticleEffect.cpp:811
Urho3D::JSONFile::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: JSONFile.cpp:52
Text.h
Urho3D::PhysicsWorld2D::GetWarmStarting
bool GetWarmStarting() const
Return warm starting.
Definition: PhysicsWorld2D.cpp:685
Urho3D::UIElement::GetUseDerivedOpacity
bool GetUseDerivedOpacity() const
Return whether parent elements' opacity affects opacity.
Definition: UIElement.h:502
Urho3D::Resource::Save
virtual bool Save(Serializer &dest) const
Save resource. Return true if successful.
Definition: Resource.cpp:81
Urho3D::Texture::GetWidth
int GetWidth() const
Return width.
Definition: Texture.h:82
Urho3D::Sprite::floatPosition_
Vector2 floatPosition_
Floating point position.
Definition: Sprite.h:112
Urho3D::RibbonTrail::updateInvisible_
bool updateInvisible_
Update when invisible flag.
Definition: RibbonTrail.h:249
Urho3D::Controls::Controls
Controls()
Construct.
Definition: Controls.cpp:30
Urho3D::Spriter::SpriterInstance::GetTimelineKey
TimelineKey * GetTimelineKey(Ref *ref) const
Get timeline key by ref.
Definition: SpriterInstance2D.cpp:260
Urho3D::RenderPathCommand::vertexShaderDefines_
String vertexShaderDefines_
Vertex shader defines.
Definition: RenderPath.h:154
Urho3D::FontGlyph::width_
float width_
Width on screen.
Definition: FontFace.h:48
Urho3D::Octree::RaycastSingle
void RaycastSingle(RayOctreeQuery &query) const
Return the closest drawable object by a ray query.
Definition: Octree.cpp:510
Urho3D::Camera::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Camera.cpp:83
Urho3D::Node::SetWorldScale2D
void SetWorldScale2D(const Vector2 &scale)
Set scale in world space (for Urho2D).
Definition: Node.h:207
Urho3D::String::AppendWithFormatArgs
String & AppendWithFormatArgs(const char *formatString, va_list args)
Append to string using variable arguments.
Definition: Str.cpp:1087
Urho3D::ParticleEffect2D::speed_
float speed_
Speed.
Definition: ParticleEffect2D.h:264
Urho3D::Graphics::SetVBO
void SetVBO(unsigned object)
Bind a VBO, avoiding redundant operation. Used only on OpenGL.
Definition: OGLGraphics.cpp:2527
Urho3D::Model::Model
Model(Context *context)
Construct.
Definition: Model.cpp:63
Urho3D::Engine::GetAutoExit
bool GetAutoExit() const
Return whether to exit automatically on exit request.
Definition: Engine.h:97
Urho3D::SoundSource::SetPlayPositionLockless
void SetPlayPositionLockless(signed char *pos)
Set new playback position without locking the audio mutex. Called internally.
Definition: SoundSource.cpp:586
Urho3D::TouchState::touchedElement_
WeakPtr< UIElement > touchedElement_
Last touched UI element from screen joystick.
Definition: Input.h:73
Urho3D::PListFile::root_
PListValueMap root_
Root dictionary.
Definition: PListFile.h:169
Urho3D::Engine::GetMaxInactiveFps
int GetMaxInactiveFps() const
Return the maximum frames per second when the application does not have input focus.
Definition: Engine.h:88
Urho3D::PhysicsWorld2D::Raycast
void Raycast(PODVector< PhysicsRaycastResult2D > &results, const Vector2 &startPoint, const Vector2 &endPoint, unsigned collisionMask=M_MAX_UNSIGNED)
Perform a physics world raycast and return all hits.
Definition: PhysicsWorld2D.cpp:497
Urho3D::UIElement::priority_
int priority_
Priority.
Definition: UIElement.h:690
Urho3D::SplinePath::traveled_
float traveled_
The fraction of the SplinePath covered.
Definition: SplinePath.h:132
Urho3D::XPathResultSet::XPathResultSet
XPathResultSet()
Construct empty result set.
Definition: XMLElement.cpp:1003
Urho3D::CustomGeometry::MakeSquare
void MakeSquare(float size)
Makes this custom geometry into a square shape.
Definition: CustomGeometry.cpp:485
Urho3D::Spline::CatmullRomInterpolation
Variant CatmullRomInterpolation(const Vector< Variant > &knots, float t) const
Perform Spline interpolation on the spline.
Definition: Spline.cpp:191
Urho3D::Material::ApplyShaderDefines
void ApplyShaderDefines(unsigned index=M_MAX_UNSIGNED)
Reapply shader defines to technique index. By default reapply all.
Definition: Material.cpp:1366
Urho3D::XMLElement::GetResourceRefList
ResourceRefList GetResourceRefList() const
Return a resource reference list attribute, or empty if missing.
Definition: XMLElement.cpp:887
Urho3D::Network::GetConnection
Connection * GetConnection(const SLNet::AddressOrGUID &connection) const
Return a client or server connection by RakNet connection address, or null if none exist.
Definition: Network.cpp:654
Urho3D::Graphics::BindDepthAttachment
void BindDepthAttachment(unsigned object, bool isRenderBuffer)
Bind a framebuffer depth attachment using either extension or core functionality. Used only on OpenGL...
Definition: OGLGraphics.cpp:3310
Urho3D::MessageBox::SetTitle
void SetTitle(const String &text)
Set title text. No-ops if there is no title text element.
Definition: MessageBox.cpp:114
Urho3D::Text3D::SetTextAttr
void SetTextAttr(const String &value)
Set text attribute.
Definition: Text3D.cpp:551
Urho3D::ASYNC_QUEUED
@ ASYNC_QUEUED
Queued for asynchronous loading.
Definition: Resource.h:44
Urho3D::Graphics::SetDefaultTextureFilterMode
void SetDefaultTextureFilterMode(TextureFilterMode mode)
Set default texture filtering mode. Called by Renderer before rendering.
Definition: OGLGraphics.cpp:1581
Urho3D::CustomVariantValue::ToString
virtual String ToString() const
Convert custom value to string.
Definition: Variant.h:206
Urho3D::Terrain::GetMaterialAttr
ResourceRef GetMaterialAttr() const
Return material attribute.
Definition: Terrain.cpp:838
Urho3D::SharedPtr::StaticCast
void StaticCast(const SharedPtr< U > &rhs)
Perform a static cast from a shared pointer of another type.
Definition: Ptr.h:188
Urho3D::Node::worldRotation_
Quaternion worldRotation_
World-space rotation.
Definition: Node.h:695
Urho3D::RenderPathCommand::SetNumOutputs
void SetNumOutputs(unsigned num)
Set number of output rendertargets.
Definition: RenderPath.cpp:252
Urho3D::SphereOctreeQuery::TestDrawables
void TestDrawables(Drawable **start, Drawable **end, bool inside) override
Intersection test for drawables.
Definition: OctreeQuery.cpp:62
Urho3D::FontFaceFreeType::GetGlyph
const FontGlyph * GetGlyph(unsigned c) override
Return pointer to the glyph structure corresponding to a character. Return null if glyph not found.
Definition: FontFaceFreeType.cpp:308
Urho3D::FileSystem::GetCurrentDir
String GetCurrentDir() const
Return the absolute current working directory.
Definition: FileSystem.cpp:535
Urho3D::SceneReplicationState
Per-user scene network replication state.
Definition: ReplicationState.h:175
Urho3D::TrailPoint
Trail is consisting of series of tails. Two connected points make a tail.
Definition: RibbonTrail.h:42
Urho3D::VertexElement::VertexElement
VertexElement() noexcept
Default-construct.
Definition: GraphicsDefs.h:186
Urho3D::TerrainPatch::GetMaxLodGeometry
Geometry * GetMaxLodGeometry() const
Return max LOD geometry. Used for decals.
Definition: TerrainPatch.cpp:253
Urho3D::ManifoldPair::ManifoldPair
ManifoldPair()
Construct with defaults.
Definition: PhysicsWorld.h:97
Urho3D::ListView::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: ListView.cpp:315
Urho3D::UIElement::SetMinOffset
void SetMinOffset(const IntVector2 &offset)
Set offset of element's top left from the minimum anchor in pixels. No effect when anchor is not enab...
Definition: UIElement.cpp:749
Urho3D::Script::defaultScene_
WeakPtr< Scene > defaultScene_
Immediate execution scene.
Definition: Script.h:135
Urho3D::UIElement::IsHovering
bool IsHovering() const
Return whether the cursor is hovering on this element.
Definition: UIElement.h:529
Urho3D::BillboardSet::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: BillboardSet.cpp:180
Urho3D::WorkQueue::PurgeCompleted
void PurgeCompleted(unsigned priority)
Purge completed work items which have at least the specified priority, and send completion events as ...
Definition: WorkQueue.cpp:342
Urho3D::Console::GetDefaultStyle
XMLFile * GetDefaultStyle() const
Return the UI style file.
Definition: Console.cpp:285
Urho3D::Quaternion::Quaternion
Quaternion(const Matrix3 &matrix) noexcept
Construct from a rotation matrix.
Definition: Quaternion.h:132
Urho3D::IntRect::right_
int right_
Right coordinate.
Definition: Rect.h:465
Urho3D::Matrix3x4::IDENTITY
static const Matrix3x4 IDENTITY
Identity matrix.
Definition: Matrix3x4.h:711
Urho3D::Controls::Reset
void Reset()
Reset to initial state.
Definition: Controls.cpp:39
Urho3D::Window::OnDragMove
void OnDragMove(const IntVector2 &position, const IntVector2 &screenPosition, const IntVector2 &deltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag motion.
Definition: Window.cpp:146
Urho3D::Graphics::vertexBuffers_
VertexBuffer * vertexBuffers_[MAX_VERTEX_STREAMS]
Vertex buffers in use.
Definition: Graphics.h:777
Urho3D::ValueAnimation::valueType_
VariantType valueType_
Value type.
Definition: ValueAnimation.h:157
Urho3D::VariantAttributeAccessorImpl::setFunction_
TSetFunction setFunction_
Set functor.
Definition: Serializable.h:179
Urho3D::Variant::IsEmpty
bool IsEmpty() const
Return true when the variant is empty (i.e. not initialized yet).
Definition: Variant.h:1339
Urho3D::Camera::SetProjection
void SetProjection(const Matrix4 &projection)
Set custom projection matrix, which should be specified in D3D convention with depth range 0 - 1....
Definition: Camera.cpp:252
Urho3D::AllocatorBlock
Allocator memory block.
Definition: Allocator.h:40
Urho3D::SoundSource::GetTimePosition
float GetTimePosition() const
Return playback time position.
Definition: SoundSource.h:90
Urho3D::Node::RemoveTag
bool RemoveTag(const String &tag)
Remove tag. Return true if existed.
Definition: Node.cpp:391
Urho3D::Texture
Base class for texture resources.
Definition: Texture.h:39
Urho3D::Application::engine_
SharedPtr< Engine > engine_
Urho3D engine.
Definition: Application.h:62
Urho3D::ColorFrame::time_
float time_
Time.
Definition: ParticleEffect.h:82
Urho3D::Sound::GetIntFrequency
unsigned GetIntFrequency() const
Return default frequency as an integer.
Definition: Sound.h:94
Urho3D::Localization::LoadMultipleLanguageJSON
void LoadMultipleLanguageJSON(const JSONValue &source)
Load strings from JSONValue.
Definition: Localization.cpp:169
Urho3D::ConstraintWheel2D::SetMaxMotorTorque
void SetMaxMotorTorque(float maxMotorTorque)
Set max motor torque.
Definition: ConstraintWheel2D.cpp:99
Urho3D::UIElement::SetSortChildren
void SetSortChildren(bool enable)
Set whether should sort child elements according to priority. Default true.
Definition: UIElement.cpp:874
Urho3D::Quaternion::IsNaN
bool IsNaN() const
Return whether any element is NaN.
Definition: Quaternion.h:419
Urho3D::Variant::GetVector4
const Vector4 & GetVector4() const
Return Vector4 or zero on type mismatch.
Definition: Variant.h:1185
Urho3D::Vector3::Vector3
Vector3(const float *data) noexcept
Construct from a float array.
Definition: Vector3.h:239
Urho3D::Matrix2::IDENTITY
static const Matrix2 IDENTITY
Identity matrix.
Definition: Matrix2.h:255
Urho3D::AM_NODEIDVECTOR
@ AM_NODEIDVECTOR
Attribute is a node ID vector where first element is the amount of nodes.
Definition: Attribute.h:53
Urho3D::ShaderVariation::GetByteCode
const PODVector< unsigned char > & GetByteCode() const
Return shader bytecode. Stored persistently on Direct3D11 only.
Definition: ShaderVariation.h:126
Urho3D::BillboardSet::billboards_
PODVector< Billboard > billboards_
Billboards.
Definition: BillboardSet.h:156
Urho3D::Mutex::TryAcquire
bool TryAcquire()
Try to acquire the mutex without locking. Return true if successful.
Definition: Mutex.cpp:94
Urho3D::Viewport::GetRenderPath
RenderPath * GetRenderPath() const
Return rendering path.
Definition: Viewport.cpp:137
Urho3D::Condition::event_
void * event_
Operating system specific event.
Definition: Condition.h:56
Urho3D::UIElement::GetElementEventSender
UIElement * GetElementEventSender() const
Get element which should send child added / removed events.
Definition: UIElement.cpp:1853
Urho3D::Terrain::SetDrawDistance
void SetDrawDistance(float distance)
Set draw distance for patches.
Definition: Terrain.cpp:380
Urho3D::ListView::GetClearSelectionOnDefocus
bool GetClearSelectionOnDefocus() const
Return whether selection is cleared on defocus.
Definition: ListView.h:147
Urho3D::ResourceCache::ReloadResource
bool ReloadResource(Resource *resource)
Reload a resource. Return true on success. The resource will not be removed from the cache in case of...
Definition: ResourceCache.cpp:372
Urho3D::UIElement::SetMaxSize
void SetMaxSize(const IntVector2 &maxSize)
Set maximum size.
Definition: UIElement.cpp:625
Urho3D::UIElement::GetIndentWidth
int GetIndentWidth() const
Return indent width in pixels.
Definition: UIElement.h:628
Urho3D::NavigationMesh
Navigation mesh component. Collects the navigation geometry from child nodes with the Navigable compo...
Definition: NavigationMesh.h:92
Urho3D::Material::batchedParameterUpdate_
bool batchedParameterUpdate_
Flag to suppress parameter hash and memory use recalculation when setting multiple shader parameters ...
Definition: Material.h:321
Urho3D::Serializer::WriteDouble
bool WriteDouble(double value)
Write a double.
Definition: Serializer.cpp:86
Urho3D::Texture2D::loadImage_
SharedPtr< Image > loadImage_
Image file acquired during BeginLoad.
Definition: Texture2D.h:90
Urho3D::List::Iterator::operator->
T * operator->() const
Point to the node value.
Definition: List.h:100
Urho3D::String::Join
void Join(const Vector< String > &subStrings, const String &glue)
Join substrings with a 'glue' string.
Definition: Str.cpp:566
Urho3D::PhysicsWorld::Raycast
void Raycast(PODVector< PhysicsRaycastResult > &result, const Ray &ray, float maxDistance, unsigned collisionMask=M_MAX_UNSIGNED)
Perform a physics world raycast and return all hits.
Definition: PhysicsWorld.cpp:372
Urho3D::FileSelector::filters_
Vector< String > filters_
Filters.
Definition: FileSelector.h:181
Urho3D::CrowdManager::GetIncludeFlags
unsigned short GetIncludeFlags(unsigned queryFilterType) const
Get the include flags for the specified query filter type.
Definition: CrowdManager.cpp:483
Urho3D::Quaternion::RotationMatrix
Matrix3 RotationMatrix() const
Return the rotation matrix that corresponds to this quaternion.
Definition: Quaternion.cpp:234
Urho3D::Technique::litBasePassIndex
static unsigned litBasePassIndex
Index for lit base pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:270
Urho3D::WeakArrayPtr::~WeakArrayPtr
~WeakArrayPtr()
Destruct. Release the weak reference to the array.
Definition: ArrayPtr.h:258
Urho3D::IKEffector::GetWeight
float GetWeight() const
How strongly the effector affects the solution.
Definition: IKEffector.cpp:169
Urho3D::LM_VERTICAL
@ LM_VERTICAL
Layout child elements vertically and resize them to fit. Resize element if necessary.
Definition: UIElement.h:92
Urho3D::HashNodeBase
Hash set/map node base class.
Definition: HashBase.h:39
Urho3D::TerrainPatch::geometry_
SharedPtr< Geometry > geometry_
Geometry.
Definition: TerrainPatch.h:118
Urho3D::AnimationControl::setTime_
unsigned short setTime_
Set time command.
Definition: AnimationController.h:72
Urho3D::HashSet::operator+=
HashSet & operator+=(const T &rhs)
Add-assign a value.
Definition: HashSet.h:239
Urho3D::ScriptInstance::DelayedExecute
void DelayedExecute(float delay, bool repeat, const String &declaration, const VariantVector &parameters=Variant::emptyVariantVector)
Add a delay-executed method call, optionally repeating.
Definition: ScriptInstance.cpp:300
Urho3D::Text3D::SetColor
void SetColor(const Color &color)
Set color on all corners.
Definition: Text3D.cpp:321
Urho3D::ValueAnimation::SetSplineTension
void SetSplineTension(float tension)
Set spline tension, should be between 0.0f and 1.0f, but this is not a must.
Definition: ValueAnimation.cpp:268
Urho3D::Shader::ProcessSource
bool ProcessSource(String &code, Deserializer &source)
Process source code and include files. Return true if successful.
Definition: Shader.cpp:160
Urho3D::Drawable2D::sourceBatchesDirty_
bool sourceBatchesDirty_
Source batches dirty flag.
Definition: Drawable2D.h:118
Urho3D::View::lights_
PODVector< Light * > lights_
Lights.
Definition: View.h:402
Urho3D::AnimatedSprite2D::AnimatedSprite2D
AnimatedSprite2D(Context *context)
Construct.
Definition: AnimatedSprite2D.cpp:55
Urho3D::Network::identity_
VariantMap identity_
Client identify for NAT punchtrough connections.
Definition: Network.h:182
Urho3D::AsyncProgress::loadedNodes_
unsigned loadedNodes_
Loaded root-level nodes.
Definition: Scene.h:81
Urho3D::AsyncProgress::xmlElement_
XMLElement xmlElement_
Current XML element for XML mode.
Definition: Scene.h:67
Urho3D::View::camera_
Camera * camera_
Viewport (rendering) camera.
Definition: View.h:320
Urho3D::NavigationMesh::GetNumTiles
IntVector2 GetNumTiles() const
Return number of tiles.
Definition: NavigationMesh.h:252
Urho3D::PODVector::operator+
PODVector< T > operator+(const T &rhs) const
Add an element.
Definition: Vector.h:763
Urho3D::FocusParameters::Validate
void Validate()
Validate parameters.
Definition: Light.cpp:86
Urho3D::Window::dragMode_
WindowDragMode dragMode_
Current drag mode.
Definition: Window.h:151
Urho3D::ParticleEffect2D::SetMaxRadiusVariance
void SetMaxRadiusVariance(float maxRadiusVariance)
Set max radius variance.
Definition: ParticleEffect2D.cpp:424
Urho3D::CrowdObstacleAvoidanceParams::adaptiveDivs
unsigned char adaptiveDivs
adaptive
Definition: CrowdManager.h:53
Urho3D::Input::SetScreenJoystickVisible
void SetScreenJoystickVisible(SDL_JoystickID id, bool enable)
Set whether the virtual joystick is visible.
Definition: Input.cpp:1169
Urho3D::View::SetGBufferShaderParameters
void SetGBufferShaderParameters(const IntVector2 &texSize, const IntRect &viewRect)
Set G-buffer offset and inverse size shader parameters. Called by Batch and internally by View.
Definition: View.cpp:770
Urho3D::Engine::SetPauseMinimized
void SetPauseMinimized(bool enable)
Set whether to pause update events and audio when minimized.
Definition: Engine.cpp:578
Urho3D::StaticSprite2D::GetSprite
Sprite2D * GetSprite() const
Return sprite.
Definition: StaticSprite2D.cpp:237
Urho3D::File::inputBuffer_
SharedArrayPtr< unsigned char > inputBuffer_
Decompression input buffer for compressed file loading.
Definition: File.h:133
Urho3D::LogicComponent::FixedPostUpdate
virtual void FixedPostUpdate(float timeStep)
Called on physics post-update, fixed timestep.
Definition: LogicComponent.cpp:63
Urho3D::List::End
ConstIterator End() const
Return iterator to the end.
Definition: List.h:403
Urho3D::VertexElementType
VertexElementType
Arbitrary vertex declaration element datatypes.
Definition: GraphicsDefs.h:155
Urho3D::Terrain::GetNumPatches
const IntVector2 & GetNumPatches() const
Return heightmap size in patches.
Definition: Terrain.h:114
Urho3D::CrowdManager::~CrowdManager
~CrowdManager() override
Destruct.
Definition: CrowdManager.cpp:88
Urho3D::Color::Color
Color(unsigned color, const ChannelMask &mask=ABGR)
Construct from 32-bit integer. Default format is 0xAABBGGRR.
Definition: Color.h:102
Urho3D::AnimationStateTrack::weight_
float weight_
Blending weight.
Definition: AnimationState.h:65
Urho3D::RaycastVehicle::GetNumWheels
int GetNumWheels() const
Get number of attached wheels.
Definition: RaycastVehicle.cpp:595
Urho3D::ParticleEffect2D::duration_
float duration_
Duration.
Definition: ParticleEffect2D.h:304
Urho3D::Zone::zoneTexture_
SharedPtr< Texture > zoneTexture_
Zone texture.
Definition: Zone.h:166
Urho3D::XPathQuery::Clear
void Clear()
Clear by removing all variables and XPath query object.
Definition: XMLElement.cpp:1154
Urho3D::RigidBody::GetUseGravity
bool GetUseGravity() const
Return whether rigid body uses gravity.
Definition: RigidBody.h:202
Urho3D::ShadowBatchQueue
Queue for shadow map draw calls.
Definition: Batch.h:277
Urho3D::Context::RemoveEventReceiver
void RemoveEventReceiver(Object *receiver, Object *sender, StringHash eventType)
Remove event receiver from specific events.
Definition: Context.cpp:447
Urho3D::LinkedList::Clear
void Clear()
Remove all elements.
Definition: LinkedList.h:80
Urho3D::DecalSet::GetOptimizeBufferSize
bool GetOptimizeBufferSize() const
Return whether is optimizing GPU buffer sizes according to current amount of decals.
Definition: DecalSet.h:164
Urho3D::Drawable::GetUpdateGeometryType
virtual UpdateGeometryType GetUpdateGeometryType()
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: Drawable.h:138
Urho3D::DebugRenderer::triangles_
PODVector< DebugTriangle > triangles_
Triangles rendered with depth test.
Definition: DebugRenderer.h:180
Urho3D::RWOpsWrapper::ops_
SDL_RWops ops_
SDL RWOps structure associated with the object.
Definition: RWOpsWrapper.h:117
Urho3D::Terrain::indexBuffer_
SharedPtr< IndexBuffer > indexBuffer_
Shared index buffer.
Definition: Terrain.h:245
Urho3D::CrowdAgent::ResetTarget
void ResetTarget()
Reset any target request for the specified agent. Note that the agent will continue to move into the ...
Definition: CrowdAgent.cpp:358
Urho3D::TileMapLayer2D::tileMap_
WeakPtr< TileMap2D > tileMap_
Tile map.
Definition: TileMapLayer2D.h:113
Urho3D::SpriteSheet2D::SetTexture
void SetTexture(Texture2D *texture)
Set texture.
Definition: SpriteSheet2D.cpp:91
Urho3D::UI::uiRendered_
bool uiRendered_
Flag for UI already being rendered this frame.
Definition: UI.h:413
Urho3D::Renderer::GetDynamicInstancing
bool GetDynamicInstancing() const
Return whether dynamic instancing is in use.
Definition: Renderer.h:310
Urho3D::DecalSet::assignBonesPending_
bool assignBonesPending_
Bone nodes assignment pending flag.
Definition: DecalSet.h:249
Urho3D::Object::FindSpecificEventHandler
EventHandler * FindSpecificEventHandler(Object *sender, EventHandler **previous=nullptr) const
Find the first event handler with specific sender.
Definition: Object.cpp:479
Urho3D::ParticleEffect2D::GetMinRadius
float GetMinRadius() const
Return min radius.
Definition: ParticleEffect2D.h:215
Urho3D::View::passCommand_
const RenderPathCommand * passCommand_
Pointer to the current commmand if it contains shader parameters to be set for a render pass.
Definition: View.h:437
Urho3D::AnimationControl::setWeightRev_
unsigned char setWeightRev_
Set weight command revision.
Definition: AnimationController.h:78
Urho3D::File::SetName
void SetName(const String &name)
Change the file name. Used by the resource system.
Definition: File.cpp:414
Urho3D::Terrain::heightMap_
SharedPtr< Image > heightMap_
Heightmap image.
Definition: Terrain.h:247
Urho3D::AnimatedModel::ApplyMorph
void ApplyMorph(VertexBuffer *buffer, void *destVertexData, unsigned morphRangeStart, const VertexBufferMorph &morph, float weight)
Apply a vertex morph.
Definition: AnimatedModel.cpp:1386
Urho3D::Audio::fragmentSize_
unsigned fragmentSize_
Clip buffer size in samples.
Definition: Audio.h:135
Urho3D::ConstraintFriction2D::SetMaxTorque
void SetMaxTorque(float maxTorque)
Set max torque.
Definition: ConstraintFriction2D.cpp:84
Urho3D::Cursor::osShapeDirty_
bool osShapeDirty_
OS cursor shape needs update flag.
Definition: Cursor.h:144
Urho3D::ManifoldPair
Manifold pointers stored during collision processing.
Definition: PhysicsWorld.h:94
Urho3D::DecalVertex::blendWeights_
float blendWeights_[4]
Blend weights.
Definition: DecalSet.h:70
Urho3D::UI::SetDragBeginDistance
void SetDragBeginDistance(int pixels)
Set UI drag event start distance threshold in pixels.
Definition: UI.cpp:654
Urho3D::OT_POLYLINE
@ OT_POLYLINE
Polyline.
Definition: TileMapDefs2D.h:97
Urho3D::Max
T Max(T lhs, U rhs)
Return the larger of two values.
Definition: MathDefs.h:87
Urho3D::OctreeQuery::drawableFlags_
unsigned char drawableFlags_
Drawable flags to include.
Definition: OctreeQuery.h:67
Urho3D::UI::HandleBeginFrame
void HandleBeginFrame(StringHash eventType, VariantMap &eventData)
Handle frame begin event.
Definition: UI.cpp:2039
Urho3D::View::litAlphaPassIndex_
unsigned litAlphaPassIndex_
Index of the litalpha pass.
Definition: View.h:431
Urho3D::WeakArrayPtr::AddRef
void AddRef()
Add a weak reference to the array pointed to.
Definition: ArrayPtr.h:398
Urho3D::XMLElement::GetValue
String GetValue() const
Return inner value, or empty if missing for nodes like <node>value</node>.
Definition: XMLElement.cpp:684
Urho3D::Vector4::ProjectOntoAxis
float ProjectOntoAxis(const Vector3 &axis) const
Project vector onto axis.
Definition: Vector4.h:180
Urho3D::Renderer::CreateInstancingBuffer
void CreateInstancingBuffer()
Create instancing vertex buffer.
Definition: Renderer.cpp:1879
Urho3D::List::ConstIterator::operator--
ConstIterator & operator--()
Predecrement the pointer.
Definition: List.h:147
Urho3D::ParticleEffect::SetEmitterType
void SetEmitterType(EmitterType type)
Set emitter type.
Definition: ParticleEffect.cpp:480
Urho3D::Billboard::size_
Vector2 size_
Two-dimensional size. If BillboardSet has fixed screen size enabled, this is measured in pixels inste...
Definition: BillboardSet.h:43
Urho3D::Network
Network subsystem. Manages client-server communications using the UDP protocol.
Definition: Network.h:38
Urho3D::NodeImpl::tags_
StringVector tags_
Tag strings.
Definition: Node.h:67
Urho3D::BoundingBox::Merge
void Merge(const BoundingBox &box)
Merge another bounding box.
Definition: BoundingBox.h:199
Urho3D::UIElement::OnIndentSet
virtual void OnIndentSet()
React to indent change.
Definition: UIElement.h:201
Urho3D::StringHash::GetGlobalStringHashRegister
static StringHashRegister * GetGlobalStringHashRegister()
Get global StringHashRegister. Use for debug purposes only. Return nullptr if URHO3D_HASH_DEBUG is of...
Definition: StringHash.cpp:84
Urho3D::DecalSet::CalculateBoundingBox
void CalculateBoundingBox()
Recalculate the local-space bounding box.
Definition: DecalSet.cpp:1002
Urho3D::Scene::GetSnapThreshold
float GetSnapThreshold() const
Return motion smoothing snap threshold.
Definition: Scene.h:205
Urho3D::Zone::SetFogHeight
void SetFogHeight(float height)
Set fog height distance relative to the scene node's world position. Effective only in height fog mod...
Definition: Zone.cpp:136
Urho3D::ShaderVariation::name_
String name_
Shader name.
Definition: ShaderVariation.h:170
Urho3D::JSONValue::arrayValue_
JSONArray * arrayValue_
Array value.
Definition: JSONValue.h:305
Urho3D::LinkedList::head_
T * head_
First element.
Definition: LinkedList.h:191
Urho3D::IKEffector::SetTargetPosition
void SetTargetPosition(const Vector3 &targetPosition)
Sets the current target position. If the effector has a target node then this will have no effect.
Definition: IKEffector.cpp:118
Urho3D::DebugHud::DebugHud
DebugHud(Context *context)
Construct.
Definition: DebugHud.cpp:62
Urho3D::Menu::SaveXML
bool SaveXML(XMLElement &dest) const override
Save as XML data. Return true if successful.
Definition: Menu.cpp:235
Urho3D::SoundSource::GetPanning
float GetPanning() const
Return stereo panning.
Definition: SoundSource.h:102
Urho3D::HashBase::NumBuckets
unsigned NumBuckets() const
Return number of buckets.
Definition: HashBase.h:130
Urho3D::Terrain::heightData_
SharedArrayPtr< float > heightData_
Height data.
Definition: Terrain.h:249
Urho3D::Graphics::GetLightPrepassSupport
bool GetLightPrepassSupport() const
Return whether light pre-pass rendering is supported.
Definition: Graphics.h:420
Urho3D::Matrix2::SetScale
void SetScale(float scale)
Set uniform scaling elements.
Definition: Matrix2.h:147
Urho3D::BorderImage::disabledOffset_
IntVector2 disabledOffset_
Offset to image rectangle when disabled.
Definition: BorderImage.h:127
Urho3D::JoystickState::GetNumHats
unsigned GetNumHats() const
Return number of hats.
Definition: Input.h:94
Urho3D::WorkItem::sendEvent_
bool sendEvent_
Whether to send event on completion.
Definition: WorkQueue.h:59
Urho3D::UIBatch::vertexStart_
unsigned vertexStart_
Vertex data start index.
Definition: UIBatch.h:89
Urho3D::Input::mouseMoveWheel_
int mouseMoveWheel_
Mouse wheel movement since last frame.
Definition: Input.h:394
Urho3D::List::Tail
Node * Tail() const
Return the tail node.
Definition: List.h:428
Urho3D::Text3D::GetWordwrap
bool GetWordwrap() const
Return wordwrap mode.
Definition: Text3D.cpp:423
Urho3D::CollisionShape::margin_
float margin_
Collision margin.
Definition: CollisionShape.h:314
Urho3D::UIComponent::GetMaterial
Material * GetMaterial() const
Return material which will be used for rendering UI texture.
Definition: UIComponent.cpp:188
Urho3D::Texture::SetAnisotropy
void SetAnisotropy(unsigned level)
Set texture max. anisotropy level. No effect if not using anisotropic filtering. Value 0 (default) us...
Definition: Texture.cpp:86
Urho3D::UI::GetNumDragElements
unsigned GetNumDragElements() const
Return the number of currently dragged elements.
Definition: UI.h:165
Urho3D::PhysicsWorld2D::gravity_
Vector2 gravity_
Gravity.
Definition: PhysicsWorld2D.h:222
Urho3D::RigidBody::lastRotation_
Quaternion lastRotation_
Last interpolated rotation from the simulation.
Definition: RigidBody.h:297
Urho3D::View::sceneResults_
Vector< PerThreadSceneResult > sceneResults_
Per-thread geometries, lights and Z range collection results.
Definition: View.h:390
Urho3D::FileSelector::lastUsedFilter_
String lastUsedFilter_
Filter used to get the file list.
Definition: FileSelector.h:185
Urho3D::Drawable::GetZone
Zone * GetZone() const
Return current zone.
Definition: Drawable.h:254
Urho3D::SoundSource::IsPlaying
bool IsPlaying() const
Return whether is playing.
Definition: SoundSource.cpp:314
Urho3D::Matrix2::Scaled
Matrix2 Scaled(const Vector2 &scale) const
Return scaled by a vector.
Definition: Matrix2.h:174
Urho3D::Material::cullMode_
CullMode cullMode_
Normal culling mode.
Definition: Material.h:297
Urho3D::Connection
Connection to a remote network host.
Definition: Connection.h:118
Urho3D::View::GetFrameInfo
const FrameInfo & GetFrameInfo() const
Return information of the frame being rendered.
Definition: View.h:148
Urho3D::BillboardSet::GetFaceCameraMode
FaceCameraMode GetFaceCameraMode() const
Return how the billboards rotate in relation to the camera.
Definition: BillboardSet.h:128
Urho3D::AnimatedModel::GetAnimationStatesAttr
VariantVector GetAnimationStatesAttr() const
Return animation states attribute.
Definition: AnimatedModel.cpp:877
Urho3D::PODVector::Insert
Iterator Insert(const Iterator &dest, const ConstIterator &start, const ConstIterator &end)
Insert a vector partially by iterators.
Definition: Vector.h:914
Urho3D::ParticleEffect::SetSorted
void SetSorted(bool enable)
Set whether billboards are sorted by distance.
Definition: ParticleEffect.cpp:465
Urho3D::TypeInfo::IsTypeOf
bool IsTypeOf(StringHash type) const
Check current type is type of specified type.
Definition: Object.cpp:45
Urho3D::RenderSurface::QueueUpdate
void QueueUpdate()
Queue manual update of the viewport(s).
Definition: RenderSurface.cpp:72
Urho3D::ListView::HandleUIMouseDoubleClick
void HandleUIMouseDoubleClick(StringHash eventType, VariantMap &eventData)
Handle global UI mouse doubleclick.
Definition: ListView.cpp:1107
Urho3D::Geometry::SetRawIndexData
void SetRawIndexData(const SharedArrayPtr< unsigned char > &data, unsigned indexSize)
Override raw index data to be returned for CPU-side operations.
Definition: Geometry.cpp:170
Urho3D::CollisionPolygon2D::SetVertexCount
void SetVertexCount(unsigned count)
Set vertex count.
Definition: CollisionPolygon2D.cpp:55
Urho3D::View3D::renderTexture_
SharedPtr< Texture2D > renderTexture_
Renderable texture.
Definition: View3D.h:85
Urho3D::UIElement::GetVars
const VariantMap & GetVars() const
Return all user variables.
Definition: UIElement.h:589
Urho3D::Matrix3::Matrix3
Matrix3() noexcept
Construct an identity matrix.
Definition: Matrix3.h:35
Urho3D::Image::numCompressedLevels_
unsigned numCompressedLevels_
Number of compressed mip levels.
Definition: Image.h:224
Urho3D::ParticleEffect::RemoveTextureFrame
void RemoveTextureFrame(unsigned index)
Remove texture frame at index.
Definition: ParticleEffect.cpp:696
Urho3D::Sprite::~Sprite
~Sprite() override
Destruct.
Urho3D::AM_LATESTDATA
@ AM_LATESTDATA
Attribute should use latest data grouping instead of delta update in network replication.
Definition: Attribute.h:45
Urho3D::ScriptFile::includeFiles_
HashSet< String > includeFiles_
Encountered include files during script file loading.
Definition: ScriptFile.h:140
Urho3D::DebugTriangle::v2_
Vector3 v2_
Vertex b.
Definition: DebugRenderer.h:83
Urho3D::ParticleEffect::scaled_
bool scaled_
Scale affects billboard scale flag.
Definition: ParticleEffect.h:367
Urho3D::Engine::SetAutoExit
void SetAutoExit(bool enable)
Set whether to exit automatically on exit request (window close button).
Definition: Engine.cpp:583
Urho3D::Graphics::SetDither
void SetDither(bool enable)
Set whether rendering output is dithered. Default true on OpenGL. No effect on Direct3D.
Definition: OGLGraphics.cpp:524
Urho3D::XMLElement::GetUInt64
unsigned long long GetUInt64(const String &name) const
Return an unsigned long long integer attribute, or zero if missing.
Definition: XMLElement.cpp:812
Urho3D::VariantValue
Union for the possible variant values. Objects exceeding the VARIANT_VALUE_SIZE are allocated on the ...
Definition: Variant.h:281
Urho3D::Network::scene_
Scene * scene_
Scene which will be used for NAT punchtrough connections.
Definition: Network.h:180
Urho3D::OctreeQuery::OctreeQuery
OctreeQuery(PODVector< Drawable * > &result, unsigned char drawableFlags, unsigned viewMask)
Construct with query parameters.
Definition: OctreeQuery.h:44
Urho3D::Vector4::operator[]
float & operator[](unsigned index)
Return mutable value by index.
Definition: Vector4.h:168
Urho3D::ResourceCache::GetPackageFiles
const Vector< SharedPtr< PackageFile > > & GetPackageFiles() const
Return added package files.
Definition: ResourceCache.h:161
Urho3D::UIElement::OnDragDropTest
virtual bool OnDragDropTest(UIElement *source)
React to drag and drop test. Return true to signal that the drop is acceptable.
Definition: UIElement.cpp:452
Urho3D::CrowdAgent::SetNavigationPushiness
void SetNavigationPushiness(NavigationPushiness val)
Set the agent's navigation pushiness.
Definition: CrowdAgent.cpp:463
Urho3D::Image::GetDepth
int GetDepth() const
Return depth.
Definition: Image.h:165
Urho3D::ResourceCache::ReleaseResources
void ReleaseResources(StringHash type, bool force=false)
Release all resources of a specific type.
Definition: ResourceCache.cpp:261
Urho3D::ParticleEffect2D::SetSourcePositionVariance
void SetSourcePositionVariance(const Vector2 &sourcePositionVariance)
Set source position variance.
Definition: ParticleEffect2D.cpp:304
Urho3D::GPUObject::dataLost_
bool dataLost_
Data lost flag.
Definition: GPUObject.h:77
Urho3D::TextureCube::loadImages_
Vector< SharedPtr< Image > > loadImages_
Face image files acquired during BeginLoad.
Definition: TextureCube.h:89
Urho3D::HashMap::TryGetValue
bool TryGetValue(const T &key, U &out) const
Try to copy value to output. Return true if was found.
Definition: HashMap.h:568
Urho3D::NodeImpl::nameHash_
StringHash nameHash_
Name hash.
Definition: Node.h:69
Urho3D::WeakPtr::Swap
void Swap(WeakPtr< T > &rhs)
Swap with another WeakPtr.
Definition: Ptr.h:442
Urho3D::FlagSet::operator&=
FlagSet & operator&=(const Enum value)
Bitwise AND against Enum value.
Definition: FlagSet.h:76
Urho3D::Graphics::GetResizable
bool GetResizable() const
Return whether window is resizable.
Definition: Graphics.h:366
Urho3D::DebugRenderer::~DebugRenderer
~DebugRenderer() override
Destruct.
Urho3D::VertexBuffer::GetShadowDataShared
SharedArrayPtr< unsigned char > GetShadowDataShared() const
Return shared array pointer to the CPU memory shadow data.
Definition: VertexBuffer.h:109
Urho3D::TmxFile2D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: TmxFile2D.cpp:451
Urho3D::BillboardSet::SetScaled
void SetScaled(bool enable)
Set whether scene node scale affects billboards' size. Default true.
Definition: BillboardSet.cpp:296
Urho3D::FontGlyph::advanceX_
float advanceX_
Horizontal advance.
Definition: FontFace.h:56
Urho3D::ParticleEffect::IsRelative
bool IsRelative() const
Return whether billboards are relative to the scene node.
Definition: ParticleEffect.h:236
Urho3D::OcclusionBuffer
Software renderer for occlusion.
Definition: OcclusionBuffer.h:91
Urho3D::XMLElement::SetUInt64
bool SetUInt64(const String &name, unsigned long long value)
Set an unsigned long long integer attribute.
Definition: XMLElement.cpp:372
Urho3D::XMLElement::operator=
XMLElement & operator=(const XMLElement &rhs)
Assignment operator.
Definition: XMLElement.cpp:84
Urho3D::PhysicsWorld::GetFps
int GetFps() const
Return simulation steps per second.
Definition: PhysicsWorld.h:236
Urho3D::BorderImage::GetMaterialAttr
ResourceRef GetMaterialAttr() const
Get material attribute.
Definition: BorderImage.cpp:237
Urho3D::UIComponent::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: UIComponent.cpp:177
Urho3D::ProgressBar::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: ProgressBar.cpp:120
Urho3D::Network::HandleBeginFrame
void HandleBeginFrame(StringHash eventType, VariantMap &eventData)
Handle begin frame event.
Definition: Network.cpp:974
Urho3D::PODVector::Empty
bool Empty() const
Return whether vector is empty.
Definition: Vector.h:1158
Urho3D::Serializer::WriteMatrix4
bool WriteMatrix4(const Matrix4 &value)
Write a Matrix4.
Definition: Serializer.cpp:164
Urho3D::ShadowBatchQueue::shadowBatches_
BatchQueue shadowBatches_
Shadow caster draw calls.
Definition: Batch.h:284
Urho3D::BatchQueue::psExtraDefines_
String psExtraDefines_
Pixel shader extra defines.
Definition: Batch.h:269
Urho3D::IndexBuffer::lockScratchData_
void * lockScratchData_
Scratch buffer for fallback locking.
Definition: IndexBuffer.h:111
Urho3D::Console::~Console
~Console() override
Destruct.
Definition: Console.cpp:114
Urho3D::Material
Describes how to render 3D geometries.
Definition: Material.h:106
Urho3D::Thread::SetMainThread
static void SetMainThread()
Set the current thread as the main thread.
Definition: Thread.cpp:132
Urho3D::Drawable::SetSortValue
void SetSortValue(float value)
Set sorting value.
Definition: Drawable.cpp:291
Urho3D::NavigationMesh::drawNavAreas_
bool drawNavAreas_
Debug draw NavArea components.
Definition: NavigationMesh.h:352
Urho3D::AnimationState::ApplyToModel
void ApplyToModel()
Apply animation to a skeleton. Transform changes are applied silently, so the model needs to dirty it...
Definition: AnimationState.cpp:455
Urho3D::ScrollView::GetViewPosition
const IntVector2 & GetViewPosition() const
Return view offset from the top-left corner.
Definition: ScrollView.h:92
Urho3D::JSONValue::SetType
void SetType(JSONValueType valueType, JSONNumberType numberType=JSONNT_NAN)
Set value type and number type, internal function.
Definition: JSONValue.cpp:344
Urho3D::Texture2DArray::Create
bool Create() override
Create the GPU texture.
Definition: OGLTexture2DArray.cpp:419
Urho3D::RenderSurface::GetUpdateMode
RenderSurfaceUpdateMode GetUpdateMode() const
Return viewport update mode.
Definition: RenderSurface.h:87
Urho3D::Audio::sampleSize_
unsigned sampleSize_
Sample size.
Definition: Audio.h:133
Urho3D::BillboardSet::geometryTypeUpdate_
bool geometryTypeUpdate_
Update billboard geometry type.
Definition: BillboardSet.h:197
Urho3D::SharedArrayPtr::operator!=
bool operator!=(const SharedArrayPtr< T > &rhs) const
Test for inequality with another shared array pointer.
Definition: ArrayPtr.h:123
Urho3D::ParticleEffect::SetNumColorFrames
void SetNumColorFrames(unsigned number)
Set number of color frames.
Definition: ParticleEffect.cpp:646
Urho3D::DecalSet::GetDecalsAttr
PODVector< unsigned char > GetDecalsAttr() const
Return decals attribute.
Definition: DecalSet.cpp:602
Urho3D::FileSelector::directoryMode_
bool directoryMode_
Directory mode flag.
Definition: FileSelector.h:187
Urho3D::NavigationMesh::SetEdgeMaxLength
void SetEdgeMaxLength(float length)
Set edge max length.
Definition: NavigationMesh.cpp:290
Urho3D::StaticModel::SetModel
virtual void SetModel(Model *model)
Set model.
Definition: StaticModel.cpp:230
Urho3D::Pass::GetCullMode
CullMode GetCullMode() const
Return culling mode override. If pass is not overriding culling mode (default), the illegal mode MAX_...
Definition: Technique.h:93
Urho3D::Image::GetPixelBilinear
Color GetPixelBilinear(float x, float y) const
Return a bilinearly sampled 2D pixel color. X and Y have the range 0-1.
Definition: Image.cpp:1549
Urho3D::Connection::SendPackageError
void SendPackageError(const String &name)
Send an error reply for a package download.
Definition: Connection.cpp:1567
Urho3D::LineEdit::HandleFocused
void HandleFocused(StringHash eventType, VariantMap &eventData)
Handle being focused.
Definition: LineEdit.cpp:637
Urho3D::Sphere
Sphere in three-dimensional space.
Definition: Sphere.h:35
Urho3D::TM_BREADTH_FIRST
@ TM_BREADTH_FIRST
Traverse through children having same priority first and recurse into their children before traversin...
Definition: UIElement.h:99
Urho3D::RaycastVehicle::SetWheelRestLength
void SetWheelRestLength(int wheel, float length)
Get wheel rest length.
Definition: RaycastVehicle.cpp:650
Urho3D::DelayedCall::declaration_
String declaration_
Function declaration.
Definition: ScriptEventListener.h:46
Urho3D::ValueAnimation::GetBeginTime
float GetBeginTime() const
Return begin time.
Definition: ValueAnimation.h:123
Urho3D::Vector::Clear
void Clear()
Clear the vector.
Definition: Vector.h:422
Urho3D::Condition
Condition on which a thread can wait.
Definition: Condition.h:35
Urho3D::ScrollBar::HandleSliderPaged
void HandleSliderPaged(StringHash eventType, VariantMap &eventData)
Handle slider touch and click on "paging" area.
Definition: ScrollBar.cpp:295
Urho3D::Input::IsMouseLocked
bool IsMouseLocked() const
Return whether the mouse is locked to the window.
Definition: Input.cpp:1496
Urho3D::BufferedSoundStream::GetBufferLength
float GetBufferLength() const
Return length of buffered (unplayed) sound data in seconds.
Definition: BufferedSoundStream.cpp:123
Urho3D::DynamicNavigationMesh::BuildTile
int BuildTile(Vector< NavigationGeometryInfo > &geometryList, int x, int z, TileCacheData *tiles)
Build one tile of the navigation mesh. Return true if successful.
Definition: DynamicNavigationMesh.cpp:820
Urho3D::RigidBody::SetAnisotropicFriction
void SetAnisotropicFriction(const Vector3 &friction)
Set anisotropic friction.
Definition: RigidBody.cpp:383
Urho3D::LineEdit::cursorPosition_
unsigned cursorPosition_
Text edit cursor position.
Definition: LineEdit.h:140
Urho3D::String::Compact
void Compact()
Reallocate so that no extra memory is used.
Definition: Str.cpp:472
Urho3D::HM_FOCUS
@ HM_FOCUS
Highlight when focused.
Definition: ListView.h:39
Urho3D::JSONValue::JSONValue
JSONValue(bool value)
Construct with a boolean.
Definition: JSONValue.h:83
Urho3D::ScriptInstance::ScriptInstance
ScriptInstance(Context *context)
Construct.
Definition: ScriptInstance.cpp:65
Urho3D::Terrain::patchSize_
int patchSize_
Patch size, quads per side.
Definition: Terrain.h:281
Urho3D::RayQueryResult
Raycast result.
Definition: OctreeQuery.h:185
Urho3D::Animation::Animation
Animation(Context *context)
Construct.
Definition: Animation.cpp:114
Urho3D::RoundToNearestMultiple
T RoundToNearestMultiple(T x, T multiple)
Round value to nearest multiple.
Definition: MathDefs.h:216
Urho3D::CustomGeometryVertex::tangent_
Vector4 tangent_
Tangent.
Definition: CustomGeometry.h:42
Urho3D::Text3D::GetFaceCameraMode
FaceCameraMode GetFaceCameraMode() const
Return how the text rotates in relation to the camera.
Definition: Text3D.h:157
Urho3D::Graphics::IsInitialized
bool IsInitialized() const
Return whether rendering initialized.
Definition: OGLGraphics.cpp:2027
Urho3D::VertexBufferMorph::vertexCount_
unsigned vertexCount_
Number of vertices.
Definition: Model.h:46
Urho3D::TmxLayer2D::IsVisible
bool IsVisible() const
Return is visible.
Definition: TmxFile2D.h:60
Urho3D::PhysicsWorld2D::SetDrawShape
void SetDrawShape(bool drawShape)
Set draw shape.
Definition: PhysicsWorld2D.cpp:347
Urho3D::Component::MarkNetworkUpdate
void MarkNetworkUpdate() override
Mark for attribute check on the next network update.
Definition: Component.cpp:99
Urho3D::PhysicsRaycastResult2D::body_
RigidBody2D * body_
Rigid body that was hit.
Definition: PhysicsWorld2D.h:53
Urho3D::Input::RemoveAllGestures
void RemoveAllGestures()
Remove all in-memory gestures.
Definition: Input.cpp:1261
Urho3D::JSONValue::GetVariantVector
VariantVector GetVariantVector() const
Return a variant vector.
Definition: JSONValue.cpp:605
Urho3D::PhysicsWorld::RemoveConstraint
void RemoveConstraint(Constraint *constraint)
Remove a constraint. Called by Constraint.
Definition: PhysicsWorld.cpp:745
Urho3D::Deserializer::ReadShort
short ReadShort()
Read a 16-bit integer.
Definition: Deserializer.cpp:77
Urho3D::String::Insert
void Insert(unsigned pos, const String &str)
Insert a string.
Definition: Str.cpp:334
Urho3D::TmxFile2D::gidToPropertySetMapping_
HashMap< unsigned, SharedPtr< PropertySet2D > > gidToPropertySetMapping_
Gid to tile property set mapping.
Definition: TmxFile2D.h:222
Urho3D::View::GetTechnique
Technique * GetTechnique(Drawable *drawable, Material *material)
Return material technique, considering the drawable's LOD distance.
Definition: View.cpp:2813
Urho3D::AnimatedModel::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: AnimatedModel.cpp:102
Urho3D::Input::SetMouseGrabbed
void SetMouseGrabbed(bool grab, bool suppressEvent=false)
Set whether the mouse is currently being grabbed by an operation.
Definition: Input.cpp:811
Urho3D::AnimatedModel::animationOrderDirty_
bool animationOrderDirty_
Animation order dirty flag.
Definition: AnimatedModel.h:247
Urho3D::Renderer::preparedViews_
HashMap< Camera *, WeakPtr< View > > preparedViews_
Prepared views by culling camera.
Definition: Renderer.h:526
Urho3D::Renderer2D::AddViewBatch
void AddViewBatch(ViewBatchInfo2D &viewBatchInfo, Material *material, unsigned indexStart, unsigned indexCount, unsigned vertexStart, unsigned vertexCount, float distance)
Add view batch.
Definition: Renderer2D.cpp:492
Urho3D::Technique::basePassIndex
static unsigned basePassIndex
Index for base pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:260
Urho3D::NavigationPathPoint::areaID_
unsigned char areaID_
Detour area ID.
Definition: NavigationMesh.h:88
Urho3D::Input::SetKey
void SetKey(Key key, Scancode scancode, bool newState)
Handle a key change.
Definition: Input.cpp:1774
Urho3D::ValueAnimation::GetKeyFrames
const Vector< VAnimKeyFrame > & GetKeyFrames() const
Return all key frames.
Definition: ValueAnimation.h:132
Urho3D::Renderer::GetFaceSelectCubeMap
TextureCube * GetFaceSelectCubeMap() const
Return the shadowed pointlight face selection cube map.
Definition: Renderer.h:373
Urho3D::Renderer::GetMobileShadowBiasMul
float GetMobileShadowBiasMul() const
Return shadow depth bias multiplier for mobile platforms.
Definition: Renderer.h:334
Urho3D::Material::auxViewFrameNumber_
unsigned auxViewFrameNumber_
Last auxiliary view rendered frame number.
Definition: Material.h:307
Urho3D::Image::height_
int height_
Height.
Definition: Image.h:218
Urho3D::ObjectFactory::ObjectFactory
ObjectFactory(Context *context)
Construct.
Definition: Object.h:203
Urho3D::Bone::nameHash_
StringHash nameHash_
Bone name hash.
Definition: Skeleton.h:62
Urho3D::ValueAnimation::GetEventFrames
void GetEventFrames(float beginTime, float endTime, PODVector< const VAnimEventFrame * > &eventFrames) const
Return all event frames between time.
Definition: ValueAnimation.cpp:361
Urho3D::File::Write
unsigned Write(const void *data, unsigned size) override
Write bytes to the file. Return number of bytes actually written.
Definition: File.cpp:315
Urho3D::RenderPathCommand::clearFlags_
ClearTargetFlags clearFlags_
Clear flags. Affects clear command only.
Definition: RenderPath.h:166
Urho3D::ParticleEffect2D::SetGravity
void SetGravity(const Vector2 &gravity)
Set gravity.
Definition: ParticleEffect2D.cpp:339
Urho3D::Matrix3::IsNaN
bool IsNaN() const
Return whether any element is NaN.
Definition: Matrix3.h:275
Urho3D::AttributeInfo::GetMetadata
T GetMetadata(const StringHash &key) const
Get attribute metadata of specified type.
Definition: Attribute.h:96
Urho3D::RigidBody2D::GetInertia
float GetInertia() const
Return inertia.
Definition: RigidBody2D.cpp:517
Urho3D::Text3D::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: Text3D.cpp:173
Urho3D::ColorFrame
Color animation frame definition.
Definition: ParticleEffect.h:44
Urho3D::Model::loadIBData_
Vector< IndexBufferDesc > loadIBData_
Index buffer data for asynchronous loading.
Definition: Model.h:228
Urho3D::SmoothStep
T SmoothStep(T lhs, T rhs, T t)
Smoothly damp between values.
Definition: MathDefs.h:132
Urho3D::Vector::Vector
Vector(const Vector< T > &vector)
Copy-construct from another vector.
Definition: Vector.h:77
Urho3D::ResourceCache::RemovePackageFile
void RemovePackageFile(PackageFile *package, bool releaseResources=true, bool forceRelease=false)
Remove a package file. Optionally release the resources loaded from it.
Definition: ResourceCache.cpp:209
Urho3D::LuaScript::HasEventHandler
bool HasEventHandler(const String &eventName) const override
Return whether has subscribed to an event.
Definition: LuaScript.cpp:227
Urho3D::Drawable::lodBias_
float lodBias_
LOD bias.
Definition: Drawable.h:377
Urho3D::UIElement::GetChildStaticCast
T * GetChildStaticCast(unsigned index) const
Template version of returning child element by index using static cast.
Definition: UIElement.h:829
Urho3D::Button::OnDragMove
void OnDragMove(const IntVector2 &position, const IntVector2 &screenPosition, const IntVector2 &deltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag motion.
Definition: Button.cpp:141
Urho3D::GeometryDesc
Description of a geometry for asynchronous loading.
Definition: Model.h:93
Urho3D::AnimationState
Animation instance.
Definition: AnimationState.h:71
Urho3D::Object::SendEvent
void SendEvent(StringHash eventType, Args... args)
Send event with variadic parameter pairs to all subscribers. The parameter pairs is a list of paramID...
Definition: Object.h:138
Urho3D::Drawable::SetBasePass
void SetBasePass(unsigned batchIndex)
Set base pass flag for a batch.
Definition: Drawable.h:248
Urho3D::ScrollView::SetViewPosition
void SetViewPosition(const IntVector2 &position)
Set view offset from the top-left corner.
Definition: ScrollView.cpp:301
Urho3D::Console::printing_
bool printing_
Flag when printing messages to prevent endless loop.
Definition: Console.h:189
Urho3D::ConstantBuffer::~ConstantBuffer
~ConstantBuffer() override
Destruct.
Definition: ConstantBuffer.cpp:40
Urho3D::Skeleton::GetRootBone
Bone * GetRootBone()
Return root bone.
Definition: Skeleton.cpp:148
Urho3D::View::materialQuality_
int materialQuality_
Material quality level.
Definition: View.h:360
Urho3D::Graphics::MarkFBODirty
void MarkFBODirty()
Mark the FBO needing an update. Used only on OpenGL.
Definition: OGLGraphics.cpp:2522
Urho3D::HashBase::head_
HashNodeBase * head_
List head node pointer.
Definition: HashBase.h:149
Urho3D::ParticleEffect::GetEmitterSize
const Vector3 & GetEmitterSize() const
Return emitter size.
Definition: ParticleEffect.h:254
Urho3D::HashSet::Iterator::Iterator
Iterator(Node *ptr)
Construct with a node pointer.
Definition: HashSet.h:70
Urho3D::RigidBody2D::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: RigidBody2D.cpp:587
Urho3D::SplinePath::IsFinished
bool IsFinished() const
Returns whether the movement along the SplinePath is complete.
Definition: SplinePath.h:99
Urho3D::UI::SetVertexData
void SetVertexData(VertexBuffer *dest, const PODVector< float > &vertexData)
Upload UI geometry into a vertex buffer.
Definition: UI.cpp:980
Urho3D::XMLElement::GetVariant
Variant GetVariant() const
Return a variant attribute, or empty if missing.
Definition: XMLElement.cpp:847
Urho3D::DropDownList::GetPlaceholder
UIElement * GetPlaceholder() const
Return selected item placeholder element.
Definition: DropDownList.h:88
Urho3D::BoundingBox::Define
void Define(const BoundingBox &box)
Define from another bounding box.
Definition: BoundingBox.h:144
Urho3D::Drawable::lightMask_
unsigned lightMask_
Light mask.
Definition: Drawable.h:355
Urho3D::Color::SaturationHSL
float SaturationHSL() const
Return saturation as defined for HSL.
Definition: Color.cpp:135
Urho3D::FlagSet::value_
Integer value_
Value.
Definition: FlagSet.h:236
Urho3D::ConstraintWeld2D::SetAnchor
void SetAnchor(const Vector2 &anchor)
Set anchor.
Definition: ConstraintWeld2D.cpp:56
Urho3D::View::ProcessLights
void ProcessLights()
Get lit geometries and shadowcasters for visible lights.
Definition: View.cpp:977
Urho3D::Text::wordWrap_
bool wordWrap_
Wordwrap mode.
Definition: Text.h:231
Urho3D::StringHash::StringHash
StringHash() noexcept
Construct with zero value.
Definition: StringHash.h:37
Urho3D::Drawable::lights_
PODVector< Light * > lights_
Per-pixel lights affecting this drawable.
Definition: Drawable.h:387
Urho3D::UI::RenderToTextureData::batches_
PODVector< UIBatch > batches_
UI rendering batches.
Definition: UI.h:255
Urho3D::SourceBatch::geometry_
Geometry * geometry_
Geometry.
Definition: Drawable.h:96
Urho3D::Light::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: Light.cpp:542
Urho3D::Drawable::OnWorldBoundingBoxUpdate
virtual void OnWorldBoundingBoxUpdate()=0
Recalculate the world-space bounding box.
Urho3D::LineEdit::GetCursor
BorderImage * GetCursor() const
Return cursor element.
Definition: LineEdit.h:117
Urho3D::TypeInfo::GetTypeName
const String & GetTypeName() const
Return type name.
Definition: Object.h:56
Urho3D::VertexBuffer::GetElements
const PODVector< VertexElement > & GetElements() const
Return vertex elements.
Definition: VertexBuffer.h:82
Urho3D::Drawable::LimitLights
void LimitLights()
Sort and limit per-pixel lights to maximum allowed. Convert extra lights into vertex lights.
Definition: Drawable.cpp:322
Urho3D::PhysicsWorld::maxSubSteps_
int maxSubSteps_
Maximum number of simulation substeps per frame. 0 (default) unlimited, or negative values for adapti...
Definition: PhysicsWorld.h:342
Urho3D::Plane::absNormal_
Vector3 absNormal_
Plane absolute normal.
Definition: Plane.h:120
Urho3D::ConstraintPrismatic2D::ConstraintPrismatic2D
ConstraintPrismatic2D(Context *context)
Construct.
Definition: ConstraintPrismatic2D.cpp:37
Urho3D::UI::fontHintLevel_
FontHintLevel fontHintLevel_
FreeType hinting level (default is FONT_HINT_LEVEL_NORMAL).
Definition: UI.h:407
Urho3D::SoundSource::timePosition_
volatile float timePosition_
Playback time position.
Definition: SoundSource.h:189
Urho3D::ConstantBuffer::Apply
void Apply()
Apply to GPU.
Definition: OGLConstantBuffer.cpp:89
Urho3D::UI::mouseButtons_
MouseButtonFlags mouseButtons_
Mouse buttons held down.
Definition: UI.h:385
Urho3D::VariantMap
HashMap< StringHash, Variant > VariantMap
Map of variants.
Definition: Variant.h:86
Urho3D::AM_EDIT
@ AM_EDIT
Attribute shown only in the editor, but not serialized.
Definition: Attribute.h:37
Urho3D::PerThreadSceneResult::maxZ_
float maxZ_
Scene maximum Z value.
Definition: View.h:104
Urho3D::Rect::Define
void Define(const Vector2 &min, const Vector2 &max)
Define from minimum and maximum vectors.
Definition: Rect.h:145
Urho3D::PhysicsWorld::fps_
unsigned fps_
Simulation substeps per second.
Definition: PhysicsWorld.h:340
Urho3D::Graphics::GetLuminanceAlphaFormat
static unsigned GetLuminanceAlphaFormat()
Return the API-specific luminance alpha texture format.
Definition: OGLGraphics.cpp:2569
Urho3D::StaticSprite2D::GetColor
const Color & GetColor() const
Return color.
Definition: StaticSprite2D.h:98
Urho3D::PListValue::SetValueVector
void SetValueVector(const PListValueVector &valueVector)
Set value vector.
Definition: PListFile.cpp:180
Urho3D::CrowdManager::GetObstacleAvoidanceParams
const CrowdObstacleAvoidanceParams & GetObstacleAvoidanceParams(unsigned obstacleAvoidanceType) const
Get the params for the specified obstacle avoidance type.
Definition: CrowdManager.cpp:541
Urho3D::StaticSprite2D::UpdateSourceBatches
void UpdateSourceBatches() override
Update source batches.
Definition: StaticSprite2D.cpp:295
Urho3D::CollisionEdge2D::RecreateFixture
void RecreateFixture()
Recreate fixture.
Definition: CollisionEdge2D.cpp:88
Urho3D::Sprite::GetScreenPosition
const IntVector2 & GetScreenPosition() const override
Update and return screen position.
Definition: Sprite.cpp:89
Urho3D::TerrainPatch::GetLodErrors
PODVector< float > & GetLodErrors()
Return geometrical error array.
Definition: TerrainPatch.h:101
Urho3D::RenderPathCommand::SetTextureName
void SetTextureName(TextureUnit unit, const String &name)
Set a texture resource name. Can also refer to a rendertarget defined in the rendering path.
Definition: RenderPath.cpp:236
Urho3D::ShaderVariation
Vertex or pixel shader on the GPU.
Definition: ShaderVariation.h:81
Urho3D::Matrix4::Transpose
Matrix4 Transpose() const
Return transposed.
Definition: Matrix4.h:581
Urho3D::StaticSprite2D::SetUseTextureRect
void SetUseTextureRect(bool useTextureRect)
Set whether to use custom-defined texture rectangle.
Definition: StaticSprite2D.cpp:199
Urho3D::ScreenModeParams::borderless_
bool borderless_
Whether to hide window borders. Window is always borderless in fullscreen.
Definition: Graphics.h:86
Urho3D::SharedPtr::SharedPtr
SharedPtr(SharedPtr< T > &&rhs) noexcept
Move-construct from another shared pointer.
Definition: Ptr.h:59
Urho3D::UI::SumTouchPositions
IntVector2 SumTouchPositions(UI::DragData *dragData, const IntVector2 &oldSendPos)
Sum touch positions and return the begin position ready to send.
Definition: UI.cpp:2137
Urho3D::IKEffector::GetTargetNode
Node * GetTargetNode() const
Retrieves the node that is being used as a target. Can be NULL.
Definition: IKEffector.cpp:78
Urho3D::SoundSource::frequency_
float frequency_
Frequency.
Definition: SoundSource.h:136
Urho3D::Text3D::textDirty_
bool textDirty_
Text needs update flag.
Definition: Text3D.h:210
Urho3D::StaticSprite2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable2D must be registered first.
Definition: StaticSprite2D.cpp:62
Urho3D::UIElement::GetLayoutSpacing
int GetLayoutSpacing() const
Return layout spacing.
Definition: UIElement.h:552
Urho3D::Graphics::GetWidth
int GetWidth() const
Return window width in pixels.
Definition: Graphics.h:345
Urho3D::OcclusionBuffer::SetCullMode
void SetCullMode(CullMode mode)
Set culling mode.
Definition: OcclusionBuffer.cpp:134
Urho3D::Window::IsModal
bool IsModal() const
Return modal flag.
Definition: Window.h:116
Urho3D::CollisionShape::SetCustomGImpactMesh
void SetCustomGImpactMesh(CustomGeometry *custom, const Vector3 &scale=Vector3::ONE, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a triangle mesh from CustomGeometry.
Definition: CollisionShape.cpp:701
Urho3D::Technique::SetIsDesktop
void SetIsDesktop(bool enable)
Set whether requires desktop level hardware.
Definition: Technique.cpp:361
Urho3D::Deserializer::ReadUByte
unsigned char ReadUByte()
Read an 8-bit unsigned integer.
Definition: Deserializer.cpp:112
Urho3D::Renderer::resetViews_
bool resetViews_
Flag for views needing reset.
Definition: Renderer.h:604
Urho3D::ResourceRef::ResourceRef
ResourceRef(StringHash type)
Construct with type only and empty id.
Definition: Variant.h:95
Urho3D::JoystickState::GetNumAxes
unsigned GetNumAxes() const
Return number of axes.
Definition: Input.h:91
Urho3D::Drawable::UpdateBatches
virtual void UpdateBatches(const FrameInfo &frame)
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: Drawable.cpp:134
Urho3D::FileSelector::pathEdit_
LineEdit * pathEdit_
Path editor.
Definition: FileSelector.h:157
Urho3D::Console::HandleRootElementResized
void HandleRootElementResized(StringHash eventType, VariantMap &eventData)
Handle UI root resize.
Definition: Console.cpp:525
Urho3D::Scene::fileName_
String fileName_
Source file name.
Definition: Scene.h:298
Urho3D::CollisionShape::recreateShape_
bool recreateShape_
Recreate collision shape flag.
Definition: CollisionShape.h:316
Urho3D::FontFace::GetKerning
float GetKerning(unsigned c, unsigned d) const
Return the kerning for a character and the next character.
Definition: FontFace.cpp:67
Urho3D::Light::GetBrightness
float GetBrightness() const
Return brightness multiplier. Specified in lumens when "use physical values" is enabled.
Definition: Light.h:244
Urho3D::RaycastVehicle::hullBody_
WeakPtr< RigidBody > hullBody_
Hull RigidBody.
Definition: RaycastVehicle.h:188
Urho3D::WString::Empty
bool Empty() const
Return whether the string is empty.
Definition: Str.h:613
Urho3D::UI::ProcessClickEnd
void ProcessClickEnd(const IntVector2 &windowCursorPos, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor, bool cursorVisible)
Handle button or touch end.
Definition: UI.cpp:1517
Urho3D::View::substituteRenderTarget_
RenderSurface * substituteRenderTarget_
Substitute rendertarget for deferred rendering. Allocated if necessary.
Definition: View.h:334
Urho3D::String::EndsWith
bool EndsWith(const String &str, bool caseSensitive=true) const
Return whether ends with a string.
Definition: Str.cpp:717
Urho3D::Node::HandleAttributeAnimationUpdate
void HandleAttributeAnimationUpdate(StringHash eventType, VariantMap &eventData)
Handle attribute animation update event.
Definition: Node.cpp:2261
Urho3D::VertexBuffer::HasElement
bool HasElement(VertexElementSemantic semantic, unsigned char index=0) const
Return whether has a specified element semantic.
Definition: VertexBuffer.h:91
Urho3D::Vector::operator[]
T & operator[](unsigned index)
Return element at index.
Definition: Vector.h:195
Urho3D::Polyhedron::Clear
void Clear()
Clear all faces.
Definition: Polyhedron.cpp:232
Urho3D::Technique::GetPasses
PODVector< Pass * > GetPasses() const
Return all passes.
Definition: Technique.cpp:483
Urho3D::Scene::requiredPackageFiles_
Vector< SharedPtr< PackageFile > > requiredPackageFiles_
Required package files for networking.
Definition: Scene.h:300
Urho3D::Terrain::SetOcclusionLodLevel
void SetOcclusionLodLevel(unsigned level)
Set LOD level used for terrain patch occlusion. By default (M_MAX_UNSIGNED) the coarsest....
Definition: Terrain.cpp:221
Urho3D::Material::SetVertexShaderDefines
void SetVertexShaderDefines(const String &defines)
Set additional vertex shader defines. Separate multiple defines with spaces. Setting defines at the m...
Definition: Material.cpp:935
Urho3D::ScenePassInfo::allowInstancing_
bool allowInstancing_
Allow instancing flag.
Definition: View.h:85
Urho3D::HashMap::Tail
Node * Tail() const
Return the tail node.
Definition: HashMap.h:626
Urho3D::XMLFile::PatchRemove
void PatchRemove(const pugi::xpath_node &original) const
Remove a node or attribute in the Patch.
Definition: XMLFile.cpp:262
Urho3D::Rect::Size
Vector2 Size() const
Return size.
Definition: Rect.h:203
Urho3D::Graphics::GetDisplayDPI
Vector3 GetDisplayDPI(int monitor=0) const
Return display dpi information: (hdpi, vdpi, ddpi). On failure returns zero vector.
Definition: Graphics.cpp:330
Urho3D::TypeInfo::IsTypeOf
bool IsTypeOf() const
Check current type is type of specified class type.
Definition: Object.h:51
Urho3D::CrowdAgent::CrowdAgent
CrowdAgent(Context *context)
Construct.
Definition: CrowdAgent.cpp:80
Urho3D::IntRect::Bottom
int Bottom() const
Return bottom coordinate.
Definition: Rect.h:458
Urho3D::ToolTip::altTargets_
Vector< WeakPtr< UIElement > > altTargets_
Alternative targets. Primarily targets parent.
Definition: ToolTip.h:63
Urho3D::Constraint::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: Constraint.cpp:126
Urho3D::ResourceRefList::type_
StringHash type_
Object type.
Definition: Variant.h:156
Urho3D::Scene::GetFreeComponentID
unsigned GetFreeComponentID(CreateMode mode)
Get free component ID, either non-local or local.
Definition: Scene.cpp:874
Urho3D::CollisionShape::size_
Vector3 size_
Shape size.
Definition: CollisionShape.h:306
Urho3D::RenderSurface::readOnlyView_
void * readOnlyView_
Direct3D11 read-only depth-stencil view. Present only on depth-stencil surfaces.
Definition: RenderSurface.h:142
Urho3D::Material::shaderParameters_
HashMap< StringHash, MaterialShaderParameter > shaderParameters_
Shader parameters.
Definition: Material.h:289
Urho3D::ParticleEmitter2D::ParticleEmitter2D
ParticleEmitter2D(Context *context)
Construct.
Definition: ParticleEmitter2D.cpp:45
Urho3D::Drawable2D::sourceBatches_
Vector< SourceBatch2D > sourceBatches_
Source batches.
Definition: Drawable2D.h:116
Urho3D::JSONValue::GetArray
const JSONArray & GetArray() const
Return JSON array value.
Definition: JSONValue.h:206
Urho3D::Light::SetShapeTextureAttr
void SetShapeTextureAttr(const ResourceRef &value)
Set shape texture attribute.
Definition: Light.cpp:526
Urho3D::Sprite::SetScale
void SetScale(const Vector2 &scale)
Set scale. Scale also affects child sprites.
Definition: Sprite.cpp:166
Urho3D::RigidBody::MarkBodyDirty
void MarkBodyDirty()
Mark body dirty.
Definition: RigidBody.h:266
Urho3D::Texture::GetMipsToSkip
int GetMipsToSkip(MaterialQuality quality) const
Return mip levels to skip on a quality setting when loading.
Definition: Texture.cpp:124
Urho3D::DynamicNavBuildData::DynamicNavBuildData
DynamicNavBuildData(dtTileCacheAlloc *allocator)
Constructor.
Definition: NavBuildData.cpp:68
Urho3D::Variant::Variant
Variant(const Quaternion &value)
Construct from a quaternion.
Definition: Variant.h:397
Urho3D::Sprite2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Sprite2D.cpp:49
Urho3D::View::drawShadows_
bool drawShadows_
Draw shadows flag.
Definition: View.h:372
Urho3D::Graphics::gl3Support
static bool gl3Support
OpenGL3 support flag.
Definition: Graphics.h:868
Urho3D::Vector::Vector
Vector(const std::initializer_list< T > &list)
Aggregate initialization constructor.
Definition: Vector.h:95
Urho3D::Node::SetTransform2D
void SetTransform2D(const Vector2 &position, float rotation)
Set both position and rotation in parent space as an atomic operation (for Urho2D).
Definition: Node.h:170
Urho3D::AnimationTrack::AnimationTrack
AnimationTrack()
Construct.
Definition: Animation.h:69
Urho3D::HashMap::FindNode
Node * FindNode(const T &key, unsigned hashKey, Node *&previous) const
Find a node and the previous node from the buckets. Do not call if the buckets have not been allocate...
Definition: HashMap.h:643
Urho3D::VertexBuffer::GetShadowData
unsigned char * GetShadowData() const
Return CPU memory shadow data.
Definition: VertexBuffer.h:106
Urho3D::Matrix4::SetScale
void SetScale(const Vector3 &scale)
Set scaling elements.
Definition: Matrix4.h:504
Urho3D::LuaScriptInstance::attributeInfos_
Vector< AttributeInfo > attributeInfos_
Attributes, including script object variables.
Definition: LuaScriptInstance.h:181
Urho3D::Window::modalShadeColor_
Color modalShadeColor_
Modal shade color, used when modal flag is set.
Definition: Window.h:163
Urho3D::XMLElement::RemoveChild
bool RemoveChild(const XMLElement &element)
Remove a child element. Return true if successful.
Definition: XMLElement.cpp:147
Urho3D::ScrollView::SetAutoDisableThreshold
void SetAutoDisableThreshold(float amount)
Set how much touch movement is needed to trigger child element disabling.
Definition: ScrollView.h:89
Urho3D::Graphics::depthStencil_
RenderSurface * depthStencil_
Depth-stencil surface in use.
Definition: Graphics.h:795
Urho3D::Drawable::~Drawable
~Drawable() override
Destruct.
Definition: Drawable.cpp:94
Urho3D::ParticleEffect2D::rotationEnd_
float rotationEnd_
Rotation end.
Definition: ParticleEffect2D.h:326
Urho3D::ConstraintRevolute2D::jointDef_
b2RevoluteJointDef jointDef_
Box2D joint def.
Definition: ConstraintRevolute2D.h:84
Urho3D::XMLElement::Select
XPathResultSet Select(const String &query, pugi::xpath_variable_set *variables=nullptr) const
Select elements/attributes using XPath query.
Definition: XMLElement.cpp:245
Urho3D::Input::GetKeyDown
bool GetKeyDown(Key key) const
Check if a key is held down.
Definition: Input.cpp:1334
Urho3D::Texture::mipsToSkip_
unsigned mipsToSkip_[MAX_TEXTURE_QUALITY_LEVELS]
Mip levels to skip when loading per texture quality setting.
Definition: Texture.h:231
Urho3D::TmxImageLayer2D
Tmx image layer.
Definition: TmxFile2D.h:130
Urho3D::Profiler::root_
ProfilerBlock * root_
Root profiling block.
Definition: Profiler.h:225
Urho3D::Matrix2::Matrix2
Matrix2(const float *data) noexcept
Construct from a float array.
Definition: Matrix2.h:57
Urho3D::SharedPtr::Get
T * Get() const
Return the raw pointer.
Definition: Ptr.h:208
Urho3D::VertexElement::perInstance_
bool perInstance_
Per-instance flag.
Definition: GraphicsDefs.h:218
Urho3D::Variant::Variant
Variant(const Rect &value)
Construct from a rect.
Definition: Variant.h:469
Urho3D::BackgroundLoader::backgroundLoadQueue_
HashMap< Pair< StringHash, StringHash >, BackgroundLoadItem > backgroundLoadQueue_
Resources that are queued for background loading.
Definition: BackgroundLoader.h:84
Urho3D::Viewport::GetDrawDebug
bool GetDrawDebug() const
Return whether to draw debug geometry.
Definition: Viewport.h:84
Urho3D::JSONValue::Get
const JSONValue & Get(const String &key) const
Return JSON value with key.
Definition: JSONValue.cpp:276
Urho3D::PhysicsRaycastResult
Physics raycast hit.
Definition: PhysicsWorld.h:60
Urho3D::IKSolver::ApplyOriginalPoseToScene
void ApplyOriginalPoseToScene()
Definition: IKSolver.cpp:441
Urho3D::BillboardSet::bufferSizeDirty_
bool bufferSizeDirty_
Buffers need resize flag.
Definition: BillboardSet.h:191
Urho3D::NavigationMesh::GetAgentMaxClimb
float GetAgentMaxClimb() const
Return navigation agent max vertical climb.
Definition: NavigationMesh.h:213
Urho3D::Renderer2D::CheckVisibility
bool CheckVisibility(Drawable2D *drawable) const
Check visibility.
Definition: Renderer2D.cpp:267
Urho3D::Vector4::ZERO
static const Vector4 ZERO
Zero vector.
Definition: Vector4.h:234
Urho3D::LuaFile::LoadChunk
bool LoadChunk(lua_State *luaState)
Load buffer as chunk. Return true if the resource is successfully loaded as a Lua function on top of ...
Definition: LuaFile.cpp:87
Urho3D::NavigationMesh::SetAgentMaxSlope
void SetAgentMaxSlope(float maxSlope)
Set navigation agent max slope.
Definition: NavigationMesh.cpp:269
Urho3D::NavigationMesh::SetCellSize
void SetCellSize(float size)
Set cell size.
Definition: NavigationMesh.cpp:234
Urho3D::FrameBufferObject::depthAttachment_
RenderSurface * depthAttachment_
Bound depth/stencil attachment.
Definition: OGLGraphicsImpl.h:91
Urho3D::Quaternion::Quaternion
Quaternion(float angle) noexcept
Construct from an angle (in degrees, for Urho2D).
Definition: Quaternion.h:102
Urho3D::StoredLogMessage::StoredLogMessage
StoredLogMessage(const String &message, int level, bool error)
Construct with parameters.
Definition: Log.h:57
Urho3D::RigidBody2D::RemoveConstraint2D
void RemoveConstraint2D(Constraint2D *constraint)
Remove constraint.
Definition: RigidBody2D.cpp:500
Urho3D::Window::~Window
~Window() override
Destruct.
Urho3D::ScrollBar::~ScrollBar
~ScrollBar() override
Destruct.
Urho3D::ParticleEffect2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable2D must be registered first.
Definition: ParticleEffect2D.cpp:109
Urho3D::RigidBody::SetPosition
void SetPosition(const Vector3 &position)
Set rigid body position in world space.
Definition: RigidBody.cpp:226
Urho3D::Cursor::shapeInfos_
HashMap< String, CursorShapeInfo > shapeInfos_
Shape definitions.
Definition: Cursor.h:140
Urho3D::ResourceCache::StoreResourceDependency
void StoreResourceDependency(Resource *resource, const String &dependency)
Store a dependency for a resource. If a dependency file changes, the resource will be reloaded.
Definition: ResourceCache.cpp:884
Urho3D::Graphics::GetDepthTest
CompareMode GetDepthTest() const
Return depth compare mode.
Definition: Graphics.h:519
Urho3D::BillboardSet::SetRelative
void SetRelative(bool enable)
Set whether billboards are relative to the scene node. Default true.
Definition: BillboardSet.cpp:290
Urho3D::Zone::SetFogHeightScale
void SetFogHeightScale(float scale)
Set fog height scale. Effective only in height fog mode.
Definition: Zone.cpp:142
Urho3D::Input::GetTouchIndexFromID
unsigned GetTouchIndexFromID(int touchID)
Get the index of a touch based on the touch ID.
Definition: Input.cpp:1681
Urho3D::PhysicsWorld2D::DrawDebugGeometry
void DrawDebugGeometry()
Add debug geometry to the debug renderer.
Definition: PhysicsWorld2D.cpp:335
Urho3D::FileSelector::titleText_
Text * titleText_
Window title text.
Definition: FileSelector.h:153
Urho3D::Frustum::Distance
float Distance(const Vector3 &point) const
Return distance of a point to the frustum, or 0 if inside.
Definition: Frustum.h:162
Urho3D::IndexBuffer::Create
bool Create()
Create buffer.
Definition: OGLIndexBuffer.cpp:226
Urho3D::View::nonThreadedGeometries_
PODVector< Drawable * > nonThreadedGeometries_
Geometry objects that will be updated in the main thread.
Definition: View.h:396
Urho3D::PListValue::SetInt
void SetInt(int value)
Set int.
Definition: PListFile.cpp:124
Urho3D::CrowdAgent::previousPosition_
Vector3 previousPosition_
Agent's previous position used to check for position changes.
Definition: CrowdAgent.h:232
Urho3D::ShaderVariation::GetParameters
const HashMap< StringHash, ShaderParameter > & GetParameters() const
Return all parameter definitions. Not applicable on OpenGL, where this information is contained in Sh...
Definition: ShaderVariation.h:120
Urho3D::Graphics::ResetCachedState
void ResetCachedState()
Reset cached rendering state.
Definition: OGLGraphics.cpp:3164
Urho3D::WString
Wide character string. Only meant for converting from String and passing to the operating system wher...
Definition: Str.h:571
Urho3D::Menu::GetAcceleratorQualifiers
int GetAcceleratorQualifiers() const
Return accelerator qualifiers.
Definition: Menu.h:84
Urho3D::JSONFile::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: JSONFile.cpp:114
Urho3D::PhysicsWorldConfig::collisionConfig_
btCollisionConfiguration * collisionConfig_
Override for the collision configuration (default btDefaultCollisionConfiguration).
Definition: PhysicsWorld.h:118
Urho3D::Context::GetTypeName
const String & GetTypeName(StringHash objectType) const
Return object type name from hash, or empty if unknown.
Definition: Context.cpp:382
Urho3D::FontFace::glyphMapping_
HashMap< unsigned, FontGlyph > glyphMapping_
Glyph mapping.
Definition: FontFace.h:106
Urho3D::SplinePath::UpdateNodeIds
void UpdateNodeIds()
Update the Node IDs of the Control Points.
Definition: SplinePath.cpp:327
Urho3D::ASYNC_LOADING
@ ASYNC_LOADING
In progress of calling BeginLoad() in a worker thread.
Definition: Resource.h:46
Urho3D::Geometry::vertexBuffers_
Vector< SharedPtr< VertexBuffer > > vertexBuffers_
Vertex buffers.
Definition: Geometry.h:117
Urho3D::Database::IsPooling
bool IsPooling() const
Return true when using internal database connection pool. The internal database pool is managed by th...
Definition: Database.h:59
Urho3D::Shader::vsVariations_
HashMap< StringHash, SharedPtr< ShaderVariation > > vsVariations_
Vertex shader variations.
Definition: Shader.h:75
Urho3D::ParticleEffect2D::rotatePerSecond_
float rotatePerSecond_
Rotate per second.
Definition: ParticleEffect2D.h:316
Urho3D::ListView::GetSelectedItems
PODVector< UIElement * > GetSelectedItems() const
Return all selected items.
Definition: ListView.cpp:897
Urho3D::JSONValue::Contains
bool Contains(const String &key) const
Return whether contains a pair with key.
Definition: JSONValue.cpp:296
Urho3D::Graphics::GetShaderProgram
ShaderProgram * GetShaderProgram() const
Return shader program. This is an API-specific class and should not be used by applications.
Definition: OGLGraphics.cpp:2152
Urho3D::AnimationSet2D::GetNumAnimations
unsigned GetNumAnimations() const
Get number of animations.
Definition: AnimationSet2D.cpp:156
Urho3D::Image::GetImageData
static unsigned char * GetImageData(Deserializer &source, int &width, int &height, unsigned &components)
Decode an image using stb_image.
Definition: Image.cpp:2339
Urho3D::Time::GetFrameNumber
unsigned GetFrameNumber() const
Return frame number, starting from 1 once BeginFrame() is called for the first time.
Definition: Timer.h:96
Urho3D::GetVariantType
VariantType GetVariantType()
Return variant type from type.
Urho3D::UIElement::IsInternal
bool IsInternal() const
Return whether is internally created.
Definition: UIElement.h:532
Urho3D::PhysicsWorld::convexCache_
CollisionGeometryDataCache convexCache_
Cache for convex geometry data by model and LOD level.
Definition: PhysicsWorld.h:330
Urho3D::View::usedResolve_
bool usedResolve_
Flag for scene being resolved from the backbuffer.
Definition: View.h:439
Urho3D::CursorShapeInfo::imageRect_
IntRect imageRect_
Image rectangle.
Definition: Cursor.h:82
Urho3D::VertexBuffer::SetData
bool SetData(const void *data)
Set all data in the buffer.
Definition: OGLVertexBuffer.cpp:81
Urho3D::Text3D::GetFontSize
float GetFontSize() const
Return font size.
Definition: Text3D.cpp:393
Urho3D::LineEdit::UpdateCursor
void UpdateCursor()
Update cursor position and restart cursor blinking.
Definition: LineEdit.cpp:592
Urho3D::Network::clientConnections_
HashMap< SLNet::AddressOrGUID, SharedPtr< Connection > > clientConnections_
Server's client connections.
Definition: Network.h:156
Urho3D::View::GetLights
const PODVector< Light * > & GetLights() const
Return lights.
Definition: View.h:169
Urho3D::RefCounted::refCount_
RefCount * refCount_
Pointer to the reference count structure.
Definition: RefCounted.h:86
Urho3D::Matrix4::Matrix4
Matrix4() noexcept
Construct an identity matrix.
Definition: Matrix4.h:42
Urho3D::Terrain::SetOcclusionLodLevelAttr
void SetOcclusionLodLevelAttr(unsigned value)
Set occlusion LOD level attribute.
Definition: Terrain.cpp:828
Urho3D::UIElement::DisableLayoutUpdate
void DisableLayoutUpdate()
Disable automatic layout update. Should only be used if there are performance problems.
Definition: UIElement.cpp:1207
Urho3D::Application::Application
Application(Context *context)
Construct. Parse default engine parameters from the command line, and create the engine in an uniniti...
Definition: Application.cpp:50
Urho3D::CrowdAgent::crowdManager_
WeakPtr< CrowdManager > crowdManager_
Crowd manager.
Definition: CrowdAgent.h:204
Urho3D::ObjectFactory::context_
Context * context_
Execution context.
Definition: Object.h:226
Urho3D::LinkedList::Next
T * Next(T *element) const
Return next element, or null if no more elements.
Definition: LinkedList.h:184
Urho3D::Material::GetPass
Pass * GetPass(unsigned index, const String &passName) const
Return pass by technique index and pass name.
Definition: Material.cpp:1191
Urho3D::UI::SetDragBeginInterval
void SetDragBeginInterval(float interval)
Set UI drag event start interval in seconds.
Definition: UI.cpp:649
Urho3D::TerrainPatch::west_
WeakPtr< TerrainPatch > west_
West neighbor patch.
Definition: TerrainPatch.h:132
Urho3D::Renderer::shadowCameraNodes_
Vector< SharedPtr< Node > > shadowCameraNodes_
Reusable scene nodes with shadow camera components.
Definition: Renderer.h:500
Urho3D::Texture::parametersDirty_
bool parametersDirty_
Parameters dirty flag.
Definition: Texture.h:239
Urho3D::ValueAnimation::interpolationMethod_
InterpMethod interpolationMethod_
Interpolation method.
Definition: ValueAnimation.h:153
Urho3D::Animatable::LoadJSON
bool LoadJSON(const JSONValue &source) override
Load from JSON data. Return true if successful.
Definition: Animatable.cpp:123
Urho3D::ConstraintMotor2D
2D motor constraint component.
Definition: ConstraintMotor2D.h:31
Urho3D::Renderer::textureQuality_
MaterialQuality textureQuality_
Texture quality level.
Definition: Renderer.h:542
Urho3D::ParticleEffect2D::GetAngle
float GetAngle() const
Return angle.
Definition: ParticleEffect2D.h:155
Urho3D::CollisionPolygon2D::SetVertices
void SetVertices(const PODVector< Vector2 > &vertices)
Set vertices.
Definition: CollisionPolygon2D.cpp:74
Urho3D::ScrollView::viewPosition_
IntVector2 viewPosition_
Current view offset from the top-left corner.
Definition: ScrollView.h:159
Urho3D::Serializable::SaveJSON
virtual bool SaveJSON(JSONValue &dest) const
Save as JSON data. Return true if successful.
Definition: Serializable.cpp:549
Urho3D::AnimatedModel::GetNumMorphs
unsigned GetNumMorphs() const
Return number of vertex morphs.
Definition: AnimatedModel.h:133
Urho3D::Serializable::SaveDefaultAttributes
virtual bool SaveDefaultAttributes() const
Return whether should save default-valued attributes into XML. Default false.
Definition: Serializable.h:79
Urho3D::EventHandlerImpl::Invoke
void Invoke(VariantMap &eventData) override
Invoke event handler function.
Definition: Object.h:312
Urho3D::View::forwardLightsCommand_
const RenderPathCommand * forwardLightsCommand_
Pointer to the forwardlights command if any.
Definition: View.h:435
Urho3D::ParticleEffect::GetMaxEmissionRate
float GetMaxEmissionRate() const
Return maximum emission rate.
Definition: ParticleEffect.h:278
Urho3D::ScrollView::touchDistanceSum_
float touchDistanceSum_
Distance moved with touch scrolling.
Definition: ScrollView.h:189
Urho3D::Quaternion::y_
float y_
Y coordinate.
Definition: Quaternion.h:465
Urho3D::RibbonTrail::tailColumn_
unsigned tailColumn_
Number of columns for every tails.
Definition: RibbonTrail.h:235
Urho3D::Pass::name_
String name_
Pass name.
Definition: Technique.h:186
Urho3D::AnimationTrack::GetKeyFrameIndex
bool GetKeyFrameIndex(float time, unsigned &index) const
Return keyframe index based on time and previous index. Return false if animation is empty.
Definition: Animation.cpp:92
Urho3D::Drawable::drawDistance_
float drawDistance_
Draw distance.
Definition: Drawable.h:367
Urho3D::PhysicsWorld2D::AddRigidBody
void AddRigidBody(RigidBody2D *rigidBody)
Add rigid body.
Definition: PhysicsWorld2D.cpp:430
Urho3D::BorderImage::SetImageBorder
void SetImageBorder(const IntRect &rect)
Set border dimensions on the image. If zero (default) uses the screen dimensions, resulting in pixel-...
Definition: BorderImage.cpp:105
Urho3D::Scene::snapThreshold_
float snapThreshold_
Motion smoothing snap threshold.
Definition: Scene.h:332
Urho3D::RandomNormal
float RandomNormal(float meanValue, float variance)
Return a random normal distributed number with the given mean value and variance.
Definition: MathDefs.h:299
Urho3D::ScrollView::Update
void Update(float timeStep) override
Perform UI element update.
Definition: ScrollView.cpp:110
Urho3D::Image::Clear
void Clear(const Color &color)
Clear the image with a color.
Definition: Image.cpp:1215
Urho3D::IndexBufferDesc::indexCount_
unsigned indexCount_
Index count.
Definition: Model.h:83
Urho3D::ShaderParameterGroup
ShaderParameterGroup
Shader parameter groups for determining need to update. On APIs that support constant buffers,...
Definition: GraphicsDefs.h:307
Urho3D::Terrain::GetMaxLodLevels
unsigned GetMaxLodLevels() const
Return maximum number of LOD levels for terrain patches. This can be between 1-4.
Definition: Terrain.h:117
Urho3D::SourceBatch2D::owner_
WeakPtr< Drawable2D > owner_
Owner.
Definition: Drawable2D.h:54
Urho3D::Model::GetGeometry
Geometry * GetGeometry(unsigned index, unsigned lodLevel) const
Return geometry by index and LOD level. The LOD level is clamped if out of range.
Definition: Model.cpp:741
Urho3D::Thread::IsMainThread
static bool IsMainThread()
Return whether is executing in the main thread.
Definition: Thread.cpp:150
Urho3D::Input::HandleSDLEvent
void HandleSDLEvent(void *sdlEvent)
Handle SDL event.
Definition: Input.cpp:1862
Urho3D::ScriptFile::AddScriptSection
bool AddScriptSection(asIScriptEngine *engine, Deserializer &source)
Add a script section, checking for includes recursively. Return true if successful.
Definition: ScriptFile.cpp:705
Urho3D::UI::nonModalBatchSize_
unsigned nonModalBatchSize_
Non-modal batch size (used internally for rendering).
Definition: UI.h:415
Urho3D::Constraint2D::Constraint2D
Constraint2D(Context *context)
Construct.
Definition: Constraint2D.cpp:41
Urho3D::Drawable::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: Drawable.cpp:360
Urho3D::PhysicsWorld2D::SetDrawJoint
void SetDrawJoint(bool drawJoint)
Set draw joint.
Definition: PhysicsWorld2D.cpp:356
Urho3D::ConstraintMotor2D::GetMaxForce
float GetMaxForce() const
Return max force.
Definition: ConstraintMotor2D.h:61
Urho3D::Rect::Define
void Define(const Vector2 &point)
Define from a point.
Definition: Rect.h:152
Urho3D::LinkedList::operator=
LinkedList< T > & operator=(const LinkedList< T > &list)=delete
Non-assignable.
Urho3D::SceneResolver::AddComponent
void AddComponent(unsigned oldID, Component *component)
Remember a created component.
Definition: SceneResolver.cpp:51
Urho3D::AnimationController::GetNodeAnimationStatesAttr
VariantVector GetNodeAnimationStatesAttr() const
Return node animation states attribute.
Definition: AnimationController.cpp:823
Urho3D::ConstraintWheel2D::GetDampingRatio
float GetDampingRatio() const
Return damping ratio.
Definition: ConstraintWheel2D.h:77
Urho3D::Connection::ProcessRemoteEvent
void ProcessRemoteEvent(int msgID, MemoryBuffer &msg)
Process a remote event message from the client or server. Called by Network.
Definition: Connection.cpp:1018
Urho3D::Input::AddScreenJoystick
SDL_JoystickID AddScreenJoystick(XMLFile *layoutFile=nullptr, XMLFile *styleFile=nullptr)
Add screen joystick.
Definition: Input.cpp:984
Urho3D::Serializer::WriteVariantData
bool WriteVariantData(const Variant &value)
Write a variant without the type information.
Definition: Serializer.cpp:247
Urho3D::Audio::SetMasterGain
void SetMasterGain(const String &type, float gain)
Set master gain on a specific sound type such as sound effects, music or voice.
Definition: Audio.cpp:162
Urho3D::OcclusionBuffer::scaleX_
float scaleX_
X scaling for viewport transform.
Definition: OcclusionBuffer.h:215
Urho3D::Animatable::SetAttributeAnimationSpeed
void SetAttributeAnimationSpeed(const String &name, float speed)
Set attribute animation speed.
Definition: Animatable.cpp:399
Urho3D::Material::SetUVTransform
void SetUVTransform(const Vector2 &offset, float rotation, const Vector2 &repeat)
Set texture coordinate transform.
Definition: Material.cpp:1043
Urho3D::Quaternion::PitchAngle
float PitchAngle() const
Return pitch angle in degrees.
Definition: Quaternion.cpp:214
Urho3D::Light::shadowFocus_
FocusParameters shadowFocus_
Shadow map focus parameters.
Definition: Light.h:361
Urho3D::Node::enabled_
bool enabled_
Enabled flag.
Definition: Node.h:673
Urho3D::Connection::ProcessControls
void ProcessControls(int msgID, MemoryBuffer &msg)
Process a Controls message from the client. Called by Network.
Definition: Connection.cpp:959
Urho3D::HiresTimer::HiresTimer
HiresTimer()
Construct. Get the starting high-resolution clock value.
Definition: Timer.cpp:215
Urho3D::RigidBody::setWorldTransform
void setWorldTransform(const btTransform &worldTrans) override
Update world transform from Bullet.
Definition: RigidBody.cpp:162
Urho3D::SpriteSheet2D::loadXMLFile_
SharedPtr< XMLFile > loadXMLFile_
XML file used while loading.
Definition: SpriteSheet2D.h:90
Urho3D::Material::GetLineAntiAlias
bool GetLineAntiAlias() const
Return whether line antialiasing is enabled.
Definition: Material.h:238
Urho3D::Application::Start
virtual void Start()
Setup after engine initialization and before running the main loop. Call ErrorExit() to terminate wit...
Definition: Application.h:47
Urho3D::Button::pressedOffset_
IntVector2 pressedOffset_
Pressed image offset.
Definition: Button.h:96
Urho3D::AnimationController::GetFadeTarget
float GetFadeTarget(const String &name) const
Return animation fade target weight.
Definition: AnimationController.cpp:539
Urho3D::Serializable::GetAttributes
virtual const Vector< AttributeInfo > * GetAttributes() const
Return attribute descriptions, or null if none defined.
Definition: Serializable.cpp:283
Urho3D::Terrain::GetShadowDistance
float GetShadowDistance() const
Return shadow draw distance.
Definition: Terrain.h:163
Urho3D::Serializable::SetTemporary
void SetTemporary(bool enable)
Set temporary flag. Temporary objects will not be saved.
Definition: Serializable.cpp:675
Urho3D::BoundingBox::Transform
void Transform(const Matrix3 &transform)
Transform with a 3x3 matrix.
Definition: BoundingBox.cpp:116
Urho3D::Graphics::stencilTestMode_
CompareMode stencilTestMode_
Stencil test compare mode.
Definition: Graphics.h:827
Urho3D::NetworkPriority::GetAlwaysUpdateOwner
bool GetAlwaysUpdateOwner() const
Return whether updates to owner should be sent always at full rate.
Definition: NetworkPriority.h:62
Urho3D::Sphere::GetPoint
Vector3 GetPoint(float theta, float phi) const
Return point on the sphere.
Definition: Sphere.h:199
Urho3D::Vector2::Normalize
void Normalize()
Normalize to unit length.
Definition: Vector2.h:289
Urho3D::HashSet::Insert
Iterator Insert(const T &key)
Insert a key. Return an iterator to it.
Definition: HashSet.h:287
Urho3D::Renderer::dynamicInstancing_
bool dynamicInstancing_
Dynamic instancing flag.
Definition: Renderer.h:594
Urho3D::Model::geometryBoneMappings_
Vector< PODVector< unsigned > > geometryBoneMappings_
Geometry bone mappings.
Definition: Model.h:216
Urho3D::String::SubstringUTF8
String SubstringUTF8(unsigned pos) const
Return a UTF8 substring from position to end.
Definition: Str.cpp:864
Urho3D::FlagSet::Test
bool Test(const Integer flags) const
Return true if specified bits are set.
Definition: FlagSet.h:220
Urho3D::Spriter::SpriteTimelineKey
Sprite timeline key.
Definition: SpriterData2D.h:292
Urho3D::DebugRenderer::Render
void Render()
Update vertex buffer and render all debug lines. The viewport and rendertarget should be set before.
Definition: DebugRenderer.cpp:488
Urho3D::AnimationController::SetStartBone
bool SetStartBone(const String &name, const String &startBoneName)
Set animation start bone. Return true on success.
Definition: AnimationController.cpp:311
Urho3D::CustomVariantValueTraits::ToString
static String ToString(const T &value)
Convert type to string.
Definition: Variant.h:221
Urho3D::IKSolver::SetAlgorithm
void SetAlgorithm(Algorithm algorithm)
Selects the solver algorithm. Default is FABRIK. Note that this may not be the most efficient algorit...
Definition: IKSolver.cpp:114
Urho3D::Graphics::SetColorWrite
void SetColorWrite(bool enable)
Set color write on/off.
Definition: OGLGraphics.cpp:1773
Urho3D::PackageFile::totalDataSize_
unsigned totalDataSize_
Total data size in the package using each entry's actual size if it is a compressed package file.
Definition: PackageFile.h:98
Urho3D::Light::SetUsePhysicalValues
void SetUsePhysicalValues(bool enable)
Set use physical light values.
Definition: Light.cpp:308
Urho3D::CollisionShape2D::GetMaskBits
int GetMaskBits() const
Return filter mask bits.
Definition: CollisionShape2D.h:77
Urho3D::Serializable::GetInterceptNetworkUpdate
bool GetInterceptNetworkUpdate(const String &attributeName) const
Return whether an attribute's network updates are being intercepted.
Definition: Serializable.cpp:1001
Urho3D::Text3D::SetWordwrap
void SetWordwrap(bool enable)
Set wordwrap. In wordwrap mode the text element will respect its current width. Otherwise it resizes ...
Definition: Text3D.cpp:268
Urho3D::Batch::instancingData_
void * instancingData_
Per-instance data. If not null, must contain enough data to fill instancing buffer.
Definition: Batch.h:96
Urho3D::Node::GetWorldTransform
const Matrix3x4 & GetWorldTransform() const
Return world space transform matrix.
Definition: Node.h:484
Urho3D::LM_FORCE_LOOPED
@ LM_FORCE_LOOPED
Force looped.
Definition: AnimatedSprite2D.h:44
Urho3D::PhysicsWorld2D::~PhysicsWorld2D
~PhysicsWorld2D() override
Destruct.
Definition: PhysicsWorld2D.cpp:66
Urho3D::Constraint2D::GetOwnerBody
RigidBody2D * GetOwnerBody() const
Return owner body.
Definition: Constraint2D.h:65
Urho3D::Quaternion::FromAxes
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
Define from orthonormal axes.
Definition: Quaternion.cpp:95
Urho3D::Texture::GetDataSize
unsigned GetDataSize(int width, int height) const
Return data size in bytes for a rectangular region.
Definition: Texture.cpp:150
Urho3D::WorkQueue::RemoveWorkItems
unsigned RemoveWorkItems(const Vector< SharedPtr< WorkItem > > &items)
Remove a number of work items before they have started executing. Return the number of items successf...
Definition: WorkQueue.cpp:197
Urho3D::StaticModelGroup::StaticModelGroup
StaticModelGroup(Context *context)
Construct.
Definition: StaticModelGroup.cpp:49
Urho3D::ListView::ListView
ListView(Context *context)
Construct.
Definition: ListView.cpp:167
Urho3D::Engine::Initialize
bool Initialize(const VariantMap &parameters)
Initialize engine using parameters given and show the application window. Return true if successful.
Definition: Engine.cpp:163
Urho3D::Pass::pixelShaderName_
String pixelShaderName_
Pixel shader name.
Definition: Technique.h:168
Urho3D::Geometry::GetVertexStart
unsigned GetVertexStart() const
Return first used vertex.
Definition: Geometry.h:92
Urho3D::ScrollView::GetScrollStep
float GetScrollStep() const
Return arrow key scroll step.
Definition: ScrollView.cpp:368
Urho3D::ListView::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: ListView.cpp:936
Urho3D::ShadowBatchQueue::nearSplit_
float nearSplit_
Directional light cascade near split distance.
Definition: Batch.h:286
Urho3D::ResourceWithMetadata::ResourceWithMetadata
ResourceWithMetadata(Context *context)
Construct.
Definition: Resource.h:120
Urho3D::Component::Component
Component(Context *context)
Construct.
Definition: Component.cpp:54
Urho3D::CustomGeometry::MakeShape
void MakeShape(const Vector< Urho3D::Vector3 > &pointList, bool connectTail=true)
Draws a shape generated by connecting the points in the input vector (the end point will connect to t...
Definition: CustomGeometry.cpp:280
Urho3D::UIElement::ElementToScreen
virtual IntVector2 ElementToScreen(const IntVector2 &position)
Convert element coordinates to screen coordinates.
Definition: UIElement.cpp:467
Urho3D::VertexBuffer::lockState_
LockState lockState_
Buffer locking state.
Definition: VertexBuffer.h:160
Urho3D::Frustum::DefineSplit
void DefineSplit(const Matrix4 &projection, float near, float far)
Define a split (limited) frustum from a projection matrix, with near & far distances specified.
Definition: Frustum.cpp:151
Urho3D::PhysicsWorld::scene_
WeakPtr< Scene > scene_
Extra weak pointer to scene to allow for cleanup in case the world is destroyed before other componen...
Definition: PhysicsWorld.h:314
Urho3D::Material::SetShaderParameterAnimation
void SetShaderParameterAnimation(const String &name, ValueAnimation *animation, WrapMode wrapMode=WM_LOOP, float speed=1.0f)
Set shader parameter animation.
Definition: Material.cpp:984
Urho3D::Variant::GetCustomPtr
T * GetCustomPtr()
Return a pointer to a modifiable custom variant value or null on type mismatch.
Definition: Variant.h:1363
Urho3D::UIElement::minOffset_
IntVector2 minOffset_
Minimum offset.
Definition: UIElement.h:783
Urho3D::Component::HandleAttributeAnimationUpdate
void HandleAttributeAnimationUpdate(StringHash eventType, VariantMap &eventData)
Handle scene attribute animation update event.
Definition: Component.cpp:283
Urho3D::Node::GetVars
const VariantMap & GetVars() const
Return all user variables.
Definition: Node.h:560
Urho3D::Texture::GetShaderResourceView
void * GetShaderResourceView() const
Return shader resource view. Only used on Direct3D11.
Definition: Texture.h:157
Urho3D::FloatToRawIntBits
unsigned FloatToRawIntBits(float value)
Return a representation of the specified floating-point value as a single format bit layout.
Definition: MathDefs.h:106
Urho3D::ObjectFactory::GetContext
Context * GetContext() const
Return execution context.
Definition: Object.h:213
Urho3D::ConstraintWheel2D::jointDef_
b2WheelJointDef jointDef_
Box2D joint def.
Definition: ConstraintWheel2D.h:84
Urho3D::UIElement::defaultStyle_
SharedPtr< XMLFile > defaultStyle_
Default style file.
Definition: UIElement.h:811
Urho3D::UIElement::SetChildOffset
void SetChildOffset(const IntVector2 &offset)
Set child offset.
Definition: UIElement.cpp:1800
Urho3D::XMLElement::SetVector2
bool SetVector2(const String &name, const Vector2 &value)
Set a Vector2 attribute.
Definition: XMLElement.cpp:523
Urho3D::Spriter::ObjectType
ObjectType
Object type.
Definition: SpriterData2D.h:193
Urho3D::AnimationTrack
Skeletal animation track, stores keyframes of a single bone.
Definition: Animation.h:66
Urho3D::Texture::GetShadowCompare
bool GetShadowCompare() const
Return whether shadow compare is enabled. Not used on Direct3D9.
Definition: Texture.h:100
Urho3D::Spriter::MainlineKey
Mainline key.
Definition: SpriterData2D.h:163
Urho3D::UIElement::RemoveAllTags
void RemoveAllTags()
Remove all tags.
Definition: UIElement.cpp:1490
Urho3D::Node::AddTag
void AddTag(const String &tag)
Add a tag.
Definition: Node.cpp:352
Urho3D::XMLElement::RemoveChildren
bool RemoveChildren(const String &name=String::EMPTY)
Remove child elements of certain name, or all child elements if name is empty. Return true if success...
Definition: XMLElement.cpp:171
Urho3D::CollisionShape::UpdateShape
void UpdateShape()
Update the collision shape after attribute changes.
Definition: CollisionShape.cpp:1001
Urho3D::ListBase::head_
ListNodeBase * head_
Head node pointer.
Definition: ListBase.h:116
Urho3D::Terrain::HeightMapToWorld
Vector3 HeightMapToWorld(const IntVector2 &pixelPosition) const
Convert heightmap pixel position to world position.
Definition: Terrain.cpp:636
Urho3D::SharedArrayPtr::SharedArrayPtr
SharedArrayPtr(T *ptr)
Construct from a raw pointer.
Definition: ArrayPtr.h:53
Urho3D::DebugRenderer::AddTriangleMesh
void AddTriangleMesh(const void *vertexData, unsigned vertexSize, const void *indexData, unsigned indexSize, unsigned indexStart, unsigned indexCount, const Matrix3x4 &transform, const Color &color, bool depthTest=true)
Add a triangle mesh.
Definition: DebugRenderer.cpp:388
Urho3D::String::ToUpper
String ToUpper() const
Return string in uppercase.
Definition: Str.cpp:552
Urho3D::NavigationMesh::BuildTile
virtual bool BuildTile(Vector< NavigationGeometryInfo > &geometryList, int x, int z)
Build one tile of the navigation mesh. Return true if successful.
Definition: NavigationMesh.cpp:1302
Urho3D::ConstantBuffer::Release
void Release() override
Release the buffer.
Definition: OGLConstantBuffer.cpp:35
Urho3D::RenderSurface::RenderSurface
RenderSurface(Texture *parentTexture)
Construct with parent texture.
Definition: OGLRenderSurface.cpp:45
Urho3D::HeightfieldData::spacing_
Vector3 spacing_
Vertex spacing.
Definition: CollisionShape.h:133
Urho3D::LuaScriptEventListener
Lua script event listener.
Definition: LuaScriptEventListener.h:31
Urho3D::ConstantBuffer::GetSize
unsigned GetSize() const
Return size.
Definition: ConstantBuffer.h:59
Urho3D::UI::Initialize
void Initialize()
Initialize when screen mode initially set.
Definition: UI.cpp:938
Urho3D::GlyphLocation::y_
float y_
Y coordinate.
Definition: Text.h:69
Urho3D::OcclusionBatch::indexData_
const void * indexData_
Index data pointer. Null if using non-indexed geometry.
Definition: OcclusionBuffer.h:74
Urho3D::Renderer2D::~Renderer2D
~Renderer2D() override
Destruct.
Urho3D::LineEdit::SetTextCopyable
void SetTextCopyable(bool enable)
Set whether copy-paste operations are allowed, default true.
Definition: LineEdit.cpp:532
Urho3D::SpriteSheet2D::spriteMapping_
HashMap< String, SharedPtr< Sprite2D > > spriteMapping_
Sprite mapping.
Definition: SpriteSheet2D.h:86
Urho3D::BoundingBox::BoundingBox
BoundingBox(const Vector3 *vertices, unsigned count)
Construct from an array of vertices.
Definition: BoundingBox.h:90
Urho3D::Skybox::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: Skybox.cpp:80
Urho3D::Thread
Operating system thread.
Definition: Thread.h:42
Urho3D::DynamicNavigationMesh::SetDrawObstacles
void SetDrawObstacles(bool enable)
Draw debug geometry for Obstacles.
Definition: DynamicNavigationMesh.h:96
Urho3D::VectorBuffer::Write
unsigned Write(const void *data, unsigned size) override
Write bytes to the buffer. Return number of bytes actually written.
Definition: VectorBuffer.cpp:72
Urho3D::CustomVariantValueTraits::IsZero
static bool IsZero(const T &value)
Check whether the value is zero.
Definition: Variant.h:219
Urho3D::String::capacity_
unsigned capacity_
Capacity, zero if buffer not allocated.
Definition: Str.h:546
Urho3D::Component::IsReplicated
bool IsReplicated() const
Return whether the component is replicated or local to a scene.
Definition: Component.cpp:150
Urho3D::FileWatcher::StopWatching
void StopWatching()
Stop watching the directory.
Definition: FileWatcher.cpp:191
Urho3D::ResourceCache::ResetDependencies
void ResetDependencies(Resource *resource)
Reset dependencies for a resource.
Definition: ResourceCache.cpp:896
Urho3D::Graphics::GetStencilTestMode
CompareMode GetStencilTestMode() const
Return stencil compare mode.
Definition: Graphics.h:540
Urho3D::UIElement::layoutSpacing_
int layoutSpacing_
Layout spacing.
Definition: UIElement.h:722
Urho3D::CollisionPolygon2D::RecreateFixture
void RecreateFixture()
Recreate fixture.
Definition: CollisionPolygon2D.cpp:111
Urho3D::Node::SetScale2D
void SetScale2D(const Vector2 &scale)
Set scale in parent space (for Urho2D).
Definition: Node.h:155
Urho3D::IntVector3::IntVector3
IntVector3(const int *data) noexcept
Construct from an int array.
Definition: Vector3.h:52
Urho3D::Input::SaveGestures
bool SaveGestures(Serializer &dest)
Save all in-memory touch gestures. Return true if successful.
Definition: Input.cpp:1226
Urho3D::DecalSet::skinned_
bool skinned_
Skinned mode flag.
Definition: DecalSet.h:241
Urho3D::Context::GetEventReceivers
EventReceiverGroup * GetEventReceivers(Object *sender, StringHash eventType)
Return event receivers for a sender and event type, or null if they do not exist.
Definition: Context.h:187
Urho3D::Obstacle::OnSetEnabled
void OnSetEnabled() override
Update the owning mesh when enabled status has changed.
Definition: Obstacle.cpp:62
Urho3D::Input::touchIDMap_
HashMap< int, int > touchIDMap_
Mapping of touch indices.
Definition: Input.h:378
Urho3D::Viewport::SetDrawDebug
void SetDrawDebug(bool enable)
Set whether to render debug geometry. Default true.
Definition: Viewport.cpp:89
Urho3D::CollisionShape::UpdateCachedGeometryShape
void UpdateCachedGeometryShape(CollisionGeometryDataCache &cache)
Update cached geometry collision shape.
Definition: CollisionShape.cpp:1098
Urho3D::CustomGeometry::Commit
void Commit()
Update vertex buffer and calculate the bounding box. Call after finishing defining geometry.
Definition: CustomGeometry.cpp:612
Urho3D::ProgressBar::loadingPercentStyle_
String loadingPercentStyle_
ProgressBar text style.
Definition: ProgressBar.h:100
Urho3D::Audio::masterGain_
HashMap< StringHash, Variant > masterGain_
Master gain by sound source type.
Definition: Audio.h:145
Urho3D::PhysicsWorld2D::ContactInfo::Serialize
const PODVector< unsigned char > & Serialize(VectorBuffer &buffer) const
Write contact info to buffer.
Definition: PhysicsWorld2D.cpp:849
Urho3D::Drawable2D::GetLayer
int GetLayer() const
Return layer.
Definition: Drawable2D.h:90
Urho3D::Serializable::instanceDefaultValues_
UniquePtr< VariantMap > instanceDefaultValues_
Attribute default value at each instance level.
Definition: Serializable.h:144
Urho3D::XMLFile::ToString
String ToString(const String &indentation="\t") const
Serialize the XML content to a string.
Definition: XMLFile.cpp:183
Urho3D::Variant::GetIntVector3
const IntVector3 & GetIntVector3() const
Return an IntVector3 or empty on type mismatch.
Definition: Variant.h:1262
Urho3D::LogicComponent::delayedStartCalled_
bool delayedStartCalled_
Flag for delayed start.
Definition: LogicComponent.h:112
Urho3D::Camera::WorldToScreenPoint
Vector2 WorldToScreenPoint(const Vector3 &worldPos) const
Convert a world space point to normalized screen coordinates (0 - 1).
Definition: Camera.cpp:410
Urho3D::ScriptInstance::ReleaseObject
void ReleaseObject()
Release the script object.
Definition: ScriptInstance.cpp:587
Urho3D::Graphics::ResetRenderTarget
void ResetRenderTarget(unsigned index)
Reset specific rendertarget.
Definition: OGLGraphics.cpp:1621
Urho3D::CollisionChain2D::GetVerticesAttr
PODVector< unsigned char > GetVerticesAttr() const
Return vertices attribute.
Definition: CollisionChain2D.cpp:109
Urho3D::JSONObject
HashMap< String, JSONValue > JSONObject
JSON object type.
Definition: JSONValue.h:67
Urho3D::Light::GetUsePhysicalValues
bool GetUsePhysicalValues() const
Return if light uses temperature and brightness in lumens.
Definition: Light.h:235
Urho3D::ParticleEffect2D::SetTangentialAcceleration
void SetTangentialAcceleration(float tangentialAcceleration)
Set tangential acceleration.
Definition: ParticleEffect2D.cpp:349
Urho3D::DebugRenderer::AddTriangle
void AddTriangle(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3, const Color &color, bool depthTest=true)
Add a solid triangle.
Definition: DebugRenderer.cpp:103
Urho3D::EventHandlerImpl::Clone
EventHandler * Clone() const override
Return a unique copy of the event handler.
Definition: Object.h:319
Urho3D::IKEffector::GetFeature
bool GetFeature(Feature feature) const
Test if a certain feature is enabled (see IKEffector::Feature).
Definition: IKEffector.cpp:241
Urho3D::LogicComponent::LogicComponent
LogicComponent(Context *context)
Construct.
Definition: LogicComponent.cpp:36
Urho3D::RaycastVehicle
Definition: RaycastVehicle.h:33
Urho3D::Color::Hue
float Hue() const
Return hue mapped to range [0, 1.0).
Definition: Color.cpp:127
Urho3D::RibbonTrail::animationLodTimer_
float animationLodTimer_
Animation LOD timer.
Definition: RibbonTrail.h:186
Urho3D::Spriter::SpriterInstance::OnSetEntity
void OnSetEntity(Entity *entity)
Handle set entity.
Definition: SpriterInstance2D.cpp:171
Urho3D::NavigationMesh::AddTile
virtual bool AddTile(const PODVector< unsigned char > &tileData)
Add tile to navigation mesh.
Definition: NavigationMesh.cpp:531
Urho3D::Color::Chroma
float Chroma() const
Return the colorfulness relative to the brightness of a similarly illuminated white.
Definition: Color.cpp:119
Urho3D::JSONValue::GetString
const String & GetString(const String &defaultValue=String::EMPTY) const
Return string value. The 'defaultValue' may potentially be returned as is, so it is the responsibilit...
Definition: JSONValue.h:202
Urho3D::RigidBody::IsActive
bool IsActive() const
Return whether rigid body is active (not sleeping).
Definition: RigidBody.cpp:698
Urho3D::RayQueryResult::distance_
float distance_
Distance from ray origin.
Definition: OctreeQuery.h:213
Urho3D::AnimationState::GetTime
float GetTime() const
Return time position.
Definition: AnimationState.h:139
Urho3D::ConstraintPrismatic2D::SetMaxMotorForce
void SetMaxMotorForce(float maxMotorForce)
Set maxmotor force.
Definition: ConstraintPrismatic2D.cpp:144
Urho3D::XMLElement::GetVectorVariant
Variant GetVectorVariant(const String &name) const
Return a float, Vector or Matrix attribute as Variant.
Definition: XMLElement.cpp:970
Urho3D::CrowdManager::GetMaxAgents
unsigned GetMaxAgents() const
Get the maximum number of agents.
Definition: CrowdManager.h:123
Urho3D::Variant::Variant
Variant(const VariantMap &value)
Construct from a variant map.
Definition: Variant.h:457
Urho3D::Terrain::neighborsDirty_
bool neighborsDirty_
Terrain neighbor attributes dirty flag.
Definition: Terrain.h:327
Urho3D::ScriptInstance::GetClassName
const String & GetClassName() const
Return class name.
Definition: ScriptInstance.h:127
Urho3D::Graphics::secondaryWindowMode_
WindowModeParams secondaryWindowMode_
Secondary window mode to be applied on Graphics::ToggleFullscreen.
Definition: Graphics.h:723
Urho3D::PhysicsWorld::constraints_
PODVector< Constraint * > constraints_
Constraints in the world.
Definition: PhysicsWorld.h:320
Urho3D::List::~List
~List()
Destruct.
Definition: List.h:200
Urho3D::ConstraintPrismatic2D::axis_
Vector2 axis_
Axis.
Definition: ConstraintPrismatic2D.h:93
Urho3D::View::graphics_
WeakPtr< Graphics > graphics_
Graphics subsystem.
Definition: View.h:312
Urho3D::Animation::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: Animation.cpp:229
Urho3D::RigidBody::constraints_
PODVector< Constraint * > constraints_
Constraints that refer to this rigid body.
Definition: RigidBody.h:279
Urho3D::Model::geometryCenters_
PODVector< Vector3 > geometryCenters_
Geometry centers.
Definition: Model.h:218
Urho3D::Variant::GetCustomVariantValuePtr
const CustomVariantValue * GetCustomVariantValuePtr() const
Return const pointer to custom variant value.
Definition: Variant.h:1298
Urho3D::OggVorbisSoundStream::data_
SharedArrayPtr< signed char > data_
Compressed sound data.
Definition: OggVorbisSoundStream.h:52
Urho3D::Engine::timeStep_
float timeStep_
Next frame timestep in seconds.
Definition: Engine.h:134
Urho3D::Scene::GetNodesWithTag
bool GetNodesWithTag(PODVector< Node * > &dest, const String &tag) const
Get nodes with specific tag from the whole scene, return false if empty.
Definition: Scene.cpp:720
Urho3D::ParticleEffect::GetMaxRotationSpeed
float GetMaxRotationSpeed() const
Return particle maximum rotation speed.
Definition: ParticleEffect.h:308
Urho3D::ParticleEffect2D::gravity_
Vector2 gravity_
Gravity.
Definition: ParticleEffect2D.h:276
Urho3D::RenderSurface::GetParentTexture
Texture * GetParentTexture() const
Return parent texture.
Definition: RenderSurface.h:102
Urho3D::ListNodeBase::next_
ListNodeBase * next_
Next node.
Definition: ListBase.h:50
Urho3D::Camera::GetFillMode
FillMode GetFillMode() const
Return fill mode.
Definition: Camera.h:137
Urho3D::ResourceCache::resourceMutex_
Mutex resourceMutex_
Mutex for thread-safe access to the resource directories, resource packages and resource dependencies...
Definition: ResourceCache.h:232
Urho3D::RaycastVehicle::GetMaxSideSlipSpeed
float GetMaxSideSlipSpeed() const
Get side speed which is considered sliding.
Definition: RaycastVehicle.cpp:363
Urho3D::ParticleEffect2D::GetRadialAccelVariance
float GetRadialAccelVariance() const
Return radial acceleration variance.
Definition: ParticleEffect2D.h:170
Urho3D::Sound::LoadWav
bool LoadWav(Deserializer &source)
Load WAV format sound data.
Definition: Sound.cpp:134
Urho3D::PhysicsWorld2D::GetWorld
b2World * GetWorld()
Return the Box2D physics world.
Definition: PhysicsWorld2D.h:200
Urho3D::Bone::parentIndex_
unsigned parentIndex_
Parent bone index.
Definition: Skeleton.h:64
Urho3D::Log::SetTimeStamp
void SetTimeStamp(bool enable)
Set whether to timestamp log messages.
Definition: Log.cpp:128
Urho3D::SoundSource3D::SetAngleAttenuation
void SetAngleAttenuation(float innerAngle, float outerAngle)
Set angle attenuation parameters.
Definition: SoundSource3D.cpp:112
Urho3D::Color
RGBA color.
Definition: Color.h:33
Urho3D::Mutex::~Mutex
~Mutex()
Destruct.
Definition: Mutex.cpp:81
Urho3D::Profiler::BeginBlock
void BeginBlock(const char *name)
Begin timing a profiling block.
Definition: Profiler.h:183
Urho3D::HashSet::End
ConstIterator End() const
Return iterator to the end.
Definition: HashSet.h:510
Urho3D::ViewBatchInfo2D::sourceBatches_
PODVector< const SourceBatch2D * > sourceBatches_
Source batches.
Definition: Renderer2D.h:56
Urho3D::SplinePath::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: SplinePath.cpp:55
Urho3D::Graphics::indexBuffer_
IndexBuffer * indexBuffer_
Index buffer in use.
Definition: Graphics.h:779
Urho3D::HashSet::Iterator::operator*
const T & operator*() const
Dereference the key.
Definition: HashSet.h:109
Urho3D::RigidBody::lastPosition_
Vector3 lastPosition_
Last interpolated position from the simulation.
Definition: RigidBody.h:295
Urho3D::Light::SetBrightness
void SetBrightness(float brightness)
Set light brightness multiplier. Both the color and specular intensity are multiplied with this....
Definition: Light.cpp:320
Urho3D::HashMap::Iterator::operator->
KeyValue * operator->() const
Point to the pair.
Definition: HashMap.h:149
Urho3D::UI::Update
void Update(float timeStep)
Update the UI logic. Called by HandlePostUpdate().
Definition: UI.cpp:317
Urho3D::Technique::~Technique
~Technique() override
Destruct.
Urho3D::Geometry::GetIndexStart
unsigned GetIndexStart() const
Return start index.
Definition: Geometry.h:86
Urho3D::UI::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, UIElement *element, IntRect currentScissor)
Generate batches from an UI element recursively. Skip the cursor element.
Definition: UI.cpp:1168
Urho3D::UIElement::parent_
UIElement * parent_
Parent element.
Definition: UIElement.h:682
Urho3D::Octant::GetDrawablesOnlyInternal
void GetDrawablesOnlyInternal(RayOctreeQuery &query, PODVector< Drawable * > &drawables) const
Return drawable objects only for a threaded ray query, called internally.
Definition: Octree.cpp:284
Urho3D::Renderer::screenBufferAllocations_
HashMap< unsigned long long, unsigned > screenBufferAllocations_
Current screen buffer allocations by resolution and format.
Definition: Renderer.h:516
Urho3D::Constraint
Physics constraint component. Connects two rigid bodies together, or one rigid body to a static point...
Definition: Constraint.h:48
Urho3D::XMLFile::XMLFile
XMLFile(Context *context)
Construct.
Definition: XMLFile.cpp:66
Urho3D::Plane::Plane
Plane() noexcept
Construct a degenerate plane with zero normal and parameter.
Definition: Plane.h:35
Urho3D::Spriter::SpatialInfo
Spatial info.
Definition: SpriterData2D.h:245
Urho3D::SMOOTH_ROTATION
@ SMOOTH_ROTATION
Ongoing rotation smoothing.
Definition: SmoothedTransform.h:39
Urho3D::Graphics::GetOrCreateConstantBuffer
ConstantBuffer * GetOrCreateConstantBuffer(ShaderType type, unsigned index, unsigned size)
Get or create a constant buffer. Will be shared between shaders if possible.
Definition: OGLGraphics.cpp:2336
Urho3D::Graphics::Restore
void Restore()
Restore GPU objects and reinitialize state. Requires an open window. Used only on OpenGL.
Definition: OGLGraphics.cpp:2415
Urho3D::Deserializer::ReadBoundingBox
BoundingBox ReadBoundingBox()
Read a bounding box.
Definition: Deserializer.cpp:240
Urho3D::AnimationController::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: AnimationController.cpp:63
Urho3D::Renderer::CreateGeometries
void CreateGeometries()
Create light volume geometries.
Definition: Renderer.cpp:1766
Urho3D::LockState
LockState
Vertex/index buffer lock state.
Definition: GraphicsDefs.h:125
Urho3D::Batch::Prepare
void Prepare(View *view, Camera *camera, bool setModelTransform, bool allowDepthWrite) const
Prepare for rendering.
Definition: Batch.cpp:178
Urho3D::VertexBuffer::Unlock
void Unlock()
Unlock the buffer and apply changes to the GPU buffer.
Definition: OGLVertexBuffer.cpp:207
Urho3D::ParticleEffect2D::sprite_
SharedPtr< Sprite2D > sprite_
Sprite.
Definition: ParticleEffect2D.h:260
Urho3D::Light::GetFov
float GetFov() const
Return spotlight field of view.
Definition: Light.h:256
Urho3D::Scene::MarkNetworkUpdate
void MarkNetworkUpdate() override
Mark for attribute check on the next network update.
Definition: Scene.cpp:199
Urho3D::Connection::tempPacketCounter_
IntVector2 tempPacketCounter_
Temporary variable to hold packet count in the next second, x - packets in, y - packets out.
Definition: Connection.h:341
Urho3D::Renderer::SetMaterialQuality
void SetMaterialQuality(MaterialQuality quality)
Set material quality level. See the QUALITY constants in GraphicsDefs.h.
Definition: Renderer.cpp:342
Urho3D::WeakPtr::operator==
bool operator==(const WeakPtr< U > &rhs) const
Test for equality with another weak pointer.
Definition: Ptr.h:430
Urho3D::CollisionShape2D
2D collision shape component.
Definition: CollisionShape2D.h:35
Urho3D::Viewport::cullCamera_
WeakPtr< Camera > cullCamera_
Culling camera pointer.
Definition: Viewport.h:105
Urho3D::Graphics::shaderPrecache_
SharedPtr< ShaderPrecache > shaderPrecache_
Shader precache utility.
Definition: Graphics.h:859
Urho3D::CrowdManager::maxAgentRadius_
float maxAgentRadius_
The maximum radius of any agent that will be added to the crowd.
Definition: CrowdManager.h:191
Urho3D::RefCount::refs_
int refs_
Reference count. If below zero, the object has been destroyed.
Definition: RefCounted.h:53
Urho3D::ParticleEmitter::ResetEmissionTimer
void ResetEmissionTimer()
Reset the emission period timer.
Definition: ParticleEmitter.cpp:318
Urho3D::Variant::GetTypeName
String GetTypeName() const
Return value's type name.
Definition: Variant.cpp:435
Urho3D::PhysicsWorld2D::SetVelocityIterations
void SetVelocityIterations(int velocityIterations)
Set velocity iterations.
Definition: PhysicsWorld2D.cpp:420
Urho3D::ProgressBar::GetLoadingPercentStyle
const String & GetLoadingPercentStyle() const
Returns the loading percent style.
Definition: ProgressBar.h:78
Urho3D::Vector3::Abs
Vector3 Abs() const
Return absolute vector.
Definition: Vector3.h:402
Urho3D::Pass::extraPixelShaders_
HashMap< StringHash, Vector< SharedPtr< ShaderVariation > > > extraPixelShaders_
Pixel shaders with extra defines from the renderpath.
Definition: Technique.h:184
Urho3D::CollisionShape::GetParentCompoundShape
btCompoundShape * GetParentCompoundShape()
Find the parent rigid body component and return its compound collision shape.
Definition: CollisionShape.cpp:993
Urho3D::FrameBufferObject::fbo_
unsigned fbo_
Frame buffer handle.
Definition: OGLGraphicsImpl.h:87
Urho3D::DebugHud::GetMode
unsigned GetMode() const
Return currently shown elements.
Definition: DebugHud.h:88
Urho3D::EventProfiler::SetActive
static void SetActive(bool newActive)
Activate the event profiler to collect information. This incurs slight performance hit on each SendEv...
Definition: EventProfiler.h:71
Urho3D::DirtyBits::DirtyBits
DirtyBits(const DirtyBits &bits)
Copy-construct.
Definition: ReplicationState.h:55
Urho3D::OffMeshConnection::mask_
unsigned mask_
Flags mask to represent properties of this mesh.
Definition: OffMeshConnection.h:88
Urho3D::View::minZ_
float minZ_
Minimum Z value of the visible scene.
Definition: View.h:356
Urho3D::AnimationStateTrack::node_
WeakPtr< Node > node_
Scene node pointer.
Definition: AnimationState.h:63
Urho3D::ScriptInstance::~ScriptInstance
~ScriptInstance() override
Destruct.
Definition: ScriptInstance.cpp:71
Urho3D::TmxObjectGroup2D::Load
bool Load(const XMLElement &element, const TileMapInfo2D &info)
Load from XML element.
Definition: TmxFile2D.cpp:232
Urho3D::UI::nonFocusedMouseWheel_
bool nonFocusedMouseWheel_
Flag to switch mouse wheel event to be sent to non-focused element at cursor.
Definition: UI.h:397
Urho3D::Obstacle::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: Obstacle.cpp:122
Urho3D::String::Back
char Back() const
Return last char, or 0 if empty.
Definition: Str.h:395
Urho3D::IKSolver::UPDATE_ORIGINAL_POSE
@ UPDATE_ORIGINAL_POSE
Definition: IKSolver.h:105
Urho3D::Material::GetScene
Scene * GetScene() const
Return the scene associated with the material for shader parameter animation updates.
Definition: Material.cpp:1227
Urho3D::TileMapObject2D::GetNumPoints
unsigned GetNumPoints() const
Return number of points (use for script).
Definition: TileMapDefs2D.cpp:190
Urho3D::RigidBody::GetMass
float GetMass() const
Return mass.
Definition: RigidBody.h:162
Urho3D::XMLElement::GetChild
XMLElement GetChild(const String &name=String::EMPTY) const
Return child element, or null if missing.
Definition: XMLElement.cpp:605
Urho3D::AnimationState::GetAnimation
Animation * GetAnimation() const
Return animation.
Definition: AnimationState.h:105
Urho3D::ConstantBuffer::OnDeviceReset
void OnDeviceReset() override
Recreate the GPU resource and restore data if applicable.
Definition: OGLConstantBuffer.cpp:53
Urho3D::Text3D::GetTextAttr
String GetTextAttr() const
Return text attribute.
Definition: Text3D.cpp:556
Urho3D::IntRect::Size
IntVector2 Size() const
Return size.
Definition: Rect.h:400
Urho3D::View::maxLightsDrawables_
HashSet< Drawable * > maxLightsDrawables_
Drawables that limit their maximum light count.
Definition: View.h:407
Urho3D::Graphics::RemoveGPUObject
void RemoveGPUObject(GPUObject *object)
Remove a GPU object. Called by GPUObject.
Definition: Graphics.cpp:392
Urho3D::LightQueryResult::shadowNearSplits_
float shadowNearSplits_[MAX_LIGHT_SPLITS]
Shadow camera near splits (directional lights only).
Definition: View.h:72
Urho3D::Text::UpdateText
void UpdateText(bool onResize=false)
Update text when text, font or spacing changed.
Definition: Text.cpp:487
Urho3D::LuaScriptInstance::HandlePostUpdate
void HandlePostUpdate(StringHash eventType, VariantMap &eventData)
Handle the logic post update event.
Definition: LuaScriptInstance.cpp:677
Urho3D::RigidBody2D::ReleaseBody
void ReleaseBody()
Release body.
Definition: RigidBody2D.cpp:395
Urho3D::Image::FreeImageData
static void FreeImageData(unsigned char *pixelData)
Free an image file's pixel data.
Definition: Image.cpp:2348
Urho3D::DebugHud::GetStatsText
Text * GetStatsText() const
Return rendering stats text.
Definition: DebugHud.h:76
Urho3D::TraversalMode
TraversalMode
Traversal mode for rendering.
Definition: UIElement.h:96
Urho3D::Vector::Back
const T & Back() const
Return const last element.
Definition: Vector.h:525
Urho3D::RigidBody::SetCollisionEventMode
void SetCollisionEventMode(CollisionEventMode mode)
Set collision event signaling mode. Default is to signal when rigid bodies are active.
Definition: RigidBody.cpp:510
Urho3D::Node::GetChild
Node * GetChild(unsigned index) const
Return child scene node by index.
Definition: Node.cpp:1302
Urho3D::UnknownComponent::xmlAttributes_
Vector< String > xmlAttributes_
XML format attribute data (as strings).
Definition: UnknownComponent.h:97
Urho3D::XMLElement::GetXPathResultIndex
unsigned GetXPathResultIndex() const
Return current result index.
Definition: XMLElement.h:297
Urho3D::ShaderParameter::type_
ShaderType type_
Shader type.
Definition: ShaderVariation.h:50
Urho3D::BoxOctreeQuery::TestDrawables
void TestDrawables(Drawable **start, Drawable **end, bool inside) override
Intersection test for drawables.
Definition: OctreeQuery.cpp:84
Urho3D::CustomVariantValue::Clone
virtual CustomVariantValue * Clone() const
Clone.
Definition: Variant.h:195
Urho3D::ParticleEffect2D::finishColorVariance_
Color finishColorVariance_
Finish color variance.
Definition: ParticleEffect2D.h:292
Urho3D::ScrollBar::FilterButtonImplicitAttributes
bool FilterButtonImplicitAttributes(XMLElement &dest, const String &name) const
Filter implicit attributes in serialization process for internal button.
Definition: ScrollBar.cpp:252
Urho3D::BufferedSoundStream
Sound stream that supports manual buffering of data from the main thread.
Definition: BufferedSoundStream.h:35
Urho3D::Image::GetPixelTrilinear
Color GetPixelTrilinear(float x, float y, float z) const
Return a trilinearly sampled 3D pixel color. X, Y and Z have the range 0-1.
Definition: Image.cpp:1564
Urho3D::Vector4::ToString
String ToString() const
Return as string.
Definition: Vector4.cpp:37
Urho3D::StaticSprite2D::GetSwapXY
bool GetSwapXY() const
Return swap X and Y.
Definition: StaticSprite2D.h:95
Urho3D::ShaderProgram::HasParameter
bool HasParameter(StringHash param) const
Return whether uses a shader parameter.
Definition: OGLShaderProgram.cpp:333
Urho3D::RemoteEvent::eventType_
StringHash eventType_
Event type.
Definition: Connection.h:60
Urho3D::SharedArrayPtr::~SharedArrayPtr
~SharedArrayPtr()
Destruct. Release the array reference.
Definition: ArrayPtr.h:61
Urho3D::XMLElement::GetBool
bool GetBool(const String &name) const
Return bool attribute, or false if missing.
Definition: XMLElement.cpp:754
Urho3D::Allocator::Allocator
Allocator(unsigned initialCapacity=0)
Construct.
Definition: Allocator.h:75
Urho3D::LineEdit::OnClickBegin
void OnClickBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse click begin.
Definition: LineEdit.cpp:118
Urho3D::Skybox::Skybox
Skybox(Context *context)
Construct.
Definition: Skybox.cpp:38
Urho3D::ParticleEffect::Load
bool Load(const XMLElement &source)
Load resource from XMLElement synchronously. Return true if successful.
Definition: ParticleEffect.cpp:132
Urho3D::NavigationMesh::SetAgentMaxClimb
void SetAgentMaxClimb(float maxClimb)
Set navigation agent max vertical climb.
Definition: NavigationMesh.cpp:262
Urho3D::LineEdit::IsTextCopyable
bool IsTextCopyable() const
Return whether copy-paste operations are allowed.
Definition: LineEdit.h:111
Urho3D::Node::ResetDeepEnabled
void ResetDeepEnabled()
Reset enabled state to the node's remembered state prior to calling SetDeepEnabled.
Definition: Node.cpp:725
Urho3D::ConstraintWheel2D::SetAnchor
void SetAnchor(const Vector2 &anchor)
Set anchor.
Definition: ConstraintWheel2D.cpp:61
Urho3D::DynamicNavigationMesh::ObstacleChanged
void ObstacleChanged(Obstacle *obstacle)
Used by Obstacle class to update itself.
Definition: DynamicNavigationMesh.cpp:1114
Urho3D::ParticleEmitter::SetParticlesAttr
void SetParticlesAttr(const VariantVector &value)
Set particles attribute.
Definition: ParticleEmitter.cpp:369
Urho3D::CursorShapeInfo::image_
SharedPtr< Image > image_
Image.
Definition: Cursor.h:78
Urho3D::Drawable::SetDrawDistance
void SetDrawDistance(float distance)
Set draw distance.
Definition: Drawable.cpp:173
Urho3D::AnimationController::SetAutoFade
bool SetAutoFade(const String &name, float fadeOutTime)
Set animation autofade at end (non-looped animations only). Zero time disables. Return true on succes...
Definition: AnimationController.cpp:416
Urho3D::Component::SaveXML
bool SaveXML(XMLElement &dest) const override
Save as XML data. Return true if successful.
Definition: Component.cpp:77
Urho3D::ObjectFactory::GetTypeInfo
const TypeInfo * GetTypeInfo() const
Return type info of objects created by this factory.
Definition: Object.h:216
Urho3D::EventReceiverGroup
Tracking structure for event receivers.
Definition: Context.h:33
Urho3D::Node::IsDirty
bool IsDirty() const
Return whether transform has changed and world transform needs recalculation.
Definition: Node.h:506
Urho3D::CollisionShape::HandleTerrainCreated
void HandleTerrainCreated(StringHash eventType, VariantMap &eventData)
Update terrain collision shape from the terrain component.
Definition: CollisionShape.cpp:1200
Urho3D::Matrix3x4::IsNaN
bool IsNaN() const
Return whether any element is NaN.
Definition: Matrix3x4.h:669
Urho3D::RenderPath::InsertCommand
void InsertCommand(unsigned index, const RenderPathCommand &command)
Insert a command at a position.
Definition: RenderPath.cpp:479
Urho3D::Deserializer::ReadLine
String ReadLine()
Read a text line.
Definition: Deserializer.cpp:460
Urho3D::XPathQuery::GetXPathQuery
pugi::xpath_query * GetXPathQuery() const
Return pugixml xpath_query.
Definition: XMLElement.h:393
Urho3D::OcclusionBuffer::cullMode_
CullMode cullMode_
Culling mode.
Definition: OcclusionBuffer.h:197
Urho3D::MakeCustomValue
CustomVariantValueImpl< T > MakeCustomValue(const T &value)
Make custom variant value.
Definition: Variant.h:275
Urho3D::IntVector3::FORWARD
static const IntVector3 FORWARD
(0,0,1) vector.
Definition: Vector3.h:176
Urho3D::ParticleEffect::GetMaxParticleSize
const Vector2 & GetMaxParticleSize() const
Return particle maximum size.
Definition: ParticleEffect.h:284
Urho3D::ConstraintDistance2D::ownerBodyAnchor_
Vector2 ownerBodyAnchor_
Owner body anchor.
Definition: ConstraintDistance2D.h:75
Urho3D::ResourceCache::AddResourceDir
bool AddResourceDir(const String &pathName, unsigned priority=PRIORITY_LAST)
Add a resource load directory. Optional priority parameter which will control search order.
Definition: ResourceCache.cpp:98
Urho3D::ComponentReplicationState
Per-user component network replication state.
Definition: ReplicationState.h:145
Urho3D::NamedPipe::IsServer
bool IsServer() const
Return whether is in server mode.
Definition: NamedPipe.h:68
Urho3D::SplinePath::GetControlPointIdsAttr
const VariantVector & GetControlPointIdsAttr() const
Return Control Point Node IDs attribute.
Definition: SplinePath.h:105
Urho3D::Material::BeginLoadJSON
bool BeginLoadJSON(Deserializer &source)
Helper function for loading JSON files.
Definition: Material.cpp:327
Urho3D::RigidBody2D::SetUseFixtureMass
void SetUseFixtureMass(bool useFixtureMass)
Set whether to automatically calculate mass and inertia from collision shapes. Default true.
Definition: RigidBody2D.cpp:169
Urho3D::RigidBody::GetAnisotropicFriction
Vector3 GetAnisotropicFriction() const
Return anisotropic friction.
Definition: RigidBody.cpp:668
Urho3D::DebugHud::profilerMaxDepth_
unsigned profilerMaxDepth_
Profiler max block depth.
Definition: DebugHud.h:127
Urho3D::Console::Toggle
void Toggle()
Toggle visibility.
Definition: Console.cpp:187
Urho3D::HashSet::Insert
Iterator Insert(const ConstIterator &it)
Insert a key by iterator. Return iterator to the value.
Definition: HashSet.h:335
Urho3D::Network::GetPackageCacheDir
const String & GetPackageCacheDir() const
Return the package download cache directory.
Definition: Network.h:128
Urho3D::TerrainPatch::maxLodGeometry_
SharedPtr< Geometry > maxLodGeometry_
Geometry that is locked to the max LOD level. Used for decals.
Definition: TerrainPatch.h:120
Urho3D::AnimationController::PlayExclusive
bool PlayExclusive(const String &name, unsigned char layer, bool looped, float fadeTime=0.0f)
Play an animation, set full target weight and fade out all other animations on the same layer....
Definition: AnimationController.cpp:197
Urho3D::Input::GetKeyName
String GetKeyName(Key key) const
Return name of key from keycode.
Definition: Input.cpp:1314
Urho3D::Material::vertexShaderDefines_
String vertexShaderDefines_
Vertex shader defines.
Definition: Material.h:293
Urho3D::Text::rowSpacing_
float rowSpacing_
Row spacing.
Definition: Text.h:229
Urho3D::CollisionShape::SetRotation
void SetRotation(const Quaternion &rotation)
Set offset rotation.
Definition: CollisionShape.cpp:759
Urho3D::Camera::SetAspectRatio
void SetAspectRatio(float aspectRatio)
Set aspect ratio manually. Disables the auto aspect ratio -mode.
Definition: Camera.cpp:157
Urho3D::BatchQueue::SortFrontToBack
void SortFrontToBack()
Sort instanced and non-instanced draw calls front to back.
Definition: Batch.cpp:746
Urho3D::Context::UpdateAttributeDefaultValue
void UpdateAttributeDefaultValue(StringHash objectType, const char *name, const Variant &defaultValue)
Update object attribute's default value.
Definition: Context.cpp:234
Urho3D::Skybox::customWorldTransforms_
HashMap< Camera *, Matrix3x4 > customWorldTransforms_
Custom world transform per camera.
Definition: Skybox.h:53
Urho3D::ParticleEffect2D::ReadInt
int ReadInt(const XMLElement &element, const String &name) const
Read integer.
Definition: ParticleEffect2D.cpp:520
Urho3D::BackgroundLoadItem::resource_
SharedPtr< Resource > resource_
Resource.
Definition: BackgroundLoader.h:43
Urho3D::SmoothedTransform::Update
void Update(float constant, float squaredSnapThreshold)
Update smoothing.
Definition: SmoothedTransform.cpp:51
Urho3D::Time::Time
Time(Context *context)
Construct.
Definition: Timer.cpp:48
Urho3D::Renderer::reuseShadowMaps_
bool reuseShadowMaps_
Shadow map reuse flag.
Definition: Renderer.h:592
Urho3D::Slider::OnDragBegin
void OnDragBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag begin.
Definition: Slider.cpp:113
Urho3D::SharedPtr::NotNull
bool NotNull() const
Check if the pointer is not null.
Definition: Ptr.h:205
Urho3D::Texture::GetResolveTexture
void * GetResolveTexture() const
Return resolve texture. Only used on Direct3D11.
Definition: Texture.h:163
Urho3D::ParticleEffect2D::SetRotationEndVariance
void SetRotationEndVariance(float rotationEndVariance)
Set rotation end variance.
Definition: ParticleEffect2D.cpp:469
Urho3D::Corner
Corner
UI element corners.
Definition: UIElement.h:55
Urho3D::Octant::DeleteChild
void DeleteChild(unsigned index)
Delete child octant.
Definition: Octree.cpp:127
Urho3D::CustomGeometry::CustomGeometry
CustomGeometry(Context *context)
Construct.
Definition: CustomGeometry.cpp:47
Urho3D::RigidBody::collisionEventMode_
CollisionEventMode collisionEventMode_
Collision event signaling mode.
Definition: RigidBody.h:293
Urho3D::LuaScript::RemoveAllEventHandlers
void RemoveAllEventHandlers() override
Remove all scripted event handlers.
Definition: LuaScript.cpp:213
Urho3D::FileSelector::separatorLayout_
UIElement * separatorLayout_
Separator layout.
Definition: FileSelector.h:175
Urho3D::SplinePath::length_
float length_
The length of the SplinePath.
Definition: SplinePath.h:134
Urho3D::XMLElement::SetVector4
bool SetVector4(const String &name, const Vector4 &value)
Set a Vector4 attribute.
Definition: XMLElement.cpp:533
Urho3D::ScriptInstance::OnSetAttribute
void OnSetAttribute(const AttributeInfo &attr, const Variant &src) override
Handle attribute write access.
Definition: ScriptInstance.cpp:92
Urho3D::Node::SafeCreateComponent
Component * SafeCreateComponent(const String &typeName, StringHash type, CreateMode mode, unsigned id)
Create component, allowing UnknownComponent if actual type is not supported. Leave typeName empty if ...
Definition: Node.cpp:2062
Urho3D::RigidBody::ApplyImpulse
void ApplyImpulse(const Vector3 &impulse)
Apply impulse to center of mass.
Definition: RigidBody.cpp:543
Urho3D::PackageDownload::receivedFragments_
HashSet< unsigned > receivedFragments_
Already received fragments.
Definition: Connection.h:76
Urho3D::Obstacle::obstacleId_
unsigned obstacleId_
Id received from tile cache.
Definition: Obstacle.h:89
Urho3D::DebugLine::end_
Vector3 end_
End position.
Definition: DebugRenderer.h:60
Urho3D::SoundStream::stereo_
bool stereo_
Stereo flag.
Definition: SoundStream.h:76
Urho3D::ScriptFile::ReleaseModule
void ReleaseModule()
Release the script module.
Definition: ScriptFile.cpp:955
Urho3D::Component::SetID
void SetID(unsigned id)
Set ID. Called by Scene.
Definition: Component.cpp:254
Urho3D::Serializer::WriteInt
bool WriteInt(int value)
Write a 32-bit integer.
Definition: Serializer.cpp:41
Urho3D::AnimatedModel::GetAnimationLodBias
float GetAnimationLodBias() const
Return animation LOD bias.
Definition: AnimatedModel.h:121
Urho3D::CustomGeometry::DrawOcclusion
bool DrawOcclusion(OcclusionBuffer *buffer) override
Draw to occlusion buffer. Return true if did not run out of triangles.
Definition: CustomGeometry.cpp:164
Urho3D::Resource::useTimer_
Timer useTimer_
Last used timer.
Definition: Resource.h:106
Urho3D::IndexBuffer::Lock
void * Lock(unsigned start, unsigned count, bool discard=false)
Lock the buffer for write-only editing. Return data pointer if successful. Optionally discard data ou...
Definition: OGLIndexBuffer.cpp:162
Urho3D::BillboardSet::sortedBillboards_
Vector< Billboard * > sortedBillboards_
Billboard pointers for sorting.
Definition: BillboardSet.h:207
Urho3D::BackgroundLoadItem::sendEventOnFailure_
bool sendEventOnFailure_
Whether to send failure event.
Definition: BackgroundLoader.h:49
Urho3D::DbConnection::IsConnected
bool IsConnected() const
Return true when the connection object is connected to the associated database.
Definition: ODBCConnection.h:56
Urho3D::UIElement::UpdateLayout
void UpdateLayout()
Manually update layout. Should not be necessary in most cases, but is provided for completeness.
Definition: UIElement.cpp:1095
Urho3D::ResourceCache::finishBackgroundResourcesMs_
int finishBackgroundResourcesMs_
How many milliseconds maximum per frame to spend on finishing background loaded resources.
Definition: ResourceCache.h:256
Urho3D::PhysicsWorld
Physics simulation world component. Should be added only to the root scene node.
Definition: PhysicsWorld.h:128
Urho3D::Rect::ZERO
static const Rect ZERO
Zero-sized rect.
Definition: Rect.h:268
Urho3D::RigidBody::SetCcdMotionThreshold
void SetCcdMotionThreshold(float threshold)
Set continuous collision detection motion-per-simulation-step threshold. 0 disables,...
Definition: RigidBody.cpp:429
Urho3D::Frustum::vertices_
Vector3 vertices_[NUM_FRUSTUM_VERTICES]
Frustum vertices.
Definition: Frustum.h:184
Urho3D::NavigationMesh::cellSize_
float cellSize_
Cell size.
Definition: NavigationMesh.h:314
Urho3D::Texture::SetParameters
void SetParameters(XMLFile *file)
Set additional parameters from an XML file.
Definition: Texture.cpp:171
Urho3D::Renderer::defaultRenderPath_
SharedPtr< RenderPath > defaultRenderPath_
Default renderpath.
Definition: Renderer.h:476
Urho3D::ConstraintPrismatic2D::SetMotorSpeed
void SetMotorSpeed(float motorSpeed)
Set motor speed.
Definition: ConstraintPrismatic2D.cpp:159
Urho3D::Light::GetRampTextureAttr
ResourceRef GetRampTextureAttr() const
Return ramp texture attribute.
Definition: Light.cpp:532
Urho3D::Texture::SetResolveDirty
void SetResolveDirty(bool enable)
Set or clear the need resolve flag. Called internally by Graphics.
Definition: Texture.h:172
Urho3D::Console::SetAutoVisibleOnError
void SetAutoVisibleOnError(bool enable)
Automatically set console to visible when receiving an error log message.
Definition: Console.h:60
Urho3D::Drawable::GetZoneMask
unsigned GetZoneMask() const
Return zone mask.
Definition: Drawable.h:204
Urho3D::AnimatedModel::AssignBoneNodes
void AssignBoneNodes()
Assign skeleton and animation bone node references as a postprocess. Called by ApplyAttributes.
Definition: AnimatedModel.cpp:979
Urho3D::Color::a_
float a_
Alpha value.
Definition: Color.h:262
Urho3D::Drawable::IsOccluder
bool IsOccluder() const
Return occluder flag.
Definition: Drawable.h:213
Urho3D::File::GetChecksum
unsigned GetChecksum() override
Return a checksum of the file contents using the SDBM hash algorithm.
Definition: File.cpp:355
Urho3D::UI::LoadLayout
SharedPtr< UIElement > LoadLayout(Deserializer &source, XMLFile *styleFile=nullptr)
Load a UI layout from an XML file. Optionally specify another XML file for element style....
Definition: UI.cpp:573
Urho3D::RigidBody::GetCollidingBodies
void GetCollidingBodies(PODVector< RigidBody * > &result) const
Return colliding rigid bodies from the last simulation step. Only returns collisions that were sent a...
Definition: RigidBody.cpp:703
Urho3D::Terrain::GetRawNormal
Vector3 GetRawNormal(int x, int z) const
Get slope-based terrain normal at position.
Definition: Terrain.cpp:1342
Urho3D::Vector3::DistanceToPoint
float DistanceToPoint(const Vector3 &point) const
Calculate distance to another position vector.
Definition: Vector3.h:383
Urho3D::BillboardSet::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: BillboardSet.cpp:245
Urho3D::Variant::Variant
Variant(const IntRect &value)
Construct from an integer rect.
Definition: Variant.h:475
Urho3D::XMLElement::GetInt64
long long GetInt64(const String &name) const
Return a long long integer attribute, or zero if missing.
Definition: XMLElement.cpp:817
Urho3D::Particle::texIndex_
unsigned texIndex_
Current texture animation index.
Definition: ParticleEmitter.h:50
Urho3D::Thread::Thread
Thread()
Construct. Does not start the thread yet.
Definition: Thread.cpp:63
Urho3D::CrowdManager::GetQueryFilterTypesAttr
VariantVector GetQueryFilterTypesAttr() const
Return all the filter types configured in the crowd as attribute.
Definition: CrowdManager.cpp:453
Urho3D::Input::ResetJoysticks
void ResetJoysticks()
Setup internal joystick structures.
Definition: Input.cpp:1558
Urho3D::TerrainPatch::north_
WeakPtr< TerrainPatch > north_
North neighbor patch.
Definition: TerrainPatch.h:128
Urho3D::FocusParameters
Shadow map focusing parameters.
Definition: Light.h:119
Urho3D::UISelectable::hoverColor_
Color hoverColor_
Hover background color.
Definition: UISelectable.h:61
Urho3D::JSONValue::JSONValue
JSONValue(double value)
Construct with a double.
Definition: JSONValue.h:107
Urho3D::Input::joysticks_
HashMap< SDL_JoystickID, JoystickState > joysticks_
Opened joysticks.
Definition: Input.h:382
Urho3D::RibbonTrail::SetMaterialAttr
void SetMaterialAttr(const ResourceRef &value)
Set material attribute.
Definition: RibbonTrail.cpp:864
Urho3D::LightBatchQueue::vertexLights_
PODVector< Light * > vertexLights_
Per-vertex lights.
Definition: Batch.h:307
Urho3D::ObjectAnimation::GetAttributeAnimationSpeed
float GetAttributeAnimationSpeed(const String &name) const
Return attribute animation speed by name.
Definition: ObjectAnimation.cpp:247
Urho3D::CollisionShape::SetShapeType
void SetShapeType(ShapeType type)
Set shape type.
Definition: CollisionShape.cpp:727
Urho3D::Spriter::SpriterInstance::GetSpatialInfo
const SpatialInfo & GetSpatialInfo() const
Return root spatial info.
Definition: SpriterInstance2D.h:74
Urho3D::OcclusionBuffer::CalculateViewport
void CalculateViewport()
Calculate viewport transform.
Definition: OcclusionBuffer.cpp:578
Urho3D::ConstraintPrismatic2D
2D prismatic constraint component.
Definition: ConstraintPrismatic2D.h:31
Urho3D::ParticleEmitter2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory. drawable2d must be registered first.
Definition: ParticleEmitter2D.cpp:61
Urho3D::AreaAllocator::GetFastMode
bool GetFastMode() const
Return whether uses fast mode. Fast mode uses a simpler allocation scheme which may waste free space,...
Definition: AreaAllocator.h:53
Urho3D::HiresTimer::frequency
static long long frequency
High-resolution timer frequency.
Definition: Timer.h:74
Urho3D::PointOctreeQuery::TestOctant
Intersection TestOctant(const BoundingBox &box, bool inside) override
Intersection test for an octant.
Definition: OctreeQuery.cpp:32
Urho3D::DynamicNavigationMesh::Allocate
bool Allocate(const BoundingBox &boundingBox, unsigned maxTiles) override
Allocate the navigation mesh without building any tiles. Bounding box is not padded....
Definition: DynamicNavigationMesh.cpp:238
Urho3D::Sprite2D::SetOffset
void SetOffset(const IntVector2 &offset)
Set offset.
Definition: Sprite2D.cpp:128
Urho3D::GraphicsImpl::shaderProgram_
ShaderProgram * shaderProgram_
Shader program in use.
Definition: OGLGraphicsImpl.h:152
Urho3D::ShaderPrecache::LoadShaders
static void LoadShaders(Graphics *graphics, Deserializer &source)
Load shaders from an XML file.
Definition: ShaderPrecache.cpp:107
Urho3D::View3D::GetFormat
unsigned GetFormat() const
Return render texture pixel format.
Definition: View3D.h:62
Urho3D::JSONFile::ToString
String ToString(const String &indendation="\t") const
Save to a string.
Definition: JSONFile.cpp:241
Urho3D::TerrainPatch::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: TerrainPatch.cpp:155
Urho3D::AttributeHandle::AttributeHandle
AttributeHandle()=default
Construct default.
Urho3D::Pass::GetPixelShader
const String & GetPixelShader() const
Return pixel shader name.
Definition: Technique.h:117
Urho3D::TileMapLayer2D::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Add debug geometry to the debug renderer.
Definition: TileMapLayer2D.cpp:58
Urho3D::BillboardSet::animationLodBias_
float animationLodBias_
Animation LOD bias.
Definition: BillboardSet.h:158
Urho3D::ConstraintMotor2D::linearOffset_
Vector2 linearOffset_
Linear offset.
Definition: ConstraintMotor2D.h:76
Urho3D::AnimatedModel::GetNumAnimationStates
unsigned GetNumAnimationStates() const
Return number of animation states.
Definition: AnimatedModel.h:109
Urho3D::Image::SaveJPG
bool SaveJPG(const String &fileName, int quality) const
Save in JPG format with specified quality. Return true if successful.
Definition: Image.cpp:1306
Urho3D::Scene::replicatedComponents_
HashMap< unsigned, Component * > replicatedComponents_
Replicated components by ID.
Definition: Scene.h:288
Urho3D::UI::GetForceAutoHint
bool GetForceAutoHint() const
Return whether is using forced autohinting.
Definition: UI.h:203
Urho3D::ScrollBar::GetValue
float GetValue() const
Return slider current value.
Definition: ScrollBar.cpp:211
Urho3D::Serializable::ReadLatestDataUpdate
bool ReadLatestDataUpdate(Deserializer &source)
Read and apply a network latest data update. Return true if attributes were changed.
Definition: Serializable.cpp:862
Urho3D::Constraint2D
2D physics constraint component.
Definition: Constraint2D.h:36
Urho3D::Graphics::scissorRect_
IntRect scissorRect_
Scissor test rectangle.
Definition: Graphics.h:825
Urho3D::TextureFilterMode
TextureFilterMode
Texture filtering mode.
Definition: GraphicsDefs.h:230
Urho3D::Vector::Begin
Iterator Begin()
Return iterator to the beginning.
Definition: Vector.h:492
Urho3D::AnimatedModel::assignBonesPending_
bool assignBonesPending_
Bone nodes assignment pending flag.
Definition: AnimatedModel.h:259
Urho3D::AttributeMetadata::P_VECTOR_STRUCT_ELEMENTS
static const StringHash P_VECTOR_STRUCT_ELEMENTS("VectorStructElements")
Names of vector struct elements. StringVector.
Urho3D::ConstraintRevolute2D::SetLowerAngle
void SetLowerAngle(float lowerAngle)
Set lower angle.
Definition: ConstraintRevolute2D.cpp:86
Urho3D::ShaderVariation::byteCode_
PODVector< unsigned char > byteCode_
Shader bytecode. Needed for inspecting the input signature and parameters. Not used on OpenGL.
Definition: ShaderVariation.h:168
Urho3D::List::ReserveNode
Node * ReserveNode(const T &value)
Reserve a node with initial value.
Definition: List.h:483
Urho3D::UI::HandleRenderUpdate
void HandleRenderUpdate(StringHash eventType, VariantMap &eventData)
Handle render update event.
Definition: UI.cpp:2054
Urho3D::UIElement::SetInternal
void SetInternal(bool enable)
Mark as internally (programmatically) created. Used when an element composes itself out of child elem...
Definition: UIElement.cpp:1444
Urho3D::Drawable::batches_
Vector< SourceBatch > batches_
Draw call source data.
Definition: Drawable.h:333
Urho3D::LuaScriptInstance::scriptObjectRef_
int scriptObjectRef_
Lua reference to script object.
Definition: LuaScriptInstance.h:183
Urho3D::TerrainPatch::GetOwner
Terrain * GetOwner() const
Return owner terrain.
Definition: TerrainPatch.cpp:268
Urho3D::Input::GetQualifierDown
bool GetQualifierDown(Qualifier qualifier) const
Check if a qualifier key is held down.
Definition: Input.cpp:1364
Urho3D::Technique::passIndices
static HashMap< String, unsigned > passIndices
Pass index assignments.
Definition: Technique.h:287
Urho3D::Bone
Bone in a skeleton.
Definition: Skeleton.h:46
Urho3D::Text3D::SetWidth
void SetWidth(int width)
Set text width. Only has effect in word wrap mode.
Definition: Text3D.cpp:313
Urho3D::SmoothedTransform::SetTargetWorldPosition
void SetTargetWorldPosition(const Vector3 &position)
Set target position in world space.
Definition: SmoothedTransform.cpp:128
Urho3D::UI::uiScale_
float uiScale_
Current scale of UI.
Definition: UI.h:437
Urho3D::Matrix2::Data
const float * Data() const
Return float data.
Definition: Matrix2.h:203
Urho3D::VertexBuffer::~VertexBuffer
~VertexBuffer() override
Destruct.
Definition: VertexBuffer.cpp:47
Urho3D::Light::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: Light.cpp:236
Urho3D::XMLFile::PatchAdd
void PatchAdd(const pugi::xml_node &patch, pugi::xpath_node &original) const
Add an node in the Patch.
Definition: XMLFile.cpp:228
Urho3D::XPathQuery::GetXPathVariableSet
pugi::xpath_variable_set * GetXPathVariableSet() const
Return pugixml xpath_variable_set.
Definition: XMLElement.h:396
Urho3D::ScriptInstance::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ScriptInstance.cpp:76
Urho3D::AnimatedSprite2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: AnimatedSprite2D.cpp:72
Urho3D::Connection::GetNumDownloads
unsigned GetNumDownloads() const
Return number of package downloads remaining.
Definition: Connection.cpp:1126
Urho3D::BatchQueue::GetNumInstances
unsigned GetNumInstances() const
Return the combined amount of instances.
Definition: Batch.cpp:891
Urho3D::Input::SetTouchEmulation
void SetTouchEmulation(bool enable)
Set touch emulation by mouse. Only available on desktop platforms. When enabled, actual mouse events ...
Definition: Input.cpp:1191
Urho3D::CollisionEdge2D::CollisionEdge2D
CollisionEdge2D(Context *context)
Construct.
Definition: CollisionEdge2D.cpp:38
Urho3D::ShaderProgram::shaderParameters_
HashMap< StringHash, ShaderParameter > shaderParameters_
Shader parameters.
Definition: OGLShaderProgram.h:95
Urho3D::SmoothedTransform::GetTargetRotation
const Quaternion & GetTargetRotation() const
Return target rotation in parent space.
Definition: SmoothedTransform.h:71
Urho3D::DD_SOURCE_AND_TARGET
@ DD_SOURCE_AND_TARGET
Drag and drop source and target.
Definition: UIElement.h:113
Urho3D::Zone::GetAmbientStartColor
const Color & GetAmbientStartColor()
Return ambient start color. Not safe to call from worker threads due to possible octree query.
Definition: Zone.cpp:189
Urho3D::TileMapLayer2D::GetObjectNode
Node * GetObjectNode(unsigned index) const
Return object node (for object group only).
Definition: TileMapLayer2D.cpp:319
Urho3D::Database::Database
Database(Context *context)
Construct.
Definition: Database.cpp:31
Urho3D::Graphics::SetCullMode
void SetCullMode(CullMode mode)
Set hardware culling mode.
Definition: OGLGraphics.cpp:1786
Urho3D::Deserializer::ReadStringHash
StringHash ReadStringHash()
Read a 32-bit StringHash.
Definition: Deserializer.cpp:271
Urho3D::FM_NOTFOCUSABLE
@ FM_NOTFOCUSABLE
Is not focusable and does not affect existing focus.
Definition: UIElement.h:75
Urho3D::Terrain::SetPatchSizeAttr
void SetPatchSizeAttr(int value)
Set patch size attribute.
Definition: Terrain.cpp:804
Urho3D::GraphicsImpl::boundVBO_
unsigned boundVBO_
Currently bound vertex buffer object.
Definition: OGLGraphicsImpl.h:128
Urho3D::VAnimEventFrame::eventType_
StringHash eventType_
Event type.
Definition: ValueAnimation.h:62
Urho3D::Sound::end_
signed char * end_
Sound data end.
Definition: Sound.h:120
Urho3D::VertexBufferDesc::data_
SharedArrayPtr< unsigned char > data_
Vertex data.
Definition: Model.h:76
Urho3D::CursorShapeInfo::osCursor_
SDL_Cursor * osCursor_
OS cursor.
Definition: Cursor.h:86
Urho3D::PListValue::ConvertToValueMap
PListValueMap & ConvertToValueMap()
Convert to value map (internal use only).
Definition: PListFile.cpp:252
Urho3D::ShaderVariation::GetShaderType
ShaderType GetShaderType() const
Return shader type.
Definition: ShaderVariation.h:105
Urho3D::ParticleEffect::GetMinRotationSpeed
float GetMinRotationSpeed() const
Return particle minimum rotation speed.
Definition: ParticleEffect.h:305
Urho3D::Material::GetOcclusion
bool GetOcclusion() const
Return whether should render occlusion.
Definition: Material.h:247
Urho3D::FileSelector::GetPath
const String & GetPath() const
Return current path.
Definition: FileSelector.h:114
Urho3D::Audio
Audio subsystem.
Definition: Audio.h:40
Urho3D::Geometry::primitiveType_
PrimitiveType primitiveType_
Primitive type.
Definition: Geometry.h:121
Urho3D::WeakPtr::ReleaseRef
void ReleaseRef()
Release the weak reference. Delete the Refcount structure if necessary.
Definition: Ptr.h:520
Urho3D::Matrix4
4x4 matrix for arbitrary linear transforms including projection.
Definition: Matrix4.h:38
Urho3D::IntVector2::ONE
static const IntVector2 ONE
(1,1) vector.
Definition: Vector2.h:171
Urho3D::Material::shaderParameterAnimationInfos_
HashMap< StringHash, SharedPtr< ShaderParameterAnimationInfo > > shaderParameterAnimationInfos_
Shader parameters animation infos.
Definition: Material.h:291
Urho3D::DebugHud::modeText_
SharedPtr< Text > modeText_
Rendering mode text.
Definition: DebugHud.h:115
Urho3D::Input::mouseMoveScaled_
bool mouseMoveScaled_
Whether mouse move is accumulated in backbuffer scale or not (when using events directly).
Definition: Input.h:428
Urho3D::UI::graphics_
WeakPtr< Graphics > graphics_
Graphics subsystem.
Definition: UI.h:351
Urho3D::FontFaceFreeType::HasMutableGlyphs
bool HasMutableGlyphs() const override
Return if font face uses mutable glyphs.
Definition: FontFaceFreeType.h:48
Urho3D::TerrainPatch::GetCoordinates
const IntVector2 & GetCoordinates() const
Return patch coordinates.
Definition: TerrainPatch.h:104
Urho3D::Terrain::westID_
unsigned westID_
Node ID of west neighbor.
Definition: Terrain.h:321
Urho3D::UI::ReleaseFontFaces
void ReleaseFontFaces()
Force release of font faces when global font properties change.
Definition: UI.cpp:1335
Urho3D::WeakArrayPtr::NotNull
bool NotNull() const
Check if the pointer is not null.
Definition: ArrayPtr.h:376
Urho3D::UI::GetDragElement
UIElement * GetDragElement(unsigned index)
Return the drag element at index.
Definition: UI.cpp:911
Urho3D::RibbonTrail::GetLifetime
float GetLifetime() const
Return tail time to live.
Definition: RibbonTrail.h:152
Urho3D::ConstraintFriction2D
2D friction constraint component.
Definition: ConstraintFriction2D.h:31
Urho3D::RigidBody::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: RigidBody.cpp:137
Urho3D::GPUObjectHandle
API-specific GPU object representation.
Definition: GPUObject.h:33
Urho3D::ScriptInstance::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: ScriptInstance.cpp:227
Urho3D::WorkQueue::ProcessItems
void ProcessItems(unsigned threadIndex)
Process work items until shut down. Called by the worker threads.
Definition: WorkQueue.cpp:307
Urho3D::Terrain::west_
WeakPtr< Terrain > west_
West neighbor terrain.
Definition: Terrain.h:263
Urho3D::IndexBuffer::GetShadowDataShared
SharedArrayPtr< unsigned char > GetShadowDataShared() const
Return shared array pointer to the CPU memory shadow data.
Definition: IndexBuffer.h:86
Urho3D::ScrollView::scrollTouchDown_
bool scrollTouchDown_
Used to trigger scroll smoothing when false.
Definition: ScrollView.h:181
Urho3D::Rect::Top
float Top() const
Return top coordinate.
Definition: Rect.h:250
Urho3D::AnimationState::AddWeight
void AddWeight(float delta)
Modify blending weight.
Definition: AnimationState.cpp:245
Urho3D::FontFaceFreeType::subpixel_
bool subpixel_
Use subpixel glyph positioning?
Definition: FontFaceFreeType.h:65
Urho3D::NavigationMesh::GetTileData
virtual PODVector< unsigned char > GetTileData(const IntVector2 &tile) const
Return tile data.
Definition: NavigationMesh.cpp:524
Urho3D::Light::SetAspectRatio
void SetAspectRatio(float aspectRatio)
Set spotlight aspect ratio.
Definition: Light.cpp:340
Urho3D::Vector2::x_
float x_
X coordinate.
Definition: Vector2.h:374
Urho3D::HashSet::ConstIterator::operator->
const T * operator->() const
Point to the key.
Definition: HashSet.h:168
Urho3D::LinkedList::~LinkedList
~LinkedList()
Destruct.
Definition: LinkedList.h:74
Urho3D::Serializable::GetNumAttributes
unsigned GetNumAttributes() const
Return number of attributes.
Definition: Serializable.cpp:988
Urho3D::Texture::IsCompressed
bool IsCompressed() const
Return whether the texture format is compressed.
Definition: OGLTexture.cpp:181
Urho3D::Cursor::DefineShape
void DefineShape(const String &shape, Image *image, const IntRect &imageRect, const IntVector2 &hotSpot)
Define a shape.
Definition: Cursor.cpp:137
Urho3D::Sound::GetEnd
signed char * GetEnd() const
Return sound data end.
Definition: Sound.h:79
Urho3D::Particle2D::color_
Color color_
Color.
Definition: ParticleEmitter2D.h:50
Urho3D::PhysicsWorld::RaycastSingle
void RaycastSingle(PhysicsRaycastResult &result, const Ray &ray, float maxDistance, unsigned collisionMask=M_MAX_UNSIGNED)
Perform a physics world raycast and return the closest hit.
Definition: PhysicsWorld.cpp:400
Urho3D::Sprite2D::SetTextureEdgeOffset
void SetTextureEdgeOffset(float offset)
Set texture edge offset in pixels. This affects the left/right and top/bottom edges equally to preven...
Definition: Sprite2D.cpp:133
Urho3D::UIElement::RemoveTag
bool RemoveTag(const String &tag)
Remove specific tag. Return true if existed.
Definition: UIElement.cpp:1485
Urho3D::WeakPtr::ptr_
T * ptr_
Pointer to the object.
Definition: Ptr.h:536
Urho3D::Serializer
Abstract stream for writing.
Definition: Serializer.h:44
Urho3D::RigidBody::SetUseGravity
void SetUseGravity(bool enable)
Set whether gravity is applied to rigid body.
Definition: RigidBody.cpp:439
Urho3D::DecalSet::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: DecalSet.cpp:210
Urho3D::Deserializer
Abstract stream for reading.
Definition: Deserializer.h:33
Urho3D::DecalSet::HandleScenePostUpdate
void HandleScenePostUpdate(StringHash eventType, VariantMap &eventData)
Handle scene post-update event.
Definition: DecalSet.cpp:1159
Urho3D::CollisionBox2D::GetSize
const Vector2 & GetSize() const
Return size.
Definition: CollisionBox2D.h:55
Urho3D::Spline::BezierInterpolation
Variant BezierInterpolation(const Vector< Variant > &knots, float t) const
Perform Bezier interpolation on the spline.
Definition: Spline.cpp:143
Urho3D::NavigationMesh::IsInitialized
bool IsInitialized() const
Return whether has been initialized with valid navigation data.
Definition: NavigationMesh.h:243
Urho3D::UI::DragData::sumPos
IntVector2 sumPos
Sum of all touch locations.
Definition: UI.h:237
Urho3D::Network::remoteGUID_
SLNet::RakNetGUID * remoteGUID_
Remote GUID information.
Definition: Network.h:190
Urho3D::Matrix3::SetScale
void SetScale(float scale)
Set uniform scaling elements.
Definition: Matrix3.h:185
Urho3D::OctreeQueryResult::OctreeQueryResult
OctreeQueryResult()
Construct with defaults.
Definition: OctreeQuery.h:160
Urho3D::FileSystem::SystemCommandAsync
unsigned SystemCommandAsync(const String &commandLine)
Run a program using the command interpreter asynchronously. Return a request ID or M_MAX_UNSIGNED if ...
Definition: FileSystem.cpp:395
Urho3D::Terrain::~Terrain
~Terrain() override
Destruct.
Urho3D::PhysicsWorld2D::velocityIterations_
int velocityIterations_
Velocity iterations.
Definition: PhysicsWorld2D.h:224
Urho3D::Animatable::OnAttributeAnimationAdded
virtual void OnAttributeAnimationAdded()=0
Handle attribute animation added.
Urho3D::Viewport::GetCullCamera
Camera * GetCullCamera() const
Return the culling camera. If null, the viewport camera will be used for culling (normal case).
Definition: Viewport.cpp:127
Urho3D::Camera::SetClipPlane
void SetClipPlane(const Plane &plane)
Set custom clipping plane in world space.
Definition: Camera.cpp:240
Urho3D::HashMap::operator!=
bool operator!=(const HashMap< T, U > &rhs) const
Test for inequality with another hash map.
Definition: HashMap.h:314
Urho3D::Graphics::ResetRenderTargets
void ResetRenderTargets()
Reset all rendertargets, depth-stencil surface and viewport.
Definition: OGLGraphics.cpp:1613
Urho3D::RaycastVehicle::Init
void Init()
Init the vehicle component after creation.
Definition: RaycastVehicle.cpp:282
Urho3D::Node::SetWorldRotation2D
void SetWorldRotation2D(float rotation)
Set rotation in world space (for Urho2D).
Definition: Node.h:197
Urho3D::Matrix4::Matrix4
Matrix4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23, float v30, float v31, float v32, float v33) noexcept
Construct from values.
Definition: Matrix4.h:121
Urho3D::Serializer::~Serializer
virtual ~Serializer()
Destruct.
Urho3D::Camera::SetNearClip
void SetNearClip(float nearClip)
Set near clip distance.
Definition: Camera.cpp:114
Urho3D::PhysicsWorld2D::ContactInfo::bodyB_
SharedPtr< RigidBody2D > bodyB_
Rigid body B.
Definition: PhysicsWorld2D.h:259
Urho3D::TileMapObject2D::sprite_
SharedPtr< Sprite2D > sprite_
Sprite (for tile).
Definition: TileMapDefs2D.h:224
Urho3D::FileSelector::GetFileNameEdit
LineEdit * GetFileNameEdit() const
Return filename editor.
Definition: FileSelector.h:96
Urho3D::FileWatcher::GetPath
const String & GetPath() const
Return the path being watched, or empty if not watching.
Definition: FileWatcher.h:62
Urho3D::FrameInfo
Rendering frame update parameters.
Definition: Drawable.h:68
Urho3D::JSONValue::JSONValue
JSONValue()
Construct null value.
Definition: JSONValue.h:78
Urho3D::Graphics::AdjustScreenMode
void AdjustScreenMode(int &newWidth, int &newHeight, ScreenModeParams &params, bool &maximize) const
Adjust parameters according to the platform. Fill in missing paramters and resolve possible conflicts...
Definition: Graphics.cpp:490
Urho3D::Database::Disconnect
void Disconnect(DbConnection *connection)
Disconnect a database connection. The connection object pointer should not be used anymore after this...
Definition: Database.cpp:78
Urho3D::Console
Console window with log history and command line prompt.
Definition: Console.h:42
Urho3D::PackageDownload::PackageDownload
PackageDownload()
Construct with defaults.
Definition: Connection.cpp:58
Urho3D::NavigationPathPoint::position_
Vector3 position_
World-space position of the path point.
Definition: NavigationMesh.h:84
Urho3D::Ray::origin_
Vector3 origin_
Ray origin.
Definition: Ray.h:110
Urho3D::LightQueryResult::shadowFarSplits_
float shadowFarSplits_[MAX_LIGHT_SPLITS]
Shadow camera far splits (directional lights only).
Definition: View.h:74
Urho3D::HashMap::ConstIterator::operator*
const KeyValue & operator*() const
Dereference the pair.
Definition: HashMap.h:214
Urho3D::Graphics::numPrimitives_
unsigned numPrimitives_
Number of primitives this frame.
Definition: Graphics.h:761
Urho3D::ConstraintWeld2D::ConstraintWeld2D
ConstraintWeld2D(Context *context)
Construct.
Definition: ConstraintWeld2D.cpp:37
Urho3D::Plane::Define
void Define(const Vector4 &plane)
Define from a 4-dimensional vector, where the w coordinate is the plane parameter.
Definition: Plane.h:82
Urho3D::Texture::anisotropy_
unsigned anisotropy_
Texture anisotropy level.
Definition: Texture.h:229
Urho3D::Pass::vertexShaderName_
String vertexShaderName_
Vertex shader name.
Definition: Technique.h:166
Urho3D::Node::CloneRecursive
Node * CloneRecursive(Node *parent, SceneResolver &resolver, CreateMode mode)
Clone node recursively.
Definition: Node.cpp:2181
Urho3D::PhysicsWorld::collisionShapes_
PODVector< CollisionShape * > collisionShapes_
Collision shapes in the world.
Definition: PhysicsWorld.h:318
Urho3D::RenderPath::SetCommand
void SetCommand(unsigned index, const RenderPathCommand &command)
Assign command at index.
Definition: RenderPath.cpp:466
Urho3D::Serializer::WritePackedQuaternion
bool WritePackedQuaternion(const Quaternion &value)
Write a quaternion with each component packed in 16 bits.
Definition: Serializer.cpp:142
Urho3D::View::vertexLightQueues_
HashMap< unsigned long long, LightBatchQueue > vertexLightQueues_
Per-vertex light queues.
Definition: View.h:417
Urho3D::PODVector::Push
void Push(const T &value)
Add an element at the end.
Definition: Vector.h:841
Urho3D::NavigationMesh::GetAgentMaxSlope
float GetAgentMaxSlope() const
Return navigation agent max slope.
Definition: NavigationMesh.h:216
Urho3D::HashMap::Node::Next
Node * Next() const
Return next node.
Definition: HashMap.h:97
Urho3D::FONT_HINT_LEVEL_LIGHT
@ FONT_HINT_LEVEL_LIGHT
Light hinting. FreeType will pixel-align fonts vertically, but not horizontally.
Definition: UI.h:42
Urho3D::NavigationMesh::SetAgentHeight
void SetAgentHeight(float height)
Set navigation agent height.
Definition: NavigationMesh.cpp:248
Urho3D::Model::~Model
~Model() override
Destruct.
Urho3D::Graphics::GetNumBatches
unsigned GetNumBatches() const
Return number of batches drawn this frame.
Definition: Graphics.h:405
Urho3D::Zone::GetZoneTextureAttr
ResourceRef GetZoneTextureAttr() const
Return zone texture attribute.
Definition: Zone.cpp:224
Urho3D::ParticleEmitter2D::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: ParticleEmitter2D.cpp:194
Urho3D::Constraint::SetOtherBody
void SetOtherBody(RigidBody *body)
Set other body to connect to. Set to null to connect to the static world.
Definition: Constraint.cpp:159
Urho3D::UIElement::GetBringToFront
bool GetBringToFront() const
Return whether should be brought to front when focused.
Definition: UIElement.h:490
Urho3D::FileSystem::GetExecuteConsoleCommands
bool GetExecuteConsoleCommands() const
Return whether is executing engine console commands as OS-specific system command.
Definition: FileSystem.h:83
Urho3D::Light::GetTemperature
float GetTemperature() const
Return the temperature of the light in Kelvin.
Definition: Light.h:226
Urho3D::Graphics::GetUseClipPlane
bool GetUseClipPlane() const
Return whether a custom clipping plane is in use.
Definition: Graphics.h:561
Urho3D::UIComponent::model_
SharedPtr< StaticModel > model_
Model created by this component. If node already has StaticModel then this will be null.
Definition: UIComponent.h:71
Urho3D::Rect::Bottom
float Bottom() const
Return bottom coordinate.
Definition: Rect.h:256
Urho3D::Spriter::SpriterInstance::Clear
void Clear()
Clear mainline key and timeline keys.
Definition: SpriterInstance2D.cpp:296
Urho3D::XMLFile::FromString
bool FromString(const String &source)
Deserialize from a string. Return true if successful.
Definition: XMLFile.cpp:162
Urho3D::Renderer::GetDrawShadows
bool GetDrawShadows() const
Return whether drawing shadows is enabled.
Definition: Renderer.h:274
Urho3D::LT_TILE_LAYER
@ LT_TILE_LAYER
Tile layer.
Definition: TileMapDefs2D.h:78
Urho3D::UI::GetUseScreenKeyboard
bool GetUseScreenKeyboard() const
Return whether focusing a LineEdit will show the on-screen keyboard.
Definition: UI.h:197
Urho3D::IntVector2::RIGHT
static const IntVector2 RIGHT
(1,0) vector.
Definition: Vector2.h:165
Urho3D::Serializer::WriteMatrix3
bool WriteMatrix3(const Matrix3 &value)
Write a Matrix3.
Definition: Serializer.cpp:154
Urho3D::Sound::data_
SharedArrayPtr< signed char > data_
Sound data.
Definition: Sound.h:116
Urho3D::CustomGeometry::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: CustomGeometry.h:170
Urho3D::IKSolver
Marks the root or "beginning" of an IK chain or multiple IK chains. The solving algorithm can be set ...
Definition: IKSolver.h:42
Urho3D::Slider::GetOrientation
Orientation GetOrientation() const
Return orientation type.
Definition: Slider.h:79
Urho3D::DropDownList::HandleListViewKey
void HandleListViewKey(StringHash eventType, VariantMap &eventData)
Handle a key press from the listview.
Definition: DropDownList.cpp:330
Urho3D::PhysicsWorld::RemoveRigidBody
void RemoveRigidBody(RigidBody *body)
Remove a rigid body. Called by RigidBody.
Definition: PhysicsWorld.cpp:723
Urho3D::File::readBuffer_
SharedArrayPtr< unsigned char > readBuffer_
Read buffer for Android asset or compressed file loading.
Definition: File.h:131
Urho3D::XMLElement::SetColor
bool SetColor(const String &name, const Color &value)
Set a color attribute.
Definition: XMLElement.cpp:347
Urho3D::LuaFile::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: LuaFile.cpp:76
Urho3D::CompressedLevel::rows_
unsigned rows_
Number of rows.
Definition: Image.h:77
Urho3D::Text::strokeThickness_
int strokeThickness_
Text effect stroke thickness.
Definition: Text.h:243
Urho3D::ParticleEffect::SetMaxRotation
void SetMaxRotation(float rotation)
Set particle maximum rotation.
Definition: ParticleEffect.cpp:565
Urho3D::LuaScript::executeConsoleCommands_
bool executeConsoleCommands_
Flag for executing engine console commands as script code. Default to true.
Definition: LuaScript.h:125
Urho3D::Node::SetRotationSilent
void SetRotationSilent(const Quaternion &rotation)
Set position in parent space silently without marking the node & child nodes dirty....
Definition: Node.h:628
Urho3D::ScrollBar::GetBackButton
Button * GetBackButton() const
Return back button element.
Definition: ScrollBar.h:87
Urho3D::Terrain::SetOccludee
void SetOccludee(bool enable)
Set occludee flag for patches.
Definition: Terrain.cpp:500
Urho3D::JSONValue::JSONValue
JSONValue(float value)
Construct with a float.
Definition: JSONValue.h:101
Urho3D::ValueAnimation::SplineInterpolation
Variant SplineInterpolation(unsigned index1, unsigned index2, float scaledTime) const
Spline interpolation.
Definition: ValueAnimation.cpp:437
Urho3D::Graphics::PrepareDraw
void PrepareDraw()
Process dirtied state before draw.
Definition: OGLGraphics.cpp:2826
Urho3D::Sprite2D::GetTextureEdgeOffset
float GetTextureEdgeOffset() const
Return texture edge offset.
Definition: Sprite2D.h:77
Urho3D::Connection::connectPending_
bool connectPending_
Connection pending flag.
Definition: Connection.h:331
Urho3D::CollisionShape::GetShapeType
ShapeType GetShapeType() const
Return shape type.
Definition: CollisionShape.h:221
Urho3D::PhysicsWorld::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: PhysicsWorld.cpp:229
Urho3D::Text3D::MarkTextDirty
void MarkTextDirty()
Mark text & geometry dirty.
Definition: Text3D.cpp:531
Urho3D::Skeleton::bones_
Vector< Bone > bones_
Bones.
Definition: Skeleton.h:140
Urho3D::UnknownComponent::SetTypeName
void SetTypeName(const String &typeName)
Initialize the type name. Called by Node when loading.
Definition: UnknownComponent.cpp:242
Urho3D::View::lightQueues_
Vector< LightBatchQueue > lightQueues_
Per-pixel light queues.
Definition: View.h:415
Urho3D::Renderer::SetNumViewports
void SetNumViewports(unsigned num)
Set number of backbuffer viewports to render.
Definition: Renderer.cpp:280
Urho3D::HashMap
Hash map template class.
Definition: HashMap.h:37
Urho3D::AnimationSet2D::spriteSheet_
SharedPtr< SpriteSheet2D > spriteSheet_
Sprite sheet.
Definition: AnimationSet2D.h:118
Urho3D::Color::b_
float b_
Blue value.
Definition: Color.h:260
Urho3D::Button::SetRepeatDelay
void SetRepeatDelay(float delay)
Set repeat delay.
Definition: Button.cpp:183
Urho3D::SharedPtr
Shared pointer template class with intrusive reference counting.
Definition: Ptr.h:36
Urho3D::Scene::Scene
Scene(Context *context)
Construct.
Definition: Scene.cpp:58
Urho3D::String::String
String(const wchar_t *str)
Construct from a null-terminated wide character array.
Definition: Str.h:107
Urho3D::MemoryBuffer::buffer_
unsigned char * buffer_
Pointer to the memory area.
Definition: MemoryBuffer.h:58
Urho3D::ValueAnimationInfo::ValueAnimationInfo
ValueAnimationInfo(ValueAnimation *animation, WrapMode wrapMode, float speed)
Construct without target object.
Definition: ValueAnimationInfo.cpp:34
Urho3D::Text::SetAutoLocalizable
void SetAutoLocalizable(bool enable)
The text will be automatically translated. The text value used as string identifier.
Definition: Text.cpp:338
Urho3D::Technique::GetNumPasses
unsigned GetNumPasses() const
Return number of passes.
Definition: Technique.cpp:456
Urho3D::ParticleEffect::AddTextureFrame
void AddTextureFrame(const TextureFrame &textureFrame)
Add a texture frame sorted in the correct position based on time.
Definition: ParticleEffect.cpp:691
Urho3D::Graphics::GetPixelUVOffset
static const Vector2 & GetPixelUVOffset()
Return UV offset required for pixel perfect rendering.
Definition: Graphics.h:640
Urho3D::Vector::Pop
void Pop()
Remove the last element.
Definition: Vector.h:279
Urho3D::Shader::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Shader.cpp:79
Urho3D::RigidBody::SetRollingFriction
void SetRollingFriction(float friction)
Set rolling friction coefficient.
Definition: RigidBody.cpp:392
Urho3D::ParticleEffect2D::GetSpeedVariance
float GetSpeedVariance() const
Return speed variance.
Definition: ParticleEffect2D.h:146
Urho3D::FontGlyph
Font glyph description.
Definition: FontFace.h:37
Urho3D::ValueAnimationInfo::wrapMode_
WrapMode wrapMode_
Wrap mode.
Definition: ValueAnimationInfo.h:90
Urho3D::ParticleEffect::animationLodBias_
float animationLodBias_
Animation LOD bias.
Definition: ParticleEffect.h:373
Urho3D::ParticleEffect2D::ReadVector2
Vector2 ReadVector2(const XMLElement &element, const String &name) const
Read Vector2.
Definition: ParticleEffect2D.cpp:536
Urho3D::Image::Image
Image(Context *context)
Construct empty.
Definition: Image.cpp:254
Urho3D::CrowdAgent::RemoveAgentFromCrowd
void RemoveAgentFromCrowd()
Remove agent from crowd.
Definition: CrowdAgent.cpp:317
Urho3D::Variant::Variant
Variant(const char *value)
Construct from a C string.
Definition: Variant.h:415
Urho3D::ObjectFactory
Base class for object factories.
Definition: Object.h:199
Urho3D::LuaScript::AddEventHandler
void AddEventHandler(const String &eventName, int index) override
Add a scripted event handler by function at the given stack index.
Definition: LuaScript.cpp:158
Urho3D::ConstraintGear2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintGear2D.cpp:103
Urho3D::OctreeQuery::TestDrawables
virtual void TestDrawables(Drawable **start, Drawable **end, bool inside)=0
Intersection test for drawables.
Urho3D::ScreenModeParams::fullscreen_
bool fullscreen_
Whether to use fullscreen mode.
Definition: Graphics.h:84
Urho3D::BillboardSet::GetBillboardsAttr
VariantVector GetBillboardsAttr() const
Return billboards attribute.
Definition: BillboardSet.cpp:432
Urho3D::FileSystem
Subsystem for file and directory operations and access control.
Definition: FileSystem.h:42
Urho3D::List::Empty
bool Empty() const
Return whether list is empty.
Definition: List.h:421
Urho3D::Text3D::GetColorAttr
const Color & GetColorAttr() const
Get color attribute. Uses just the top-left color.
Definition: Text3D.h:173
Urho3D::UI::HandleMouseWheel
void HandleMouseWheel(StringHash eventType, VariantMap &eventData)
Handle mouse wheel event.
Definition: UI.cpp:1839
Urho3D::RigidBody::trigger_
bool trigger_
Trigger flag.
Definition: RigidBody.h:301
Urho3D::Graphics::SetForceGL2
void SetForceGL2(bool enable)
Set forced use of OpenGL 2 even if OpenGL 3 is available. Must be called before setting the screen mo...
Definition: OGLGraphics.cpp:537
Urho3D::AsyncLoadState
AsyncLoadState
Asynchronous loading state of a resource.
Definition: Resource.h:39
Urho3D::Text3D::~Text3D
~Text3D() override
Destruct.
Urho3D::PhysicsWorld::GetNumIterations
int GetNumIterations() const
Return number of constraint solver iterations.
Definition: PhysicsWorld.cpp:708
Urho3D::FrameInfo::timeStep_
float timeStep_
Time elapsed since last frame.
Definition: Drawable.h:73
Urho3D::UIElement::GetBringToBack
bool GetBringToBack() const
Return whether should be put to background when another element is focused.
Definition: UIElement.h:493
Urho3D::Localization::GetNumLanguages
int GetNumLanguages() const
Return the number of languages.
Definition: Localization.h:43
Urho3D::Light::ValidateShadowBias
void ValidateShadowBias()
Validate shadow bias.
Definition: Light.h:345
Urho3D::View::basePassIndex_
unsigned basePassIndex_
Index of the opaque forward base pass.
Definition: View.h:423
Urho3D::AnimationTriggerPoint::time_
float time_
Trigger time.
Definition: Animation.h:111
Urho3D::AnimatedSprite2D::GetAnimation
const String & GetAnimation() const
Return animation name.
Definition: AnimatedSprite2D.h:88
Urho3D::Input::mouseMode_
MouseMode mouseMode_
Determines the mode of mouse behaviour.
Definition: Input.h:410
Urho3D::UIElement::SetMaxWidth
void SetMaxWidth(int width)
Set maximum width.
Definition: UIElement.cpp:637
Urho3D::Terrain::SetSpacing
void SetSpacing(const Vector3 &spacing)
Set vertex (XZ) and height (Y) spacing.
Definition: Terrain.cpp:197
Urho3D::Input::touchEmulation_
bool touchEmulation_
Touch emulation mode flag.
Definition: Input.h:418
Urho3D::ScrollBar::rightRect_
IntRect rightRect_
Right button image rect.
Definition: ScrollBar.h:114
Urho3D::Network::RegisterRemoteEvent
void RegisterRemoteEvent(StringHash eventType)
Register a remote event as allowed to be received. There is also a fixed blacklist of events that can...
Definition: Network.cpp:592
Urho3D::Drawable::GetWorldBoundingBox
const BoundingBox & GetWorldBoundingBox()
Return world-space bounding box.
Definition: Drawable.cpp:253
Urho3D::Serializable::SaveXML
virtual bool SaveXML(XMLElement &dest) const
Save as XML data. Return true if successful.
Definition: Serializable.cpp:507
Urho3D::XPathQuery::Evaluate
XPathResultSet Evaluate(const XMLElement &element) const
Definition: XMLElement.cpp:1194
Urho3D::Network::simulatedLatency_
int simulatedLatency_
Simulated latency (send delay) in milliseconds.
Definition: Network.h:166
Urho3D::AnimatedModel::GetMorphVertexBuffers
const Vector< SharedPtr< VertexBuffer > > & GetMorphVertexBuffers() const
Return all morph vertex buffers.
Definition: AnimatedModel.h:130
Urho3D::LuaScript::RemoveEventHandlersExcept
void RemoveEventHandlersExcept(const Vector< String > &exceptionNames) override
Remove all scripted event handlers, except those listed.
Definition: LuaScript.cpp:218
Urho3D::MessageBox::messageText_
Text * messageText_
Message text element.
Definition: MessageBox.h:71
Urho3D::UIElement::SetUseDerivedOpacity
void SetUseDerivedOpacity(bool enable)
Set whether parent elements' opacity affects opacity. Default true.
Definition: UIElement.cpp:882
Urho3D::XMLElement::SetBoundingBox
bool SetBoundingBox(const BoundingBox &value)
Set a BoundingBox attribute.
Definition: XMLElement.cpp:325
Urho3D::AnimationController::GetNetAnimationsAttr
const PODVector< unsigned char > & GetNetAnimationsAttr() const
Return animations attribute for network replication.
Definition: AnimationController.cpp:761
Urho3D::NavigationMesh::GetCellHeight
float GetCellHeight() const
Return cell height.
Definition: NavigationMesh.h:204
Urho3D::ScriptInstance::HandleScriptEvent
void HandleScriptEvent(StringHash eventType, VariantMap &eventData)
Handle an event in script.
Definition: ScriptInstance.cpp:932
Urho3D::ParticleEmitter::Reset
void Reset()
Reset the particle emitter completely. Removes current particles, sets emitting state on,...
Definition: ParticleEmitter.cpp:331
Urho3D::IKSolver::GetFeature
bool GetFeature(Feature feature) const
Test if a certain feature is enabled (see IKSolver::Feature).
Definition: IKSolver.cpp:149
Urho3D::Spriter::SpriterInstance::UpdateMainlineKey
void UpdateMainlineKey()
Update mainline key.
Definition: SpriterInstance2D.cpp:238
Urho3D::DecalSet::UpdateBuffers
void UpdateBuffers()
Rewrite decal vertex and index buffers.
Definition: DecalSet.cpp:1011
Urho3D::Connection::port_
unsigned short port_
Remote endpoint port.
Definition: Connection.h:321
Urho3D::Slider::OnHover
void OnHover(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse hover.
Definition: Slider.cpp:84
Urho3D::Deserializer::ReadVariantVector
VariantVector ReadVariantVector()
Read a variant vector.
Definition: Deserializer.cpp:398
Urho3D::AM_COMPONENTID
@ AM_COMPONENTID
Attribute is a component ID and may need rewriting.
Definition: Attribute.h:51
Urho3D::Object::UnsubscribeFromEvent
void UnsubscribeFromEvent(StringHash eventType)
Unsubscribe from an event.
Definition: Object.cpp:198
Urho3D::Camera::UpdateProjection
void UpdateProjection() const
Recalculate projection matrix.
Definition: Camera.cpp:648
Urho3D::Audio::playing_
bool playing_
Playing flag.
Definition: Audio.h:143
Urho3D::Database
Database subsystem. Manage database connections.
Definition: Database.h:43
Urho3D::PhysicsWorld2D::ContactInfo::nodeA_
SharedPtr< Node > nodeA_
Node A.
Definition: PhysicsWorld2D.h:261
Urho3D::PListValue::GetValueVector
const PListValueVector & GetValueVector() const
Return value vector.
Definition: PListFile.cpp:247
Urho3D::HeightfieldData::heightData_
SharedArrayPtr< float > heightData_
Height data. On LOD level 0 the original height data will be used.
Definition: CollisionShape.h:131
Urho3D::Shader::NormalizeDefines
String NormalizeDefines(const String &defines)
Sort the defines and strip extra spaces to prevent creation of unnecessary duplicate shader variation...
Definition: Shader.cpp:208
Urho3D::TextureFrame::TextureFrame
TextureFrame()
Construct with default values.
Definition: ParticleEffect.h:89
Urho3D::CustomGeometry::~CustomGeometry
~CustomGeometry() override
Destruct.
Urho3D::Frustum::DefineOrtho
void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4 &transform=Matrix3x4::IDENTITY)
Define with orthographic projection parameters and a transform matrix.
Definition: Frustum.cpp:136
Urho3D::PODVector::Front
const T & Front() const
Return const first element.
Definition: Vector.h:1135
Urho3D::CrowdManager::GetExcludeFlags
unsigned short GetExcludeFlags(unsigned queryFilterType) const
Get the exclude flags for the specified query filter type.
Definition: CrowdManager.cpp:492
Urho3D::Terrain::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Terrain.cpp:120
Urho3D::BatchQueue::SortFrontToBack2Pass
void SortFrontToBack2Pass(PODVector< Batch * > &batches)
Sort batches front to back while also maintaining state sorting.
Definition: Batch.cpp:782
Urho3D::Texture::autoResolve_
bool autoResolve_
Multisampling autoresolve flag.
Definition: Texture.h:241
Urho3D::Graphics::GetTextureUnitName
const String & GetTextureUnitName(TextureUnit unit)
Return texture unit name by index.
Definition: OGLGraphics.cpp:2166
Urho3D::HashMap::Contains
bool Contains(const T &key) const
Return whether contains a pair with key.
Definition: HashMap.h:558
Urho3D::Variant::Variant
Variant(const StringVector &value)
Construct from a string vector.
Definition: Variant.h:463
Urho3D::LineEdit::GetCursorPosition
unsigned GetCursorPosition() const
Return cursor position.
Definition: LineEdit.h:93
Urho3D::BoundingBox::Define
void Define(const Vector3 &min, const Vector3 &max)
Define from minimum and maximum vectors.
Definition: BoundingBox.h:156
Urho3D::LightQueryResult::numSplits_
unsigned numSplits_
Shadow map split count.
Definition: View.h:76
Urho3D::Camera::SetLodBias
void SetLodBias(float bias)
Set LOD bias.
Definition: Camera.cpp:171
Urho3D::AnimatedModel::GetSkeleton
Skeleton & GetSkeleton()
Return skeleton.
Definition: AnimatedModel.h:103
Urho3D::AnimationSet2D::spriterFileSprites_
HashMap< unsigned, SharedPtr< Sprite2D > > spriterFileSprites_
Spriter sprites.
Definition: AnimationSet2D.h:120
Urho3D::IKSolver::UPDATE_ACTIVE_POSE
@ UPDATE_ACTIVE_POSE
Should be enabled if you are using IK on an animated model, along with disabling USE_ORIGINAL_POSE.
Definition: IKSolver.h:129
Urho3D::Model::loadVBData_
Vector< VertexBufferDesc > loadVBData_
Vertex buffer data for asynchronous loading.
Definition: Model.h:226
Urho3D::LuaFunction::PushInt
void PushInt(int value)
Push int to stack.
Definition: LuaFunction.cpp:102
Urho3D::UI::GetCursorPosition
IntVector2 GetCursorPosition() const
Return cursor position.
Definition: UI.cpp:769
Urho3D::Time::frameNumber_
unsigned frameNumber_
Frame number.
Definition: Timer.h:123
Urho3D::PackageFile::PackageFile
PackageFile(Context *context)
Construct.
Definition: PackageFile.cpp:32
Urho3D::PODVector::Erase
Iterator Erase(const Iterator &start, const Iterator &end)
Erase a range by iterators. Return iterator to the next element.
Definition: Vector.h:967
Urho3D::ConstraintFriction2D::GetMaxForce
float GetMaxForce() const
Set max force.
Definition: ConstraintFriction2D.h:54
Urho3D::TileMapObject2D::size_
Vector2 size_
Size (for rectangle and ellipse).
Definition: TileMapDefs2D.h:218
Urho3D::View::litBasePassIndex_
unsigned litBasePassIndex_
Index of the litbase pass.
Definition: View.h:429
Urho3D::ParticleEmitter::GetAutoRemoveMode
AutoRemoveMode GetAutoRemoveMode() const
Return automatic removal mode on particle effect completion.
Definition: ParticleEmitter.h:103
Urho3D::FontFace
Font face description.
Definition: FontFace.h:64
Urho3D::Graphics::stencilRef_
unsigned stencilRef_
Stencil test reference value.
Definition: Graphics.h:835
Urho3D::ScrollView::contentElement_
SharedPtr< UIElement > contentElement_
Content element.
Definition: ScrollView.h:151
Urho3D::DecalSet::AssignBoneNodes
void AssignBoneNodes()
Find bones after loading.
Definition: DecalSet.cpp:1105
Urho3D::FileSelector::SetDefaultStyle
void SetDefaultStyle(XMLFile *style)
Set fileselector UI style.
Definition: FileSelector.cpp:143
Urho3D::View::ProcessShadowCasters
void ProcessShadowCasters(LightQueryResult &query, const PODVector< Drawable * > &drawables, unsigned splitIndex)
Process shadow casters' visibilities and build their combined view- or projection-space bounding box.
Definition: View.cpp:2379
Urho3D::Vector::DoInsertElements
Iterator DoInsertElements(unsigned pos, RandomIteratorT start, RandomIteratorT end, Tag)
Insert elements into the vector using copy or move constructor.
Definition: Vector.h:616
Urho3D::CollisionPolygon2D::vertices_
PODVector< Vector2 > vertices_
Vertices.
Definition: CollisionPolygon2D.h:73
Urho3D::VertexBuffer::VertexBuffer
VertexBuffer(Context *context, bool forceHeadless=false)
Construct. Optionally force headless (no GPU-side buffer) operation.
Definition: VertexBuffer.cpp:36
Urho3D::WeakPtr::AddRef
void AddRef()
Add a weak reference to the object pointed to.
Definition: Ptr.h:510
Urho3D::TileMapLayer2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: TileMapLayer2D.cpp:46
Urho3D::Obstacle::~Obstacle
~Obstacle() override
Destruct.
Definition: Obstacle.cpp:48
Urho3D::Graphics::GetRGFloat16Format
static unsigned GetRGFloat16Format()
Return the API-specific RG 16-bit float texture format.
Definition: OGLGraphics.cpp:2625
Urho3D::StaticSprite2D::SetCustomMaterial
void SetCustomMaterial(Material *customMaterial)
Set custom material.
Definition: StaticSprite2D.cpp:225
Urho3D::TmxFile2D::AddLayer
void AddLayer(unsigned index, TmxLayer2D *layer)
Add layer at index, if index > number of layers then append to end.
Definition: TmxFile2D.cpp:542
Urho3D::Model::GetGeometryBoneMappings
const Vector< PODVector< unsigned > > & GetGeometryBoneMappings() const
Return geometery bone mappings.
Definition: Model.h:185
Urho3D::UIElement::SetHovering
void SetHovering(bool enable)
Set hovering state.
Definition: UIElement.cpp:1810
Urho3D::NavigationMesh::regionMergeSize_
float regionMergeSize_
Region merge size.
Definition: NavigationMesh.h:328
Urho3D::UniquePtr::Detach
T * Detach()
Detach pointer from UniquePtr without destroying.
Definition: Ptr.h:635
Urho3D::PODVector::operator+=
PODVector< T > & operator+=(const T &rhs)
Add-assign an element.
Definition: Vector.h:749
Urho3D::FileSelector::titleLayout
UIElement * titleLayout
Title layout.
Definition: FileSelector.h:151
Urho3D::SplinePath::GetSpeed
float GetSpeed() const
Get the movement Speed.
Definition: SplinePath.h:79
Urho3D::Terrain::occlusionLodLevel_
unsigned occlusionLodLevel_
LOD level used for occlusion.
Definition: Terrain.h:289
Urho3D::BiasParameters::BiasParameters
BiasParameters(float constantBias, float slopeScaledBias, float normalOffset=0.0f)
Construct with initial values.
Definition: Light.h:62
Urho3D::UIElement::elementEventSender_
bool elementEventSender_
Flag whether node should send child added / removed events by itself.
Definition: UIElement.h:817
Urho3D::DropDownList::OnSetEditable
void OnSetEditable() override
React to editable status change.
Definition: DropDownList.cpp:149
Urho3D::PhysicsWorld2D::DrawTransform
void DrawTransform(const b2Transform &xf) override
Draw a transform. Choose your own length scale.
Definition: PhysicsWorld2D.cpp:264
Urho3D::WeakPtr
Weak pointer template class with intrusive reference counting. Does not keep the object pointed to al...
Definition: Ptr.h:263
Urho3D::Input::GetMouseMoveWheel
int GetMouseMoveWheel() const
Return mouse wheel movement since last frame.
Definition: Input.h:256
Urho3D::FontGlyph::y_
short y_
Y position in texture.
Definition: FontFace.h:42
Urho3D::ShaderVariation::LoadByteCode
bool LoadByteCode(const String &binaryShaderName)
Load bytecode from a file. Return true if successful.
Definition: OGLShaderVariation.cpp:199
Urho3D::Skeleton::~Skeleton
~Skeleton()
Destruct.
Urho3D::UIElement::Detach
void Detach()
Detach from parent.
Definition: UIElement.cpp:2222
Urho3D::Octree::HandleRenderUpdate
void HandleRenderUpdate(StringHash eventType, VariantMap &eventData)
Handle render update in case of headless execution.
Definition: Octree.cpp:578
Urho3D::Camera::GetViewSpaceSplitFrustum
Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
Return split frustum in view space.
Definition: Camera.cpp:360
Urho3D::Constraint::otherPosition_
Vector3 otherPosition_
Constraint other body position.
Definition: Constraint.h:185
Urho3D::Graphics::windowIcon_
WeakPtr< Image > windowIcon_
Window icon image.
Definition: Graphics.h:716
Urho3D::ParticleEmitter2D::SetEmitting
void SetEmitting(bool enable)
Set whether should be emitting. If the state was changed, also resets the emission period timer.
Definition: ParticleEmitter2D.cpp:168
Urho3D::HashSet::ConstIterator
Hash set node const iterator.
Definition: HashSet.h:113
Urho3D::CursorShapeInfo::systemCursor_
int systemCursor_
System cursor index.
Definition: Cursor.h:90
Urho3D::HashSet
Hash set template class.
Definition: HashSet.h:35
Urho3D::ScrollBar::GetOrientation
Orientation GetOrientation() const
Return scrollbar orientation.
Definition: ScrollBar.cpp:201
Urho3D::WorkQueue::PurgePool
void PurgePool()
Purge the pool to reduce allocation where its unneeded.
Definition: WorkQueue.cpp:368
Urho3D::RaycastVehicle::SetEngineForce
void SetEngineForce(int wheel, float force)
Set engine force for the wheel.
Definition: RaycastVehicle.cpp:569
Urho3D::Network::OnServerConnected
void OnServerConnected(const SLNet::AddressOrGUID &address)
Handle server connection.
Definition: Network.cpp:988
Urho3D::Serializer::WriteVariantMap
bool WriteVariantMap(const VariantMap &value)
Write a variant map.
Definition: Serializer.cpp:353
Urho3D::Sphere::IsInside
Intersection IsInside(const Vector3 &point) const
Test if a point is inside.
Definition: Sphere.h:156
Urho3D::Material::GetCullMode
CullMode GetCullMode() const
Return normal culling mode.
Definition: Material.h:223
Urho3D::StaticSprite2D::GetBlendMode
BlendMode GetBlendMode() const
Return blend mode.
Definition: StaticSprite2D.h:86
Urho3D::Node::SetWorldDirection
void SetWorldDirection(const Vector3 &direction)
Set forward direction in world space.
Definition: Node.cpp:523
Urho3D::CollisionShape::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: CollisionShape.cpp:947
Urho3D::Polyhedron::Transformed
Polyhedron Transformed(const Matrix3 &transform) const
Return transformed with a 3x3 matrix.
Definition: Polyhedron.cpp:257
Urho3D::SharedArrayPtr::SharedArrayPtr
SharedArrayPtr()
Construct a null shared array pointer.
Definition: ArrayPtr.h:38
Urho3D::Serializable::SetInstanceDefault
void SetInstanceDefault(bool enable)
Set instance-level default flag.
Definition: Serializable.h:89
Urho3D::UI::SetFontOversampling
void SetFontOversampling(int oversampling)
Set the oversampling (horizonal stretching) used to improve subpixel font rendering....
Definition: UI.cpp:728
Urho3D::String::Contains
bool Contains(const String &str, bool caseSensitive=true) const
Return whether contains a specific occurrence of a string.
Definition: Str.h:442
Urho3D::Camera::GetSplitFrustum
Frustum GetSplitFrustum(float nearClip, float farClip) const
Return frustum split by custom near and far clip distances.
Definition: Camera.cpp:310
Urho3D::HashSet::Iterator::operator->
const T * operator->() const
Point to the key.
Definition: HashSet.h:106
Urho3D::HashMap::ConstIterator::ConstIterator
ConstIterator(const Iterator &rhs)
Construct from a non-const iterator.
Definition: HashMap.h:168
Urho3D::Sprite2D::~Sprite2D
~Sprite2D() override
Destruct.
Urho3D::BoxOctreeQuery::BoxOctreeQuery
BoxOctreeQuery(PODVector< Drawable * > &result, const BoundingBox &box, unsigned char drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
Construct with bounding box and query parameters.
Definition: OctreeQuery.h:119
Urho3D::TmxLayer2D::GetTmxFile
TmxFile2D * GetTmxFile() const
Return tmx file.
Definition: TmxFile2D.cpp:50
Urho3D::ParticleEffect::GetActiveTime
float GetActiveTime() const
Return emission active period length (0 = infinite).
Definition: ParticleEffect.h:269
Urho3D::Model::GetGeometryCenter
const Vector3 & GetGeometryCenter(unsigned index) const
Return geometry center by index.
Definition: Model.h:179
Urho3D::UnknownComponent::binaryAttributes_
PODVector< unsigned char > binaryAttributes_
Binary attributes.
Definition: UnknownComponent.h:99
Urho3D::Input::SetMouseMode
void SetMouseMode(MouseMode mode, bool suppressEvent=false)
Set the mouse mode.
Definition: Input.cpp:848
Urho3D::Profiler
Hierarchical performance profiler subsystem.
Definition: Profiler.h:172
Urho3D::RaycastVehicle::coordinateSystem_
IntVector3 coordinateSystem_
Coordinate system.
Definition: RaycastVehicle.h:192
Urho3D::StaticModel::SetModelAttr
void SetModelAttr(const ResourceRef &value)
Set model attribute.
Definition: StaticModel.cpp:373
Urho3D::ScrollBar
Scroll bar UI element with forward and back buttons.
Definition: ScrollBar.h:34
Urho3D::ConvexData::vertexCount_
unsigned vertexCount_
Number of vertices.
Definition: CollisionShape.h:117
Urho3D::Particle::size_
Vector2 size_
Original billboard size.
Definition: ParticleEmitter.h:38
Urho3D::Material::GetRenderOrder
unsigned char GetRenderOrder() const
Return render order.
Definition: Material.h:241
Urho3D::RenderPathCommand::passIndex_
unsigned passIndex_
Scene pass index. Filled by View.
Definition: RenderPath.h:146
Urho3D::File
File opened either through the filesystem or from within a package file.
Definition: File.h:62
Urho3D::ModelMorph::name_
String name_
Morph name.
Definition: Model.h:57
Urho3D::PerThreadSceneResult::minZ_
float minZ_
Scene minimum Z value.
Definition: View.h:102
Urho3D::RibbonTrail::lastUpdateFrameNumber_
unsigned lastUpdateFrameNumber_
Rendering framenumber on which was last updated.
Definition: RibbonTrail.h:237
Urho3D::View::GetOccluders
const PODVector< Drawable * > & GetOccluders() const
Return occluder objects.
Definition: View.h:166
Urho3D::CrowdManager::GetRandomPoint
Vector3 GetRandomPoint(int queryFilterType, dtPolyRef *randomRef=nullptr)
Return a random point on the navigation mesh using the crowd initialized query extent (based on maxAg...
Definition: CrowdManager.cpp:411
Urho3D::Terrain::HandleHeightMapReloadFinished
void HandleHeightMapReloadFinished(StringHash eventType, VariantMap &eventData)
Handle heightmap image reload finished.
Definition: Terrain.cpp:1440
Urho3D::Drawable::GetSortValue
float GetSortValue() const
Return sorting value.
Definition: Drawable.h:266
Urho3D::Localization::GetLanguageIndex
int GetLanguageIndex() const
Return the index number of current language. The index is determined by the order of loading.
Definition: Localization.h:46
Urho3D::NamedPipe::isServer_
bool isServer_
Server mode flag.
Definition: NamedPipe.h:74
Urho3D::ListBase
Doubly-linked list base class.
Definition: ListBase.h:93
Urho3D::HashMap::operator[]
U & operator[](const T &key)
Index the map. Create a new pair if key not found.
Definition: HashMap.h:332
Urho3D::BillboardSet::GetAnimationLodBias
float GetAnimationLodBias() const
Return animation LOD bias.
Definition: BillboardSet.h:134
Urho3D::Zone::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: Zone.cpp:69
Urho3D::Zone::GetAmbientColor
const Color & GetAmbientColor() const
Return zone's own ambient color, disregarding gradient mode.
Definition: Zone.h:77
Urho3D::ConstraintRope2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintRope2D.cpp:47
Urho3D::Input::SetScreenKeyboardVisible
void SetScreenKeyboardVisible(bool enable)
Show or hide on-screen keyboard on platforms that support it. When shown, keypresses from it are deli...
Definition: Input.cpp:1180
Urho3D::FocusParameters::autoSize_
bool autoSize_
Auto-size (reduce resolution when far away) flag.
Definition: Light.h:142
Urho3D::Input::toggleFullscreen_
bool toggleFullscreen_
Fullscreen toggle flag.
Definition: Input.h:400
Urho3D::Graphics::SetTextureParametersDirty
void SetTextureParametersDirty()
Dirty texture parameters of all textures (when global settings change.)
Definition: OGLGraphics.cpp:1601
Urho3D::PListValueMap
HashMap< String, PListValue > PListValueMap
PList value map.
Definition: PListFile.h:49
Urho3D::RigidBody2D::GetAngularVelocity
float GetAngularVelocity() const
Return angular velocity.
Definition: RigidBody2D.cpp:543
Urho3D::EventHandler::EventHandler
EventHandler(Object *receiver, void *userData=nullptr)
Construct with specified receiver and userdata.
Definition: Object.h:251
Urho3D::Light::SetColor
void SetColor(const Color &color)
Set color.
Definition: Light.cpp:284
Urho3D::TmxImageLayer2D::sprite_
SharedPtr< Sprite2D > sprite_
Sprite.
Definition: TmxFile2D.h:153
Urho3D::Serializable::AllocateNetworkState
void AllocateNetworkState()
Allocate network attribute state.
Definition: Serializable.cpp:712
Urho3D::Color::ChannelMask::g_
unsigned g_
Green channel mask. If zero, green channel is set to 0.
Definition: Color.h:42
Urho3D::FocusParameters::nonUniform_
bool nonUniform_
Non-uniform focusing flag.
Definition: Light.h:140
Urho3D::NavigationMesh::GetPartitionType
NavmeshPartitionType GetPartitionType() const
Return Partition Type.
Definition: NavigationMesh.h:258
Urho3D::Light::SetShadowNearFarRatio
void SetShadowNearFarRatio(float nearFarRatio)
Set shadow camera near/far clip distance ratio for spot and point lights. Does not affect directional...
Definition: Light.cpp:347
Urho3D::SharedArrayPtr::operator*
T & operator*() const
Dereference the array.
Definition: ArrayPtr.h:106
Urho3D::TileMapInfo2D::ConvertPosition
Vector2 ConvertPosition(const Vector2 &position) const
Convert tmx position to Urho position.
Definition: TileMapDefs2D.cpp:50
Urho3D::Scene::CleanupConnection
void CleanupConnection(Connection *connection)
Clean up all references to a network connection that is about to be removed.
Definition: Scene.cpp:1111
Urho3D::UIElement::editable_
bool editable_
Value editable flag.
Definition: UIElement.h:706
Urho3D::CompressedLevel::dataSize_
unsigned dataSize_
Total data size in bytes.
Definition: Image.h:73
Urho3D::UIElement::SetDeepEnabled
void SetDeepEnabled(bool enable)
Set enabled state on self and child elements. Elements' own enabled state is remembered (IsEnabledSel...
Definition: UIElement.cpp:893
Urho3D::FileSelector::HandleFileSelected
void HandleFileSelected(StringHash eventType, VariantMap &eventData)
Handle file selected from the list.
Definition: FileSelector.cpp:403
Urho3D::Terrain::south_
WeakPtr< Terrain > south_
South neighbor terrain.
Definition: Terrain.h:261
Urho3D::TileMapObject2D::HasProperty
bool HasProperty(const String &name) const
Return has property.
Definition: TileMapDefs2D.cpp:208
Urho3D::ParticleEffect2D::GetMaxRadiusVariance
float GetMaxRadiusVariance() const
Return max radius variance.
Definition: ParticleEffect2D.h:212
Urho3D::PODVector::End
ConstIterator End() const
Return const iterator to the end.
Definition: Vector.h:1129
Urho3D::Node::SetWorldPosition2D
void SetWorldPosition2D(float x, float y)
Set position in world space (for Urho2D).
Definition: Node.h:191
Urho3D::HiresTimer::GetUSec
long long GetUSec(bool reset)
Return elapsed microseconds and optionally reset.
Definition: Timer.cpp:220
Urho3D::CollisionCircle2D
2D circle collision component.
Definition: CollisionCircle2D.h:31
Urho3D::Model::geometries_
Vector< Vector< SharedPtr< Geometry > > > geometries_
Geometries.
Definition: Model.h:214
Urho3D::CustomGeometry::CreateQuadsFromBuffer
void CreateQuadsFromBuffer(const Vector< Vector3 > &pointList, size_t zIterations, size_t thetaIterations, bool connectTail=false)
Helper Function Creating 3D Meshes (connectTail = true), connect the endLinePoint to the start)
Definition: CustomGeometry.cpp:422
Urho3D::ScrollBar::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: ScrollBar.cpp:221
Urho3D::NavigationPathPoint
Definition: NavigationMesh.h:81
Urho3D::AllocatorNode::next_
AllocatorNode * next_
Next free node.
Definition: Allocator.h:57
Urho3D::LineEdit::SetCursorMovable
void SetCursorMovable(bool enable)
Set whether can move cursor with arrows or mouse, default true.
Definition: LineEdit.cpp:522
Urho3D::Graphics::GetCurrentMonitor
int GetCurrentMonitor() const
Returns the index of the display containing the center of the window on success or a negative error c...
Definition: Graphics.cpp:320
Urho3D::ResourceCache::GetResourceRouter
ResourceRouter * GetResourceRouter(unsigned index) const
Return a resource router by index.
Definition: ResourceCache.cpp:800
Urho3D::XMLElement::SetIntRect
bool SetIntRect(const String &name, const IntRect &value)
Set an IntRect attribute.
Definition: XMLElement.cpp:382
Urho3D::Texture2D
2D texture resource.
Definition: Texture2D.h:36
Urho3D::ValueAnimation::GetEndTime
float GetEndTime() const
Return end time.
Definition: ValueAnimation.h:126
Urho3D::CA_STATE_WALKING
@ CA_STATE_WALKING
The agent is traversing a normal navigation mesh polygon.
Definition: CrowdAgent.h:54
Urho3D::ShaderVariation::GetOwner
Shader * GetOwner() const
Return the owner resource.
Definition: ShaderVariation.cpp:75
Urho3D::HashBase::tail_
HashNodeBase * tail_
List tail node pointer.
Definition: HashBase.h:151
Urho3D::IntVector3::Length
float Length() const
Return length.
Definition: Vector3.h:156
Urho3D::Zone::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: Zone.cpp:247
Urho3D::TileMapObject2D::GetPosition
const Vector2 & GetPosition() const
Return position.
Definition: TileMapDefs2D.h:180
Urho3D::ConstraintPrismatic2D::GetUpperTranslation
float GetUpperTranslation() const
Return upper translation.
Definition: ConstraintPrismatic2D.h:73
Urho3D::UI::focusElement_
WeakPtr< UIElement > focusElement_
Currently focused element.
Definition: UI.h:359
Urho3D::UIElement::SetName
void SetName(const String &name)
Set name.
Definition: UIElement.cpp:513
Urho3D::CollisionShape::retryCreation_
bool retryCreation_
Shape creation retry flag if attributes initially set without scene.
Definition: CollisionShape.h:318
Urho3D::Renderer::drawShadows_
bool drawShadows_
Draw shadows flag.
Definition: Renderer.h:590
Urho3D::ParticleEffect2D::SetRadialAcceleration
void SetRadialAcceleration(float radialAcceleration)
Set radial acceleration.
Definition: ParticleEffect2D.cpp:344
Urho3D::Graphics::Draw
void Draw(PrimitiveType type, unsigned vertexStart, unsigned vertexCount)
Draw non-indexed geometry.
Definition: OGLGraphics.cpp:844
Urho3D::CrowdAgent::GetHeight
float GetHeight() const
Get the agent's height.
Definition: CrowdAgent.h:160
Urho3D::HashSet::HashSet
HashSet(HashSet< T > &&set) noexcept
Move-construct from another hash set.
Definition: HashSet.h:192
Urho3D::Pass::SetCullMode
void SetCullMode(CullMode mode)
Set culling mode override. By default culling mode is read from the material instead....
Definition: Technique.cpp:104
Urho3D::Renderer::SetDefaultTechnique
void SetDefaultTechnique(Technique *technique)
Set default non-textured material technique.
Definition: Renderer.cpp:306
Urho3D::HashMap::KeyValue::KeyValue
KeyValue(const T &first, const U &second)
Construct with key and value.
Definition: HashMap.h:54
Urho3D::Input::initialized_
bool initialized_
Initialized flag.
Definition: Input.h:430
Urho3D::Connection::GetIdentity
VariantMap & GetIdentity()
Return client identity.
Definition: Connection.h:177
Urho3D::CollisionShape2D::GetCategoryBits
int GetCategoryBits() const
Return filter category bits.
Definition: CollisionShape2D.h:74
Urho3D::NavigationMesh::numTilesZ_
int numTilesZ_
Number of tiles in Z direction.
Definition: NavigationMesh.h:342
Urho3D::Obstacle
Obstacle for dynamic navigation mesh.
Definition: Obstacle.h:34
Urho3D::FrustumOctreeQuery
Frustum octree query.
Definition: OctreeQuery.h:136
Urho3D::Drawable::GetVertexLights
const PODVector< Light * > & GetVertexLights() const
Return per-vertex lights.
Definition: Drawable.h:278
Urho3D::Drawable::viewMask_
unsigned viewMask_
View mask.
Definition: Drawable.h:353
Urho3D::CollisionChain2D::GetVertexCount
unsigned GetVertexCount() const
Return vertex count.
Definition: CollisionChain2D.h:57
Urho3D::Vector3::ToString
String ToString() const
Return as string.
Definition: Vector3.cpp:52
Urho3D::ProfilerBlock::intervalCount_
unsigned intervalCount_
Calls during current profiler interval.
Definition: Profiler.h:162
Urho3D::GraphicsImpl::depthTextures_
HashMap< unsigned, SharedPtr< Texture2D > > depthTextures_
Map for additional depth textures, to emulate Direct3D9 ability to mix render texture and backbuffer ...
Definition: OGLGraphicsImpl.h:150
Urho3D::Intersection
Intersection
Intersection test result.
Definition: MathDefs.h:62
Urho3D::ParticleEffect::AddColorFrame
void AddColorFrame(const ColorFrame &colorFrame)
Add a color frame sorted in the correct position based on time.
Definition: ParticleEffect.cpp:616
Urho3D::XMLElement::SetResourceRefList
bool SetResourceRefList(const ResourceRefList &value)
Set a resource reference list attribute.
Definition: XMLElement.cpp:455
Urho3D::PackageFile::GetNumFiles
unsigned GetNumFiles() const
Return number of files.
Definition: PackageFile.h:71
Urho3D::ShaderVariation::GetCompilerOutput
const String & GetCompilerOutput() const
Return compile error/warning string.
Definition: ShaderVariation.h:132
Urho3D::Mutex::Release
void Release()
Release the mutex.
Definition: Mutex.cpp:99
Urho3D::UI::doubleClickElement_
WeakPtr< UIElement > doubleClickElement_
UI element last clicked for tracking double clicks.
Definition: UI.h:419
Urho3D::IndexBuffer
Hardware index buffer.
Definition: IndexBuffer.h:34
Urho3D::DebugHud::GetMemoryText
Text * GetMemoryText() const
Return memory text.
Definition: DebugHud.h:85
Urho3D::FileSelector::EnterFile
bool EnterFile()
Enter a directory or confirm a file. Return true if a directory entered.
Definition: FileSelector.cpp:347
Urho3D::Light::GetShapeTexture
Texture * GetShapeTexture() const
Return spotlight attenuation texture.
Definition: Light.h:292
Urho3D::Vector3::IsNaN
bool IsNaN() const
Return whether any component is NaN.
Definition: Vector3.h:417
Urho3D::RenderSurface::surface_
void * surface_
Direct3D9 surface.
Definition: RenderSurface.h:132
Urho3D::RibbonTrail::transforms_
Matrix3x4 transforms_
Transform matrices for position and orientation.
Definition: RibbonTrail.h:209
Urho3D::CrowdAgent::maxSpeed_
float maxSpeed_
Agent's max Velocity.
Definition: CrowdAgent.h:218
Urho3D::OcclusionBatch::drawCount_
unsigned drawCount_
Index or vertex count.
Definition: OcclusionBuffer.h:80
Urho3D::GPUObject
Base class for GPU resources.
Definition: GPUObject.h:42
Urho3D::VertexBuffer::discardLock_
bool discardLock_
Discard lock flag. Used by OpenGL only.
Definition: VertexBuffer.h:172
Urho3D::Log::level_
int level_
Logging level.
Definition: Log.h:124
Urho3D::Node::GetComponents
const Vector< SharedPtr< Component > > & GetComponents() const
Return all components.
Definition: Node.h:543
Urho3D::ParticleEffect2D::GetFinishParticleSizeVariance
float GetFinishParticleSizeVariance() const
Return finish particle size variance.
Definition: ParticleEffect2D.h:200
Urho3D::ScrollBar::ScrollBar
ScrollBar(Context *context)
Construct.
Definition: ScrollBar.cpp:42
Urho3D::OctreeQueryResult::node_
Node * node_
Scene node.
Definition: OctreeQuery.h:172
Urho3D::LightPSVariation
LightPSVariation
Light pixel shader variations.
Definition: Renderer.h:89
Urho3D::ParticleEffect::GetRandomDirection
Vector3 GetRandomDirection() const
Return random direction.
Definition: ParticleEffect.cpp:790
Urho3D::Spline::SetInterpolationMode
void SetInterpolationMode(InterpolationMode interpolationMode)
Set the interpolation mode.
Definition: Spline.h:89
Urho3D::Texture2DArray::SetData
bool SetData(unsigned layer, unsigned level, int x, int y, int width, int height, const void *data)
Set data either partially or fully on a layer's mip level. Return true if successful.
Definition: OGLTexture2DArray.cpp:103
Urho3D::AnimatedModel::updateInvisible_
bool updateInvisible_
Update animation when invisible flag.
Definition: AnimatedModel.h:243
Urho3D::TmxLayer2D::GetName
const String & GetName() const
Return name.
Definition: TmxFile2D.h:51
Urho3D::Console::background_
SharedPtr< BorderImage > background_
Background.
Definition: Console.h:145
Urho3D::Thread::SetPriority
void SetPriority(int priority)
Set thread priority. The thread must have been started first.
Definition: Thread.cpp:118
Urho3D::FocusMode
FocusMode
UI element focus mode.
Definition: UIElement.h:72
Urho3D::ParticleEffect::IsFixedScreenSize
bool IsFixedScreenSize() const
Return whether billboards are fixed screen size.
Definition: ParticleEffect.h:245
Urho3D::Audio::Audio
Audio(Context *context)
Construct.
Definition: Audio.cpp:55
Urho3D::ScriptInstanceMethod
ScriptInstanceMethod
Inbuilt scripted component methods.
Definition: ScriptInstance.h:41
Urho3D::UIBatch::element_
UIElement * element_
Element this batch represents.
Definition: UIBatch.h:77
Urho3D::Color::ToVector4
Vector4 ToVector4() const
Return RGBA as a four-dimensional vector.
Definition: Color.h:165
Urho3D::Texture::GetLevelDepth
int GetLevelDepth(unsigned level) const
Return mip level depth, or 0 if level does not exist.
Definition: Texture.cpp:143
Urho3D::RigidBody2D::constraints_
Vector< WeakPtr< Constraint2D > > constraints_
Constraints.
Definition: RigidBody2D.h:183
Urho3D::Variant::Variant
Variant(const Color &value)
Construct from a color.
Definition: Variant.h:403
Urho3D::Material::shaderParameterHash_
unsigned shaderParameterHash_
Shader parameter hash value.
Definition: Material.h:309
Urho3D::Sign
T Sign(T value)
Return the sign of a float (-1, 0 or 1).
Definition: MathDefs.h:95
Urho3D::Pass::vertexShaderDefineExcludes_
String vertexShaderDefineExcludes_
Vertex shader define excludes.
Definition: Technique.h:174
Urho3D::Graphics::EndDumpShaders
void EndDumpShaders()
End dumping shader variations names.
Definition: Graphics.cpp:366
Urho3D::TmxLayer2D::type_
TileMapLayerType2D type_
Layer type.
Definition: TmxFile2D.h:77
Urho3D::ObjectFactoryImpl
Template implementation of the object factory.
Definition: Object.h:232
Urho3D::Animation::SetLength
void SetLength(float length)
Set animation length.
Definition: Animation.cpp:295
Urho3D::AnimatedModel::morphVertexBuffers_
Vector< SharedPtr< VertexBuffer > > morphVertexBuffers_
Morph vertex buffers.
Definition: AnimatedModel.h:215
Urho3D::ConstraintWheel2D::GetMotorSpeed
float GetMotorSpeed() const
Return motor speed.
Definition: ConstraintWheel2D.h:71
Urho3D::Graphics::viewport_
IntRect viewport_
Viewport coordinates.
Definition: Graphics.h:797
Urho3D::Light::GetFadeDistance
float GetFadeDistance() const
Return fade start distance.
Definition: Light.h:262
Urho3D::Sprite2D::GetHotSpot
const Vector2 & GetHotSpot() const
Return hot spot.
Definition: Sprite2D.h:71
Urho3D::Octant::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest)
Draw bounds to the debug graphics recursively.
Definition: Octree.cpp:207
Urho3D::Variant::Variant
Variant(const PODVector< unsigned char > &value)
Construct from a buffer.
Definition: Variant.h:421
Urho3D::List::ReserveNode
Node * ReserveNode()
Reserve a node.
Definition: List.h:475
Urho3D::ScriptInstance::subscribed_
bool subscribed_
Subscribed to scene update events flag.
Definition: ScriptInstance.h:210
Urho3D::Variant::Variant
Variant(const VariantVector &value)
Construct from a variant vector.
Definition: Variant.h:451
Urho3D::Skeleton::Skeleton
Skeleton()
Construct an empty skeleton.
Definition: Skeleton.cpp:33
Urho3D::Context::ReleaseSDL
void ReleaseSDL()
Indicate that you are done with using SDL. Must be called after using RequireSDL().
Definition: Context.cpp:283
Urho3D::ProgressBar::GetShowPercentText
bool GetShowPercentText() const
Returns the flag to display the percent text.
Definition: ProgressBar.h:84
Urho3D::Menu::popup_
SharedPtr< UIElement > popup_
Popup element.
Definition: Menu.h:90
Urho3D::Deserializer::ReadIntVector2
IntVector2 ReadIntVector2()
Read an IntVector2.
Definition: Deserializer.cpp:145
Urho3D::CollisionShape::SetCone
void SetCone(float diameter, float height, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a cone.
Definition: CollisionShape.cpp:654
Urho3D::Image::GetCompressedFormat
CompressedFormat GetCompressedFormat() const
Return compressed format.
Definition: Image.h:177
Urho3D::WorkQueue::paused_
bool paused_
Paused flag. Indicates the queue mutex being locked to prevent worker threads using up CPU time.
Definition: WorkQueue.h:144
Urho3D::NavigationMesh::SetPadding
void SetPadding(const Vector3 &padding)
Set padding of the navigation mesh bounding box. Having enough padding allows to add geometry on the ...
Definition: NavigationMesh.cpp:318
Urho3D::ProfilerBlock::End
void End()
End timing.
Definition: Profiler.h:81
Urho3D::SplinePath::GetPosition
Vector3 GetPosition() const
Get the parent Node's last position on the spline.
Definition: SplinePath.h:85
Urho3D::PhysicsWorld2D::EndContact
void EndContact(b2Contact *contact) override
Called when two fixtures cease to touch.
Definition: PhysicsWorld2D.cpp:121
Urho3D::CompressedLevel::blockSize_
unsigned blockSize_
Block size in bytes.
Definition: Image.h:71
Urho3D::Variant::emptyResourceRef
static const ResourceRef emptyResourceRef
Empty resource reference.
Definition: Variant.h:1385
Urho3D::XMLElement::GetNode
pugi::xml_node_struct * GetNode() const
Return pugixml xml_node_struct.
Definition: XMLElement.h:288
Urho3D::Application::ErrorExit
void ErrorExit(const String &message=String::EMPTY)
Show an error message (last log message if empty), terminate the main loop, and set failure exit code...
Definition: Application.cpp:110
Urho3D::StringHash::Reverse
String Reverse() const
Return string which has specific hash value. Return first string if many (in order of calculation)....
Definition: StringHash.cpp:100
Urho3D::Plane::ReflectionMatrix
Matrix3x4 ReflectionMatrix() const
Return a reflection matrix.
Definition: Plane.cpp:50
Urho3D::USE_FIXEDPOSTUPDATE
@ USE_FIXEDPOSTUPDATE
Bitmask for using the physics post-update event.
Definition: LogicComponent.h:44
Urho3D::LuaFile::~LuaFile
~LuaFile() override
Destruct.
Urho3D::CollisionShape::customGeometryID_
unsigned customGeometryID_
CustomGeometry component ID. 0 if not creating the convex hull / triangle mesh from a CustomGeometry.
Definition: CollisionShape.h:312
Urho3D::Script::scriptNestingLevel_
unsigned scriptNestingLevel_
Current script execution nesting level.
Definition: Script.h:147
Urho3D::ProgressBar::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: ProgressBar.cpp:71
Urho3D::UIElement::CreateChild
UIElement * CreateChild(StringHash type, const String &name=String::EMPTY, unsigned index=M_MAX_UNSIGNED)
Create and add a child element and return it.
Definition: UIElement.cpp:1271
Urho3D::ScrollView::UpdatePanelSize
void UpdatePanelSize()
Resize panel based on scrollbar visibility.
Definition: ScrollView.cpp:432
Urho3D::FileSelector::GetFilter
const String & GetFilter() const
Return current filter.
Definition: FileSelector.cpp:266
Urho3D::Graphics::GetScissorTest
bool GetScissorTest() const
Return whether scissor test is enabled.
Definition: Graphics.h:534
Urho3D::Texture3D
3D texture resource.
Definition: Texture3D.h:34
Urho3D::String::String
String() noexcept
Construct empty.
Definition: Str.h:53
Urho3D::AttributeHandle
Attribute handle returned by Context::RegisterAttribute and used to chain attribute setup calls.
Definition: Attribute.h:120
Urho3D::RigidBody2D::SetBodyType
void SetBodyType(BodyType2D type)
Set body type.
Definition: RigidBody2D.cpp:105
Urho3D::StringHash::value_
unsigned value_
Hash value.
Definition: StringHash.h:112
Urho3D::InstanceData::instancingData_
const void * instancingData_
Instancing data buffer.
Definition: Batch.h:128
Urho3D::Matrix4::SetTranslation
void SetTranslation(const Vector3 &translation)
Set translation elements.
Definition: Matrix4.h:482
Urho3D::ConstraintFriction2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintFriction2D.cpp:46
Urho3D::Serializer::WriteStringVector
bool WriteStringVector(const StringVector &value)
Write a variant vector.
Definition: Serializer.cpp:344
Urho3D::Terrain::recreateTerrain_
bool recreateTerrain_
Terrain needs regeneration flag.
Definition: Terrain.h:325
Urho3D::Drawable2D::SetOrderInLayer
void SetOrderInLayer(int orderInLayer)
Set order in layer.
Definition: Drawable2D.cpp:88
Urho3D::CeilToInt
int CeilToInt(T x)
Round value up.
Definition: MathDefs.h:231
Urho3D::LuaFunction::PushVariant
void PushVariant(const Variant &variant, const char *asType=nullptr)
Push variant to stack.
Definition: LuaFunction.cpp:144
Urho3D::Graphics::~Graphics
~Graphics() override
Destruct. Release the Direct3D11 device and close the window.
Definition: OGLGraphics.cpp:322
Urho3D::Object::FindEventHandler
EventHandler * FindEventHandler(StringHash eventType, EventHandler **previous=nullptr) const
Find the first event handler with no specific sender.
Definition: Object.cpp:461
Urho3D::Text::GetAutoLocalizable
bool GetAutoLocalizable() const
Return auto localizable mode.
Definition: Text.h:148
Urho3D::Zone::SetFogStart
void SetFogStart(float start)
Set fog start distance.
Definition: Zone.cpp:118
Urho3D::Geometry::GetLodDistance
float GetLodDistance() const
Return LOD distance.
Definition: Geometry.h:98
Urho3D::RigidBody::DisableMassUpdate
void DisableMassUpdate()
Disable mass update. Call this to optimize performance when adding or editing multiple collision shap...
Definition: RigidBody.cpp:588
Urho3D::Color::Luma
float Luma() const
Return the 'grayscale' representation of RGB values, as used by JPEG and PAL/NTSC among others.
Definition: Color.h:174
Urho3D::PhysicsWorld::IsSimulating
bool IsSimulating() const
Return whether is currently inside the Bullet substep loop.
Definition: PhysicsWorld.h:284
Urho3D::TriangleMeshData::infoMap_
UniquePtr< btTriangleInfoMap > infoMap_
Bullet triangle info map.
Definition: CollisionShape.h:88
Urho3D::Input::textInput_
String textInput_
String for text input.
Definition: Input.h:380
Urho3D::DecalVertex::tangent_
Vector4 tangent_
Tangent.
Definition: DecalSet.h:68
Urho3D::Time::GetSystemTime
static unsigned GetSystemTime()
Get system time as milliseconds.
Definition: Timer.cpp:162
Urho3D::Vector3::Normalized
Vector3 Normalized() const
Return normalized to unit length.
Definition: Vector3.h:423
Urho3D::ResourceCache::UpdateResourceGroup
void UpdateResourceGroup(StringHash type)
Update a resource group. Recalculate memory use and release resources if over memory budget.
Definition: ResourceCache.cpp:1033
Urho3D::UI::HandleMouseButtonDown
void HandleMouseButtonDown(StringHash eventType, VariantMap &eventData)
Handle mouse button down event.
Definition: UI.cpp:1759
Urho3D::JSONValue::GetCString
const char * GetCString(const char *defaultValue="") const
Return C string value. Default to empty string literal.
Definition: JSONValue.h:204
Urho3D::GraphicsImpl::constantBuffers_
ConstantBuffer * constantBuffers_[MAX_SHADER_PARAMETER_GROUPS *2]
Currently bound constant buffers.
Definition: OGLGraphicsImpl.h:144
Urho3D::Node::SetWorldTransform2D
void SetWorldTransform2D(const Vector2 &position, float rotation, float scale)
Set position, rotation, and uniform scale in world space as an atomic operation (for Urho2D).
Definition: Node.h:228
Urho3D::DynamicNavigationMesh::ReleaseNavigationMesh
void ReleaseNavigationMesh() override
Release the navigation mesh, query, and tile cache.
Definition: DynamicNavigationMesh.cpp:1057
Urho3D::Graphics::cullMode_
CullMode cullMode_
Hardware culling mode.
Definition: Graphics.h:809
Urho3D::JSONValue::SetVariantValue
void SetVariantValue(const Variant &variant, Context *context=nullptr)
Set variant value, context must provide for resource ref.
Definition: JSONValue.cpp:406
Urho3D::Octant::GetOrCreateChild
Octant * GetOrCreateChild(unsigned index)
Return or create a child octant.
Definition: Octree.cpp:99
Urho3D::ListView::GetHierarchyMode
bool GetHierarchyMode() const
Return whether hierarchy mode enabled.
Definition: ListView.h:153
Urho3D::FileSelectorEntry::directory_
bool directory_
Directory flag.
Definition: FileSelector.h:47
Urho3D::HashBase::MAX_LOAD_FACTOR
static const unsigned MAX_LOAD_FACTOR
Maximum load factor.
Definition: HashBase.h:106
Urho3D::SplinePath::CalculateLength
void CalculateLength()
Calculate the length of the SplinePath. Used for movement calculations.
Definition: SplinePath.cpp:341
Urho3D::TileMapLayer2D::SetTileLayer
void SetTileLayer(const TmxTileLayer2D *tileLayer)
Set tile layer.
Definition: TileMapLayer2D.cpp:338
Urho3D::Console::focusOnShow_
bool focusOnShow_
Flag for automatically focusing the line edit on showing the console.
Definition: Console.h:191
Urho3D::CustomVariantValueImpl::CustomVariantValueImpl
CustomVariantValueImpl(const T &value)
Construct from value.
Definition: Variant.h:233
Urho3D::Constraint::SetCFM
void SetCFM(float cfm)
Set constraint force mixing parameter. Zero = leave to default.
Definition: Constraint.cpp:314
Urho3D::FrameBufferObject::drawBuffers_
unsigned drawBuffers_
Draw buffer bits.
Definition: OGLGraphicsImpl.h:95
Urho3D::String::Append
String & Append(const String &str)
Append a string.
Definition: Str.cpp:308
Urho3D::ScenePassInfo
Scene render pass info.
Definition: View.h:80
Urho3D::Light::SetRadius
void SetRadius(float radius)
Set area light radius. Greater than zero activates area light mode. Works only with PBR shaders.
Definition: Light.cpp:296
Urho3D::Variant::Variant
Variant(const char *type, const char *value)
Construct from type and value.
Definition: Variant.h:536
Urho3D::LineEdit::HandleDefocused
void HandleDefocused(StringHash eventType, VariantMap &eventData)
Handle being defocused.
Definition: LineEdit.cpp:650
Urho3D::View::GetBaseBatches
void GetBaseBatches()
Get unlit batches.
Definition: View.cpp:1192
Urho3D::Texture::height_
int height_
Texture height.
Definition: Texture.h:219
Urho3D::CollisionShape2D::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: CollisionShape2D.cpp:65
Urho3D::Window::ValidatePosition
void ValidatePosition()
Validate window position.
Definition: Window.cpp:403
Urho3D::Renderer::GetReuseShadowMaps
bool GetReuseShadowMaps() const
Return whether shadow maps are reused.
Definition: Renderer.h:304
Urho3D::CrowdManager::ResetCrowdTarget
void ResetCrowdTarget(Node *node=nullptr)
Reset any crowd target for all crowd agents found in the specified node. Defaulted to scene node.
Definition: CrowdManager.cpp:226
Urho3D::UI::RenderToTextureData::rootElement_
WeakPtr< UIElement > rootElement_
UIElement to be rendered into texture.
Definition: UI.h:251
Urho3D::Menu::OnHidePopup
virtual void OnHidePopup()
React to the popup being hidden.
Definition: Menu.h:58
Urho3D::HttpRequest::Seek
unsigned Seek(unsigned position) override
Set position from the beginning of the stream. Not supported.
Definition: HttpRequest.cpp:270
Urho3D::Node::SetPosition
void SetPosition(const Vector3 &position)
Set position in parent space. If the scene node is on the root level (is child of the scene itself),...
Definition: Node.cpp:442
Urho3D::Texture::GetLevelHeight
int GetLevelHeight(unsigned level) const
Return mip level width, or 0 if level does not exist.
Definition: Texture.cpp:136
Urho3D::Scene::GetVarNamesAttr
String GetVarNamesAttr() const
Return node user variable reverse mappings.
Definition: Scene.cpp:1076
Urho3D::VertexBuffer::lockScratchData_
void * lockScratchData_
Scratch buffer for fallback locking.
Definition: VertexBuffer.h:166
Urho3D::GPUObject::GetGraphics
Graphics * GetGraphics() const
Return the graphics subsystem associated with this GPU object.
Definition: GPUObject.cpp:73
Urho3D::UIElement::GetBatchesWithOffset
void GetBatchesWithOffset(IntVector2 &offset, PODVector< UIBatch > &batches, PODVector< float > &vertexData, IntRect currentScissor)
Get UI rendering batches with a specified offset. Also recurse to child elements.
Definition: UIElement.cpp:1832
Urho3D::FocusParameters::quantize_
float quantize_
Focus quantization.
Definition: Light.h:144
Urho3D::TileMapInfo2D::GetMapHeight
float GetMapHeight() const
return map height.
Definition: TileMapDefs2D.cpp:40
Urho3D::BatchQueue::Draw
void Draw(View *view, Camera *camera, bool markToStencil, bool usingLightOptimization, bool allowDepthWrite) const
Draw.
Definition: Batch.cpp:848
Urho3D::UIBatch::AddQuad
void AddQuad(float x, float y, float width, float height, int texOffsetX, int texOffsetY, int texWidth=0, int texHeight=0)
Add a quad.
Definition: UIBatch.cpp:78
Urho3D::UIElement::opacity_
float opacity_
Opacity.
Definition: UIElement.h:797
Urho3D::BiasParameters::slopeScaledBias_
float slopeScaledBias_
Slope scaled bias.
Definition: Light.h:75
Urho3D::String::Front
char Front() const
Return first char, or 0 if empty.
Definition: Str.h:392
Urho3D::ConstraintWheel2D::SetFrequencyHz
void SetFrequencyHz(float frequencyHz)
Set frequency Hz.
Definition: ConstraintWheel2D.cpp:129
Urho3D::BorderImage::BorderImage
BorderImage(Context *context)
Construct.
Definition: BorderImage.cpp:38
Urho3D::Scene::resolver_
SceneResolver resolver_
Node and component ID resolver for asynchronous loading.
Definition: Scene.h:296
Urho3D::CustomGeometry::DefineTangent
void DefineTangent(const Vector4 &tangent)
Define a vertex tangent.
Definition: CustomGeometry.cpp:577
Urho3D::Constraint2D::ownerBody_
WeakPtr< RigidBody2D > ownerBody_
Owner body.
Definition: Constraint2D.h:98
Urho3D::DynamicNavigationMesh::HandleSceneSubsystemUpdate
void HandleSceneSubsystemUpdate(StringHash eventType, VariantMap &eventData)
Trigger the tile cache to make updates to the nav mesh if necessary.
Definition: DynamicNavigationMesh.cpp:1153
Urho3D::CollisionBox2D::size_
Vector2 size_
Size.
Definition: CollisionBox2D.h:72
Urho3D::Zone::Zone
Zone(Context *context)
Construct.
Definition: Zone.cpp:50
Urho3D::HashSet::Node::Next
Node * Next() const
Return next node.
Definition: HashSet.h:54
Urho3D::ScriptInstance::RemoveEventHandlersExcept
void RemoveEventHandlersExcept(const PODVector< StringHash > &exceptions) override
Remove all scripted event handlers, except those listed.
Definition: ScriptInstance.cpp:401
Urho3D::BatchQueue::SetInstancingData
void SetInstancingData(void *lockedData, unsigned stride, unsigned &freeIndex)
Pre-set instance data of all groups. The vertex buffer must be big enough to hold all data.
Definition: Batch.cpp:842
Urho3D::Node::GetDerivedComponents
void GetDerivedComponents(PODVector< T * > &dest, bool recursive=false, bool clearVector=true) const
Return components derived from class.
Definition: Node.h:779
Urho3D::BufferedSoundStream::position_
unsigned position_
Byte position in the front most buffer.
Definition: BufferedSoundStream.h:64
Urho3D::BorderImage::hoverOffset_
IntVector2 hoverOffset_
Offset to image rectangle on hover.
Definition: BorderImage.h:125
Urho3D::ConstraintRevolute2D::SetEnableLimit
void SetEnableLimit(bool enableLimit)
Set enable limit.
Definition: ConstraintRevolute2D.cpp:71
Urho3D::String::String
String(const String &str)
Construct from another string.
Definition: Str.h:61
Urho3D::StaticSprite2D::flipX_
bool flipX_
Flip X.
Definition: StaticSprite2D.h:148
Urho3D::Graphics::GetTextureUnit
TextureUnit GetTextureUnit(const String &name)
Return texture unit index by name.
Definition: OGLGraphics.cpp:2157
Urho3D::Camera::orthoSize_
float orthoSize_
Orthographic view size.
Definition: Camera.h:254
Urho3D::NavigationMesh::SetMeshName
void SetMeshName(const String &newName)
Set the name of this navigation mesh.
Definition: NavigationMesh.cpp:222
Urho3D::CollisionPolygon2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CollisionPolygon2D.cpp:46
Urho3D::Connection::ProcessPackageInfo
void ProcessPackageInfo(int msgID, MemoryBuffer &msg)
Process a SyncPackagesInfo message from server.
Definition: Connection.cpp:1630
Urho3D::ResourceCache::AddPackageFile
bool AddPackageFile(PackageFile *package, unsigned priority=PRIORITY_LAST)
Add a package file for loading resources from. Optional priority parameter which will control search ...
Definition: ResourceCache.cpp:136
Urho3D::Deserializer::ReadFileID
String ReadFileID()
Read a four-letter file ID.
Definition: Deserializer.cpp:263
Urho3D::ParticleEffect::SetInactiveTime
void SetInactiveTime(float time)
Set emission inactive period length (0 = infinite).
Definition: ParticleEffect.cpp:515
Urho3D::Material::Material
Material(Context *context)
Construct.
Definition: Material.cpp:198
Urho3D::AttributeInfo::mode_
AttributeModeFlags mode_
Attribute mode: whether to use for serialization, network replication, or both.
Definition: Attribute.h:112
Urho3D::Node::GetRotation2D
float GetRotation2D() const
Return rotation in parent space (for Urho2D).
Definition: Node.h:386
Urho3D::RenderSurface::SetResolveDirty
void SetResolveDirty(bool enable)
Set or clear the need resolve flag. Called internally by Graphics.
Definition: RenderSurface.h:123
Urho3D::CrowdManager::GetNumAreas
unsigned GetNumAreas(unsigned queryFilterType) const
Get the number of configured area in the specified query filter type.
Definition: CrowdManager.cpp:448
Urho3D::AnimationController::IsAtEnd
bool IsAtEnd(const String &name) const
Return whether an animation is at its end. Will return false if the animation is not active at all.
Definition: AnimationController.cpp:472
Urho3D::FLIP_HORIZONTAL
static const unsigned FLIP_HORIZONTAL
Tile flipping flags.
Definition: TileMapDefs2D.h:124
Urho3D::CollisionShape2D::GetMassCenter
Vector2 GetMassCenter() const
Return mass center.
Definition: CollisionShape2D.cpp:277
Urho3D::Connection::SetRotation
void SetRotation(const Quaternion &rotation)
Set the observer rotation for interest management, to be sent to the server. Note: not used by the Ne...
Definition: Connection.cpp:237
Urho3D::ConstraintPrismatic2D::GetAxis
const Vector2 & GetAxis() const
Return axis.
Definition: ConstraintPrismatic2D.h:64
Urho3D::AllocatorBlock::capacity_
unsigned capacity_
Number of nodes in this block.
Definition: Allocator.h:45
Urho3D::XMLElement::GetMatrix3x4
Matrix3x4 GetMatrix3x4(const String &name) const
Return a Matrix3x4 attribute, or zero matrix if missing.
Definition: XMLElement.cpp:980
Urho3D::RigidBody::IsKinematic
bool IsKinematic() const
Return kinematic mode flag.
Definition: RigidBody.h:211
Urho3D::HashMap::Back
const KeyValue & Back() const
Return last pair.
Definition: HashMap.h:619
Urho3D::ConstraintMotor2D::ConstraintMotor2D
ConstraintMotor2D(Context *context)
Construct.
Definition: ConstraintMotor2D.cpp:37
Urho3D::CrowdAgent::targetPosition_
Vector3 targetPosition_
Requested target position.
Definition: CrowdAgent.h:208
Urho3D::Vector4::IsInf
bool IsInf() const
Return whether any component is Inf.
Definition: Vector4.h:198
Urho3D::StaticModel::geometryData_
PODVector< StaticModelGeometryData > geometryData_
Extra per-geometry data.
Definition: StaticModel.h:117
Urho3D::Text3D::SetTextAlignment
void SetTextAlignment(HorizontalAlignment align)
Set row alignment.
Definition: Text3D.cpp:254
Urho3D::UnknownComponent::GetBinaryAttributes
const PODVector< unsigned char > & GetBinaryAttributes() const
Return the binary attributes. Empty when loaded with XML serialization.
Definition: UnknownComponent.h:71
Urho3D::Renderer::GetMobileShadowBiasAdd
float GetMobileShadowBiasAdd() const
Return shadow depth bias addition for mobile platforms.
Definition: Renderer.h:337
Urho3D::DbResult::GetResultImpl
const nanodbc::result & GetResultImpl() const
Return the underlying implementation result object.
Definition: ODBCResult.h:54
Urho3D::Text3D::SetRowSpacing
void SetRowSpacing(float spacing)
Set row spacing, 1.0 for original font spacing.
Definition: Text3D.cpp:261
Urho3D::AnimationState::GetStartBone
Bone * GetStartBone() const
Return start bone.
Definition: AnimationState.cpp:384
Urho3D::Matrix2::Matrix2
Matrix2(float v00, float v01, float v10, float v11) noexcept
Construct from values.
Definition: Matrix2.h:47
Urho3D::PackageFile::fileName_
String fileName_
File name.
Definition: PackageFile.h:92
Urho3D::Matrix4::Matrix4
Matrix4(const float *data) noexcept
Construct from a float array.
Definition: Matrix4.h:145
Urho3D::Script::GetScriptEngine
asIScriptEngine * GetScriptEngine() const
Return the AngelScript engine.
Definition: Script.h:86
Urho3D::RenderSurface::ResetUpdateQueued
void ResetUpdateQueued()
Reset update queued flag. Called internally.
Definition: RenderSurface.cpp:77
Urho3D::StaticSprite2D::GetCustomMaterialAttr
ResourceRef GetCustomMaterialAttr() const
Return custom material attribute.
Definition: StaticSprite2D.cpp:266
Urho3D::BillboardSet::SetFaceCameraMode
void SetFaceCameraMode(FaceCameraMode mode)
Set how the billboards should rotate in relation to the camera. Default is to follow camera rotation ...
Definition: BillboardSet.cpp:314
Urho3D::Text::textAlignment_
HorizontalAlignment textAlignment_
Row alignment.
Definition: Text.h:227
Urho3D::CollisionBox2D::CollisionBox2D
CollisionBox2D(Context *context)
Construct.
Definition: CollisionBox2D.cpp:37
Urho3D::Terrain::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: Terrain.cpp:172
Urho3D::AnimationKeyFrame::time_
float time_
Keyframe time.
Definition: Animation.h:56
Urho3D::GeometryDesc::indexCount_
unsigned indexCount_
Index count.
Definition: Model.h:104
Urho3D::Engine::initialized_
bool initialized_
Initialized flag.
Definition: Engine.h:152
Urho3D::Light::ValidateShadowFocus
void ValidateShadowFocus()
Validate shadow focus.
Definition: Light.h:341
Urho3D::BorderImage::imageRect_
IntRect imageRect_
Image rectangle.
Definition: BorderImage.h:119
Urho3D::Octant::DecDrawableCount
void DecDrawableCount()
Decrease drawable object count recursively and remove octant if it becomes empty.
Definition: Octree.h:120
Urho3D::Spriter::SpriterInstance::spatialInfo_
SpatialInfo spatialInfo_
Root spatial info.
Definition: SpriterInstance2D.h:103
Urho3D::Renderer::GetNumGeometries
unsigned GetNumGeometries(bool allViews=false) const
Return number of geometries rendered.
Definition: Renderer.cpp:573
Urho3D::SpriteSheet2D::~SpriteSheet2D
~SpriteSheet2D() override
Destruct.
Urho3D::ParticleEffect2D::GetSpeed
float GetSpeed() const
Return speed.
Definition: ParticleEffect2D.h:143
Urho3D::Rect::Left
float Left() const
Return left coordinate.
Definition: Rect.h:247
Urho3D::TileMapLayer2D::SetImageLayer
void SetImageLayer(const TmxImageLayer2D *imageLayer)
Set image layer.
Definition: TileMapLayer2D.cpp:404
Urho3D::TileMapLayer2D::Initialize
void Initialize(TileMap2D *tileMap, const TmxLayer2D *tmxLayer)
Initialize with tile map and tmx layer.
Definition: TileMapLayer2D.cpp:170
Urho3D::Connection::ProcessSceneUpdate
void ProcessSceneUpdate(int msgID, MemoryBuffer &msg)
Process a scene update message from the server. Called by Network.
Definition: Connection.cpp:588
Urho3D::Light::ValidateShadowCascade
void ValidateShadowCascade()
Validate shadow cascade.
Definition: Light.h:343
Urho3D::Context::RemoveAllAttributes
void RemoveAllAttributes()
Template version of removing all object attributes.
Definition: Context.h:269
Urho3D::Constraint::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: Constraint.cpp:100
Urho3D::Model::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Model.cpp:75
Urho3D::Octree::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Octree.cpp:329
Urho3D::Profiler::GetRootBlock
const ProfilerBlock * GetRootBlock()
Return the root profiling block.
Definition: Profiler.h:216
Urho3D::Zone::inverseWorldDirty_
bool inverseWorldDirty_
Inverse transform dirty flag.
Definition: Zone.h:138
Urho3D::SoundStream::IsSixteenBit
bool IsSixteenBit() const
Return whether data is sixteen bit.
Definition: SoundStream.h:63
Urho3D::Renderer::SetCullMode
void SetCullMode(CullMode mode, Camera *camera)
Set cull mode while taking possible projection flipping into account.
Definition: Renderer.cpp:1332
Urho3D::LuaScript::eventInvoker_
SharedPtr< LuaScriptEventInvoker > eventInvoker_
Procedural event invoker.
Definition: LuaScript.h:121
Urho3D::Graphics::GetDepthStencilFormat
static unsigned GetDepthStencilFormat()
Return the API-specific hardware depth-stencil texture format.
Definition: OGLGraphics.cpp:2673
Urho3D::ViewBatchInfo2D::materials_
Vector< SharedPtr< Material > > materials_
Materials.
Definition: Renderer2D.h:62
Urho3D::LuaScriptInstance::GetScriptAttributes
void GetScriptAttributes()
Find script object attributes.
Definition: LuaScriptInstance.cpp:524
Urho3D::List::ConstIterator
List const iterator.
Definition: List.h:107
Urho3D::JSONValue::GetNumberTypeName
String GetNumberTypeName() const
Return number type's name.
Definition: JSONValue.cpp:181
Urho3D::ParticleEffect2D::SetFinishParticleSize
void SetFinishParticleSize(float finishParticleSize)
Set finish particle size.
Definition: ParticleEffect2D.cpp:399
Urho3D::PackageDownload
Package file receive transfer.
Definition: Connection.h:68
Urho3D::IKEffector::SetTargetName
void SetTargetName(const String &nodeName)
Sets the name of the target node. The node doesn't necessarily have to exist in the scene graph....
Definition: IKEffector.cpp:105
Urho3D::VertexBufferDesc::vertexElements_
PODVector< VertexElement > vertexElements_
Vertex declaration.
Definition: Model.h:72
Urho3D::Material::GetShaderParameterAnimationInfo
ShaderParameterAnimationInfo * GetShaderParameterAnimationInfo(const String &name) const
Return shader parameter animation info.
Definition: Material.cpp:1313
Urho3D::IntVector3::RIGHT
static const IntVector3 RIGHT
(1,0,0) vector.
Definition: Vector3.h:170
Urho3D::IntVector2::IntVector2
IntVector2(int x, int y) noexcept
Construct from coordinates.
Definition: Vector2.h:43
Urho3D::UI::SetCursor
void SetCursor(Cursor *cursor)
Set cursor UI element.
Definition: UI.cpp:154
Urho3D::Pass::SetDepthWrite
void SetDepthWrite(bool enable)
Set depth write on/off.
Definition: Technique.cpp:119
Urho3D::Graphics::GetMaxBones
static unsigned GetMaxBones()
Return maximum number of supported bones for skinning.
Definition: OGLGraphics.cpp:2109
Urho3D::Sin
T Sin(T angle)
Return sine of an angle in degrees.
Definition: MathDefs.h:139
Urho3D::AttributeAnimationInfo::ApplyValue
void ApplyValue(const Variant &newValue) override
Apply new animation value to the target object. Called by Update().
Definition: Animatable.cpp:53
Urho3D::AbstractFile
A common root class for objects that implement both Serializer and Deserializer.
Definition: AbstractFile.h:32
Urho3D::XPathQuery::GetQuery
String GetQuery() const
Return query string.
Definition: XMLElement.h:390
Urho3D::RigidBody::GetRotation
Quaternion GetRotation() const
Return rigid body rotation in world space.
Definition: RigidBody.cpp:613
Urho3D::Constraint2D::joint_
b2Joint * joint_
Box2D joint.
Definition: Constraint2D.h:96
Urho3D::BoundingBox::Defined
bool Defined() const
Return true if this bounding box is defined via a previous call to Define() or Merge().
Definition: BoundingBox.h:256
Urho3D::GraphicsImpl::shaderPrograms_
ShaderProgramMap shaderPrograms_
Linked shader programs.
Definition: OGLGraphicsImpl.h:154
Urho3D::Serializer::WriteNetID
bool WriteNetID(unsigned value)
Write a 24-bit network object ID.
Definition: Serializer.cpp:394
Urho3D::Camera::SetOrthoSizeAttr
void SetOrthoSizeAttr(float orthoSize)
Set orthographic size attribute without forcing the aspect ratio.
Definition: Camera.cpp:608
Urho3D::DropDownList::SetPlaceholderText
void SetPlaceholderText(const String &text)
Set place holder text. This is the text shown when there is no selection (-1) in drop down list....
Definition: DropDownList.cpp:188
Urho3D::Renderer::SetMobileShadowBiasAdd
void SetMobileShadowBiasAdd(float add)
Set shadow depth bias addition for mobile platforms to counteract possible worse shadow map precision...
Definition: Renderer.cpp:502
Urho3D::SplinePath::SetControlledNode
void SetControlledNode(Node *controlled)
Set the Node to be moved along the SplinePath.
Definition: SplinePath.cpp:193
Urho3D::Renderer::GetLightScissor
const Rect & GetLightScissor(Light *light, Camera *camera)
Return a scissor rectangle for a light.
Definition: Renderer.cpp:1451
Urho3D::Renderer::SetMobileShadowBiasMul
void SetMobileShadowBiasMul(float mul)
Set shadow depth bias multiplier for mobile platforms to counteract possible worse shadow map precisi...
Definition: Renderer.cpp:497
Urho3D::ValueAnimation::endTime_
float endTime_
End time.
Definition: ValueAnimation.h:163
Urho3D::JSONValue::GetVariantValue
Variant GetVariantValue(VariantType type) const
Return a variant with type.
Definition: JSONValue.cpp:489
Urho3D::RaycastVehicle::AddWheel
void AddWheel(Node *wheelNode, Vector3 wheelDirection, Vector3 wheelAxle, float restLength, float wheelRadius, bool frontWheel)
Add a wheel. All parameters are relative to RigidBody / node.
Definition: RaycastVehicle.cpp:378
Urho3D::ConstraintRevolute2D::SetMaxMotorTorque
void SetMaxMotorTorque(float maxMotorTorque)
Set max motor torque.
Definition: ConstraintRevolute2D.cpp:146
Urho3D::Renderer::defaultZone_
SharedPtr< Zone > defaultZone_
Default zone.
Definition: Renderer.h:480
Urho3D::RenderPath::GetCommand
RenderPathCommand * GetCommand(unsigned index)
Return command at index, or null if does not exist.
Definition: RenderPath.h:242
Urho3D::Color::TRANSPARENT_BLACK
static const Color TRANSPARENT_BLACK
Transparent black color (black with no alpha).
Definition: Color.h:283
Urho3D::PListValue::SetString
void SetString(const String &value)
Set string.
Definition: PListFile.cpp:156
Urho3D::FocusParameters::minView_
float minView_
Minimum view size.
Definition: Light.h:146
Urho3D::JSONNT_UINT
@ JSONNT_UINT
Unsigned integer.
Definition: JSONValue.h:57
Urho3D::RaycastVehicle::GetWheelSkidInfo
float GetWheelSkidInfo(int wheel) const
Sliding factor 0 <= x <= 1.
Definition: RaycastVehicle.cpp:671
Urho3D::VectorBuffer::VectorBuffer
VectorBuffer()
Construct an empty buffer.
Urho3D::ShaderVariation::GetConstantBufferSizes
const unsigned * GetConstantBufferSizes() const
Return constant buffer data sizes.
Definition: ShaderVariation.h:135
Urho3D::IKEffector::WEIGHT_NLERP
@ WEIGHT_NLERP
Definition: IKEffector.h:54
Urho3D::RWOpsWrapper::Write
static size_t Write(SDL_RWops *context, const void *ptr, size_t size, size_t maxNum)
Write to the object. Return number of "packets" written.
Definition: RWOpsWrapper.h:109
Urho3D::AnimatedModel::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: AnimatedModel.cpp:155
Urho3D::UnknownComponent::Save
bool Save(Serializer &dest) const override
Save as binary data. Return true if successful.
Definition: UnknownComponent.cpp:175
Urho3D::Scene::GetFileName
const String & GetFileName() const
Return source file name.
Definition: Scene.h:190
Urho3D::IndexBuffer::GetIndexCount
unsigned GetIndexCount() const
Return number of indices.
Definition: IndexBuffer.h:74
Urho3D::UI::SetClipboardText
void SetClipboardText(const String &text)
Set clipboard text.
Definition: UI.cpp:632
Urho3D::UI::RenderToTextureData
Data structured used to hold data of UI elements that are rendered to texture.
Definition: UI.h:248
Urho3D::RibbonTrail::endColor_
Color endColor_
Color for end of trails.
Definition: RibbonTrail.h:225
Urho3D::ParticleEffect::velocityMin_
float velocityMin_
Particle velocity minimum.
Definition: ParticleEffect.h:403
Urho3D::Sound
Sound resource.
Definition: Sound.h:34
Urho3D::AnimatedSprite2D::entity_
String entity_
Entity name.
Definition: AnimatedSprite2D.h:130
Urho3D::Matrix3x4::ZERO
static const Matrix3x4 ZERO
Zero matrix.
Definition: Matrix3x4.h:709
Urho3D::DecalSet::skinMatrices_
PODVector< Matrix3x4 > skinMatrices_
Skinning matrices.
Definition: DecalSet.h:229
Urho3D::ConstraintRevolute2D::GetEnableLimit
bool GetEnableLimit() const
Return enable limit.
Definition: ConstraintRevolute2D.h:62
Urho3D::Network::BroadcastRemoteEvent
void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap &eventData=Variant::emptyVariantMap)
Broadcast a remote event to all client connections.
Definition: Network.cpp:535
Urho3D::Vector::Insert
Iterator Insert(const Iterator &dest, const ConstIterator &start, const ConstIterator &end)
Insert a vector partially by iterators.
Definition: Vector.h:325
Urho3D::CollisionShape::geometry_
SharedPtr< CollisionGeometryData > geometry_
Shared geometry data.
Definition: CollisionShape.h:296
Urho3D::Connection::downloads_
HashMap< StringHash, PackageDownload > downloads_
Waiting or ongoing package file receive transfers.
Definition: Connection.h:303
Urho3D::BillboardSet::SetMaterial
void SetMaterial(Material *material)
Set material.
Definition: BillboardSet.cpp:255
Urho3D::Graphics::GetForceGL2
bool GetForceGL2() const
Return whether OpenGL 2 use is forced. Effective only on OpenGL.
Definition: Graphics.h:393
Urho3D::DebugHud::profilerTimer_
Timer profilerTimer_
Profiler timer.
Definition: DebugHud.h:125
Urho3D::Image::GetData
unsigned char * GetData() const
Return pixel data.
Definition: Image.h:171
Urho3D::Audio::RemoveSoundSource
void RemoveSoundSource(SoundSource *soundSource)
Remove a sound source. Called by SoundSource.
Definition: Audio.cpp:232
Urho3D::AnimatedSprite2D::UpdateSourceBatchesSpriter
void UpdateSourceBatchesSpriter()
Update vertices for spriter animation.
Definition: AnimatedSprite2D.cpp:421
Urho3D::Matrix3::Inverse
Matrix3 Inverse() const
Return inverse.
Definition: Matrix3.cpp:41
Urho3D::VertexBuffer::vertexSize_
unsigned vertexSize_
Vertex size.
Definition: VertexBuffer.h:152
Urho3D::ParticleEffect2D::minRadiusVariance_
float minRadiusVariance_
Min radius variance.
Definition: ParticleEffect2D.h:314
Urho3D::Material::GetFillMode
FillMode GetFillMode() const
Return polygon fill mode.
Definition: Material.h:229
Urho3D::Engine::GetParameter
static const Variant & GetParameter(const VariantMap &parameters, const String &parameter, const Variant &defaultValue=Variant::EMPTY)
Get an engine startup parameter, with default value if missing.
Definition: Engine.cpp:968
Urho3D::ListBase::tail_
ListNodeBase * tail_
Tail node pointer.
Definition: ListBase.h:118
Urho3D::ScrollView::GetAutoDisableChildren
bool GetAutoDisableChildren() const
Return whether child element will be disabled while touch scrolling.
Definition: ScrollView.h:128
Urho3D::NavigationMesh::InitializeQuery
bool InitializeQuery()
Ensure that the navigation mesh query is initialized. Return true if successful.
Definition: NavigationMesh.cpp:1545
Urho3D::Image::SavePNG
bool SavePNG(const String &fileName) const
Save in PNG format. Return true if successful.
Definition: Image.cpp:1272
Urho3D::Skeleton::SetRootBoneIndex
void SetRootBoneIndex(unsigned index)
Set root bone's index.
Definition: Skeleton.cpp:115
Urho3D::OcclusionBuffer::SetView
void SetView(Camera *camera)
Set camera view to render from.
Definition: OcclusionBuffer.cpp:115
Urho3D::String::Length
unsigned Length() const
Return length.
Definition: Str.h:428
Urho3D::Scene::EndThreadedUpdate
void EndThreadedUpdate()
End a threaded update. Notify components that marked themselves for delayed dirty processing.
Definition: Scene.cpp:819
Urho3D::Material::ReleaseShaders
void ReleaseShaders()
Reset all shader pointers.
Definition: Material.cpp:1136
Urho3D::Graphics::FindBestResolutionIndex
unsigned FindBestResolutionIndex(int monitor, int width, int height, int refreshRate) const
Return index of the best resolution for requested width, height and refresh rate.
Definition: Graphics.cpp:279
Urho3D::AnimatedModel::GetGeometryBoneMappings
const Vector< PODVector< unsigned > > & GetGeometryBoneMappings() const
Return per-geometry bone mappings.
Definition: AnimatedModel.h:163
Urho3D::String::At
const char & At(unsigned index) const
Return const char at index.
Definition: Str.h:324
Urho3D::Material::alphaToCoverage_
bool alphaToCoverage_
Alpha-to-coverage flag.
Definition: Material.h:311
Urho3D::GlyphLocation::x_
float x_
X coordinate.
Definition: Text.h:67
Urho3D::JSONValue::~JSONValue
~JSONValue()
Destruct.
Definition: JSONValue.h:143
Urho3D::Text3D::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: Text3D.cpp:516
Urho3D::UIElement::GetSortChildren
bool GetSortChildren() const
Return whether should sort child elements according to priority.
Definition: UIElement.h:499
Urho3D::AttributeAnimationInfo
Attribute animation instance.
Definition: Animatable.h:38
Urho3D::Camera::zoom_
float zoom_
Zoom.
Definition: Camera.h:258
Urho3D::Graphics::SetScissorTest
void SetScissorTest(bool enable, const Rect &rect=Rect::FULL, bool borderInclusive=true)
Set scissor test.
Definition: OGLGraphics.cpp:1868
Urho3D::GPUObject::IsDataLost
bool IsDataLost() const
Return whether data is lost due to context loss.
Definition: GPUObject.h:67
Urho3D::Color::FromHSL
void FromHSL(float h, float s, float l, float a=1.0f)
Set RGBA values from specified HSL values and alpha.
Definition: Color.cpp:94
Urho3D::SplinePath
Spline for creating smooth movement based on Speed along a set of Control Points modified by the Inte...
Definition: SplinePath.h:39
Urho3D::RaycastVehicle::SetWheelSuspensionStiffness
void SetWheelSuspensionStiffness(int wheel, float stiffness)
Set suspension stiffness for particular wheel.
Definition: RaycastVehicle.cpp:452
Urho3D::IKEffector::SetTargetRotationEuler
void SetTargetRotationEuler(const Vector3 &targetRotation)
Required for the editor, sets the target rotation in euler angles.
Definition: IKEffector.cpp:146
Urho3D::Object::SubscribeToEvent
void SubscribeToEvent(StringHash eventType, EventHandler *handler)
Subscribe to an event that can be sent by any sender.
Definition: Object.cpp:142
Urho3D::OffMeshConnection::GetAreaID
unsigned GetAreaID() const
Return the user assigned area ID.
Definition: OffMeshConnection.h:72
Urho3D::Quaternion::FromEulerAngles
void FromEulerAngles(float x, float y, float z)
Define from Euler angles (in degrees). Equivalent to Y*X*Z.
Definition: Quaternion.cpp:49
Urho3D::ConstraintRope2D::otherBodyAnchor_
Vector2 otherBodyAnchor_
Other body anchor.
Definition: ConstraintRope2D.h:68
Urho3D::ParticleEffect2D::GetRotationStartVariance
float GetRotationStartVariance() const
Return rotation start variance.
Definition: ParticleEffect2D.h:233
Urho3D::ObserverPositionSendMode
ObserverPositionSendMode
Send modes for observer position/rotation. Activated by the client setting either position or rotatio...
Definition: Connection.h:102
Urho3D::File::~File
~File() override
Destruct. Close the file if open.
Definition: File.cpp:121
Urho3D::UI::GetFocusElement
UIElement * GetFocusElement() const
Return focused element.
Definition: UI.h:157
Urho3D::RenderSurface::GetTarget
unsigned GetTarget() const
Return surface's OpenGL target.
Definition: RenderSurface.h:114
Urho3D::Light::SetPerVertex
void SetPerVertex(bool enable)
Set vertex lighting mode.
Definition: Light.cpp:278
Urho3D::ResourceCache::resourceDirs_
Vector< String > resourceDirs_
Resource load directories.
Definition: ResourceCache.h:236
Urho3D::VertexBuffer::lockCount_
unsigned lockCount_
Lock number of vertices.
Definition: VertexBuffer.h:164
Urho3D::WeakPtr::WeakPtr
WeakPtr(T *ptr) noexcept
Construct from a raw pointer.
Definition: Ptr.h:314
Urho3D::ScrollBar::GetRange
float GetRange() const
Return slider range.
Definition: ScrollBar.cpp:206
Urho3D::Spriter::SpriterInstance::timelineKeys_
PODVector< SpatialTimelineKey * > timelineKeys_
Current timeline keys.
Definition: SpriterInstance2D.h:109
Urho3D::OcclusionBuffer::GetMaxTriangles
unsigned GetMaxTriangles() const
Return maximum number of triangles.
Definition: OcclusionBuffer.h:144
Urho3D::DecalSet::GetNumIndices
unsigned GetNumIndices() const
Retur number of vertex indices in the decals.
Definition: DecalSet.h:155
Urho3D::EventProfiler::active
static bool active
Profiler active. Default false.
Definition: EventProfiler.h:88
Urho3D::Vector::Resize
void Resize(unsigned newSize, const T &value)
Resize the vector and fill new elements with default value.
Definition: Vector.h:428
Urho3D::ConstraintWeld2D::GetFrequencyHz
float GetFrequencyHz() const
Return frequency Hz.
Definition: ConstraintWeld2D.h:54
Urho3D::Animatable::GetObjectAnimation
ObjectAnimation * GetObjectAnimation() const
Return object animation.
Definition: Animatable.cpp:423
Urho3D::ParticleEmitter::ApplyEffect
void ApplyEffect()
Apply not continuously updated values such as the material, the number of particles and sorting mode ...
Definition: ParticleEmitter.cpp:338
Urho3D::MemoryBuffer::Seek
unsigned Seek(unsigned position) override
Set position from the beginning of the memory area. Return actual new position.
Definition: MemoryBuffer.cpp:78
Urho3D::NetworkPriority::SetDistanceFactor
void SetDistanceFactor(float factor)
Set priority reduction distance factor. Default 0 (no effect).
Definition: NetworkPriority.cpp:67
Urho3D::OctreeQuery::result_
PODVector< Drawable * > & result_
Result vector reference.
Definition: OctreeQuery.h:65
Urho3D::RigidBody::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: RigidBody.cpp:199
Urho3D::LuaScriptInstance::GetScriptDataAttr
PODVector< unsigned char > GetScriptDataAttr() const
Get script file serialization attribute by calling a script function.
Definition: LuaScriptInstance.cpp:467
Urho3D::Terrain::occludee_
bool occludee_
Occludee flag.
Definition: Terrain.h:299
Urho3D::FlagSet::operator^
FlagSet operator^(const Enum value) const
Bitwise XOR against Enum value.
Definition: FlagSet.h:142
Urho3D::ParticleEffect2D::SetRotatePerSecondVariance
void SetRotatePerSecondVariance(float rotatePerSecondVariance)
Set rotate per second variance.
Definition: ParticleEffect2D.cpp:444
Urho3D::Sprite2D::SetRectangle
void SetRectangle(const IntRect &rectangle)
Set rectangle.
Definition: Sprite2D.cpp:118
Urho3D::PhysicsWorld::internalEdge_
bool internalEdge_
Use internal edge utility flag.
Definition: PhysicsWorld.h:352
Urho3D::AnimatedModel::boneBoundingBoxDirty_
bool boneBoundingBoxDirty_
Bone bounding box dirty flag.
Definition: AnimatedModel.h:253
Urho3D::BatchGroupKey
Instanced draw call grouping key.
Definition: Batch.h:178
Urho3D::Drawable::firstLight_
Light * firstLight_
First per-pixel light added this frame.
Definition: Drawable.h:385
Urho3D::AreaAllocator::GetWidth
int GetWidth() const
Return the current width.
Definition: AreaAllocator.h:47
Urho3D::Condition::mutex_
void * mutex_
Mutex for the event, necessary for pthreads-based implementation.
Definition: Condition.h:53
Urho3D::Console::commandLine_
UIElement * commandLine_
Container for the command line.
Definition: Console.h:149
Urho3D::PhysicsWorld::~PhysicsWorld
~PhysicsWorld() override
Destruct.
Definition: PhysicsWorld.cpp:175
Urho3D::Allocator::Reserve
T * Reserve(const T &object)
Reserve and copy-construct an object.
Definition: Allocator.h:105
Urho3D::Node::GetVar
const Variant & GetVar(StringHash key) const
Return a user variable.
Definition: Node.cpp:1395
Urho3D::ResourceCache::GetAutoReloadResources
bool GetAutoReloadResources() const
Return whether automatic resource reloading is enabled.
Definition: ResourceCache.h:187
Urho3D::DbConnection::~DbConnection
virtual ~DbConnection() override
Destruct.
Definition: ODBCConnection.cpp:53
Urho3D::String::EncodeUTF8
static void EncodeUTF8(char *&dest, unsigned unicodeChar)
Encode Unicode character to UTF8. Pointer will be incremented.
Definition: Str.cpp:895
Urho3D::Engine::CreateConsole
Console * CreateConsole()
Create the console and return it. May return null if engine configuration does not allow creation (he...
Definition: Engine.cpp:526
Urho3D::ListView::GetNumItems
unsigned GetNumItems() const
Return number of items.
Definition: ListView.cpp:828
Urho3D::Constraint2D::RecreateJoint
void RecreateJoint()
Recreate joint.
Definition: Constraint2D.cpp:180
Urho3D::UIBatch::scissor_
IntRect scissor_
Scissor rectangle.
Definition: UIBatch.h:81
Urho3D::RenderPathCommand::clearDepth_
float clearDepth_
Clear depth. Affects clear command only.
Definition: RenderPath.h:170
Urho3D::UI::SetDoubleClickInterval
void SetDoubleClickInterval(float interval)
Set UI element double click interval in seconds.
Definition: UI.cpp:639
Urho3D::Graphics::screenParams_
ScreenModeParams screenParams_
Screen mode parameters.
Definition: Graphics.h:731
Urho3D::BatchGroup::Draw
void Draw(View *view, Camera *camera, bool allowDepthWrite) const
Prepare and draw.
Definition: Batch.cpp:668
Urho3D::DropDownList
Menu UI element that displays a popup list view.
Definition: DropDownList.h:33
Urho3D::BillboardSet::IsScaled
bool IsScaled() const
Return whether scene node scale affects billboards' size.
Definition: BillboardSet.h:119
Urho3D::Renderer::GetInstancingBuffer
VertexBuffer * GetInstancingBuffer() const
Return the instancing vertex buffer.
Definition: Renderer.h:379
Urho3D::CollisionBox2D::boxShape_
b2PolygonShape boxShape_
Box shape.
Definition: CollisionBox2D.h:70
Urho3D::Matrix3::ZERO
static const Matrix3 ZERO
Zero matrix.
Definition: Matrix3.h:332
Urho3D::LineEdit::lastFontSize_
int lastFontSize_
Last used text size.
Definition: LineEdit.h:138
Urho3D::CollisionShape::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: CollisionShape.cpp:508
Urho3D::OcclusionBuffer::DrawTriangles
void DrawTriangles()
Draw submitted batches. Uses worker threads if enabled during SetSize().
Definition: OcclusionBuffer.cpp:200
Urho3D::HashMap::Populate
HashMap & Populate(const T &key, const U &value)
Populate the map using variadic template. This handles the base case.
Definition: HashMap.h:356
Urho3D::Rect::Right
float Right() const
Return right coordinate.
Definition: Rect.h:253
Urho3D::Node::GetChildrenWithTag
void GetChildrenWithTag(PODVector< Node * > &dest, const String &tag, bool recursive=false) const
Return child scene nodes with a specific tag.
Definition: Node.cpp:1279
Urho3D::Texture2DArray::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Texture2DArray.cpp:125
Urho3D::Graphics::GetHeight
int GetHeight() const
Return window height in pixels.
Definition: Graphics.h:348
Urho3D::Camera::viewMask_
unsigned viewMask_
View mask.
Definition: Camera.h:262
Urho3D::SpriteSheet2D::GetSprite
Sprite2D * GetSprite(const String &name) const
Return sprite.
Definition: SpriteSheet2D.cpp:116
Urho3D::JSONValue::Erase
void Erase(unsigned pos, unsigned length=1)
Erase a range of JSON values.
Definition: JSONValue.cpp:226
Urho3D::UI::GetClipboardText
const String & GetClipboardText() const
Return clipboard text.
Definition: UI.cpp:920
Urho3D::HashIteratorBase::GotoPrev
void GotoPrev()
Go to the previous node.
Definition: HashBase.h:86
Urho3D::SoundSource::unusedStreamSize_
int unusedStreamSize_
Unused stream bytes from previous frame.
Definition: SoundSource.h:193
Urho3D::Polyhedron::clippedVertices_
PODVector< Vector3 > clippedVertices_
Internal vector for clipped vertices.
Definition: Polyhedron.h:116
Urho3D::UIElement::colors_
Color colors_[MAX_UIELEMENT_CORNERS]
Colors.
Definition: UIElement.h:686
Urho3D::Pass::GetPixelShaderDefineExcludes
const String & GetPixelShaderDefineExcludes() const
Return pixel shader define excludes.
Definition: Technique.h:129
Urho3D::ParticleEffect::SetScaled
void SetScaled(bool enable)
Set whether scene node scale affects billboards' size.
Definition: ParticleEffect.cpp:460
Urho3D::AnimationControl::setWeight_
unsigned char setWeight_
Set weight command.
Definition: AnimationController.h:74
Urho3D::AnimatedModel::Update
void Update(const FrameInfo &frame) override
Update before octree reinsertion. Is called from a worker thread.
Definition: AnimatedModel.cpp:228
Urho3D::Slider::GetValue
float GetValue() const
Return slider current value.
Definition: Slider.h:85
Urho3D::Animatable::Animatable
Animatable(Context *context)
Construct.
Definition: Animatable.cpp:63
Urho3D::Rect::Max
Vector2 Max() const
Return right-bottom corner position.
Definition: Rect.h:244
Urho3D::PhysicsWorld::HandleSceneSubsystemUpdate
void HandleSceneSubsystemUpdate(StringHash eventType, VariantMap &eventData)
Handle the scene subsystem update event, step simulation here.
Definition: PhysicsWorld.cpp:791
Urho3D::Context::CopyBaseAttributes
void CopyBaseAttributes()
Template version of copying base class attributes to derived class.
Definition: Context.h:271
Urho3D::Variant::emptyStringVector
static const StringVector emptyStringVector
Empty string vector.
Definition: Variant.h:1393
Urho3D::OctreeQuery::viewMask_
unsigned viewMask_
Drawable layers to include.
Definition: OctreeQuery.h:69
Urho3D::Skeleton::GetBones
const Vector< Bone > & GetBones() const
Return all bones.
Definition: Skeleton.h:108
Urho3D::CustomGeometry
Custom geometry component.
Definition: CustomGeometry.h:48
Urho3D::OffMeshConnection::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: OffMeshConnection.cpp:54
Urho3D::Pass::SetBlendMode
void SetBlendMode(BlendMode mode)
Set blend mode.
Definition: Technique.cpp:99
Urho3D::UIElement::SetLayoutSpacing
void SetLayoutSpacing(int spacing)
Set layout spacing.
Definition: UIElement.cpp:1060
Urho3D::Engine::DumpResources
void DumpResources(bool dumpFileName=false)
Dump information of all resources to the log.
Definition: Engine.cpp:618
Urho3D::Graphics::OnScreenModeChanged
void OnScreenModeChanged()
Called when screen mode is successfully changed by the backend.
Definition: Graphics.cpp:569
Urho3D::UI::HandleKeyDown
void HandleKeyDown(StringHash eventType, VariantMap &eventData)
Handle keypress event.
Definition: UI.cpp:1955
Urho3D::RibbonTrail::SetSorted
void SetSorted(bool enable)
Set whether tails are sorted by distance. Default false.
Definition: RibbonTrail.cpp:836
Urho3D::Sprite::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: Sprite.cpp:110
Urho3D::PhysicsWorld2D::ContactInfo::ContactInfo
ContactInfo()
Construct.
Urho3D::Graphics::GetRGBA16Format
static unsigned GetRGBA16Format()
Return the API-specific RGBA 16-bit texture format.
Definition: OGLGraphics.cpp:2589
Urho3D::ConstraintDistance2D::SetOtherBodyAnchor
void SetOtherBodyAnchor(const Vector2 &anchor)
Set other body anchor.
Definition: ConstraintDistance2D.cpp:71
Urho3D::Network::GetServerConnection
Connection * GetServerConnection() const
Return the connection to the server. Null if not connected.
Definition: Network.cpp:668
Urho3D::ResourceCache::AddManualResource
bool AddManualResource(Resource *resource)
Add a manually created resource. Must be uniquely named within its type.
Definition: ResourceCache.cpp:162
Urho3D::Zone::lastWorldBoundingBox_
BoundingBox lastWorldBoundingBox_
Last world-space bounding box.
Definition: Zone.h:146
Urho3D::RayOctreeQuery::RayOctreeQuery
RayOctreeQuery(PODVector< RayQueryResult > &result, const Ray &ray, RayQueryLevel level=RAY_TRIANGLE, float maxDistance=M_INFINITY, unsigned char drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
Construct with ray and query parameters.
Definition: OctreeQuery.h:227
Urho3D::PODVector::Insert
Iterator Insert(const Iterator &dest, const T *start, const T *end)
Insert elements.
Definition: Vector.h:928
Urho3D::Condition::Condition
Condition()
Construct.
Definition: Condition.cpp:62
Urho3D::CrowdAgent::ignoreTransformChanges_
bool ignoreTransformChanges_
Internal flag to ignore transform changes because it came from us, used in OnCrowdAgentReposition().
Definition: CrowdAgent.h:238
Urho3D::Renderer::GetMinInstances
int GetMinInstances() const
Return minimum number of instances required in a batch group to render as instanced.
Definition: Renderer.h:316
Urho3D::AnimatedModel::SetBonesEnabledAttr
void SetBonesEnabledAttr(const VariantVector &value)
Set bones' animation enabled attribute.
Definition: AnimatedModel.cpp:806
Urho3D::Text::GetText
const String & GetText() const
Return text.
Definition: Text.h:136
Urho3D::StringHashRegister
Helper class used for StringHash reversing.
Definition: StringHashRegister.h:35
Urho3D::TypeInfo::typeName_
String typeName_
Type name.
Definition: Object.h:64
Urho3D::RibbonTrail::IsSorted
bool IsSorted() const
Return whether tails are sorted.
Definition: RibbonTrail.h:149
Urho3D::CollisionBox2D::GetAngle
float GetAngle() const
Return angle.
Definition: CollisionBox2D.h:61
Urho3D::Connection::ProcessUnknownMessage
void ProcessUnknownMessage(int msgID, MemoryBuffer &msg)
Process unknown message. All unknown messages are forwarded as an events.
Definition: Connection.cpp:1644
Urho3D::Constraint2D::GetOtherBody
RigidBody2D * GetOtherBody() const
Return other body.
Definition: Constraint2D.h:68
Urho3D::Time::Sleep
static void Sleep(unsigned mSec)
Sleep for a number of milliseconds.
Definition: Timer.cpp:180
Urho3D::SharedPtr::operator[]
T & operator[](int index)
Subscript the object if applicable.
Definition: Ptr.h:145
Urho3D::HttpRequest::HttpRequest
HttpRequest(const String &url, const String &verb, const Vector< String > &headers, const String &postData)
Construct with parameters.
Definition: HttpRequest.cpp:39
Urho3D::GraphicsImpl::activeTexture_
unsigned activeTexture_
Active texture unit.
Definition: OGLGraphicsImpl.h:116
Urho3D::UIComponent::material_
SharedPtr< Material > material_
Material that is set to the model.
Definition: UIComponent.h:67
Urho3D::Connection::packetCounter_
IntVector2 packetCounter_
Packet count in the last second, x - packets in, y - packets out.
Definition: Connection.h:343
Urho3D::DbResult::rows_
Vector< VariantVector > rows_
Fetched rows from the resultset.
Definition: ODBCResult.h:68
Urho3D::NavigationMesh::GetRegionMergeSize
float GetRegionMergeSize() const
Return region merge size.
Definition: NavigationMesh.h:222
Urho3D::AbstractFile::AbstractFile
AbstractFile()
Construct.
Definition: AbstractFile.h:36
Urho3D::Geometry::vertexCount_
unsigned vertexCount_
Number of used vertices.
Definition: Geometry.h:129
Urho3D::PhysicsWorld2D::updateEnabled_
bool updateEnabled_
Automatic simulation update enabled flag.
Definition: PhysicsWorld2D.h:236
Urho3D::Texture::GetTarget
unsigned GetTarget() const
Return texture's target. Only used on OpenGL.
Definition: Texture.h:166
Urho3D::DirtyBits::Count
unsigned Count() const
Return number of set bits.
Definition: ReplicationState.h:112
Urho3D::ParticleEmitter::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: ParticleEmitter.cpp:438
Urho3D::Console::HandleLineEditKey
void HandleLineEditKey(StringHash eventType, VariantMap &eventData)
Handle unhandled key on the line edit for scrolling the history.
Definition: Console.cpp:402
Urho3D::ResourceWithMetadata::HasMetadata
bool HasMetadata() const
Return whether the resource has metadata.
Definition: Resource.cpp:158
Urho3D::UIElement::VerifyChildAlignment
void VerifyChildAlignment()
Verify that child elements have proper alignment for layout mode.
Definition: UIElement.cpp:2228
Urho3D::Engine::SetMaxFps
void SetMaxFps(int fps)
Set maximum frames per second. The engine will sleep if FPS is higher than this.
Definition: Engine.cpp:568
Urho3D::Text3D::uiBatches_
PODVector< UIBatch > uiBatches_
Text UI batches.
Definition: Text3D.h:198
Urho3D::DebugRenderer
Debug geometry rendering component. Should be added only to the root scene node.
Definition: DebugRenderer.h:91
Urho3D::PODVector::Front
T & Front()
Return first element.
Definition: Vector.h:1132
Urho3D::HashBase::AllocateBuckets
void AllocateBuckets(unsigned size, unsigned numBuckets)
Allocate bucket head pointers + room for size and bucket count variables.
Definition: HashBase.cpp:30
Urho3D::Context::Context
Context()
Construct.
Definition: Context.cpp:123
Urho3D::Mod
T Mod(T x, T y)
Return remainder of X/Y for float values.
Definition: MathDefs.h:170
Urho3D::ParticleEffect::SetNumTextureFrames
void SetNumTextureFrames(unsigned number)
Set number of texture frames.
Definition: ParticleEffect.cpp:721
Urho3D::WeakArrayPtr::operator=
WeakArrayPtr< T > & operator=(const SharedArrayPtr< T > &rhs)
Assign from a shared array pointer.
Definition: ArrayPtr.h:264
Urho3D::IntRect::IsInside
Intersection IsInside(const IntVector2 &point) const
Test whether a point is inside.
Definition: Rect.h:409
Urho3D::Pass::IsDesktop
bool IsDesktop() const
Return whether requires desktop level hardware.
Definition: Technique.h:111
Urho3D::NavigationMesh::GetPadding
const Vector3 & GetPadding() const
Return navigation mesh bounding box padding.
Definition: NavigationMesh.h:237
Urho3D::PhysicsWorld2D::beginContactInfos_
Vector< ContactInfo > beginContactInfos_
Begin contact infos.
Definition: PhysicsWorld2D.h:278
Urho3D::UIElement::OnKey
virtual void OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers)
React to a key press.
Definition: UIElement.h:187
Urho3D::PListValue::PListValue
PListValue()
Construct.
Definition: PListFile.cpp:42
Urho3D::Vector4::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Vector4.h:213
Urho3D::ScriptFile::loadByteCodeSize_
unsigned loadByteCodeSize_
Byte code size for asynchronous loading.
Definition: ScriptFile.h:154
Urho3D::Text::text_
String text_
UTF-8 encoded text.
Definition: Text.h:225
Urho3D::Constraint::GetDisableCollision
bool GetDisableCollision() const
Return whether collisions between connected bodies are disabled.
Definition: Constraint.h:143
Urho3D::HashMap::KeyValue
Hash map key-value pair with const key.
Definition: HashMap.h:44
Urho3D::BatchQueue::geometryRemapping_
HashMap< unsigned short, unsigned short > geometryRemapping_
Geometry remapping table for 2-pass state and distance sort.
Definition: Batch.h:254
Urho3D::Sound::FixInterpolation
void FixInterpolation()
Fix interpolation by copying data from loop start to loop end (looped), or adding silence (oneshot)....
Definition: Sound.cpp:295
Urho3D::Skeleton::ResetSilent
void ResetSilent()
Reset all animating bones to initial positions without marking the nodes dirty. Requires the node dir...
Definition: Skeleton.cpp:138
Urho3D::XPathQuery::~XPathQuery
~XPathQuery()
Destruct.
Urho3D::Graphics::GetLineAntiAlias
bool GetLineAntiAlias() const
Return whether line antialiasing is enabled.
Definition: Graphics.h:528
Urho3D::PListValue::GetString
const String & GetString() const
Return string.
Definition: PListFile.cpp:207
Urho3D::ConstraintGear2D::ConstraintGear2D
ConstraintGear2D(Context *context)
Construct.
Definition: ConstraintGear2D.cpp:37
Urho3D::RenderPath::SetEnabled
void SetEnabled(const String &tag, bool active)
Enable/disable commands and rendertargets by tag.
Definition: RenderPath.cpp:363
Urho3D::ParticleEmitter::IsEmitting
bool IsEmitting() const
Return whether is currently emitting.
Definition: ParticleEmitter.h:97
Urho3D::ParticleEffect::GetMinDirection
const Vector3 & GetMinDirection() const
Return negative direction limit.
Definition: ParticleEffect.h:257
Urho3D::Component::GetDependencyNodes
virtual void GetDependencyNodes(PODVector< Node * > &dest)
Return the depended on nodes to order network updates.
Definition: Component.cpp:112
Urho3D::ConstraintMotor2D::SetLinearOffset
void SetLinearOffset(const Vector2 &linearOffset)
Set linear offset.
Definition: ConstraintMotor2D.cpp:59
Urho3D::UIElement::SetLayoutBorder
void SetLayoutBorder(const IntRect &border)
Set layout border.
Definition: UIElement.cpp:1066
Urho3D::Text3D::GetCharSize
Vector2 GetCharSize(unsigned index)
Return size of character by index.
Definition: Text3D.cpp:493
Urho3D::View::GetNumActiveOccluders
unsigned GetNumActiveOccluders() const
Return number of occluders that were actually rendered. Occluders may be rejected if running out of t...
Definition: View.h:178
Urho3D::SharedPtr::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Ptr.h:220
Urho3D::FontFace::CreateFaceTexture
SharedPtr< Texture2D > CreateFaceTexture()
Create a texture for font rendering.
Definition: FontFace.cpp:98
Urho3D::HashSet::Erase
bool Erase(const T &key)
Erase a key. Return true if was found.
Definition: HashSet.h:341
Urho3D::Renderer::views_
Vector< WeakPtr< View > > views_
Views that have been processed this frame.
Definition: Renderer.h:524
Urho3D::Sprite2D::loadTexture_
SharedPtr< Texture2D > loadTexture_
Texture used while loading.
Definition: Sprite2D.h:107
Urho3D::BackgroundLoader::WaitForResource
void WaitForResource(StringHash type, StringHash nameHash)
Wait and finish possible loading of a resource when being requested from the cache.
Urho3D::RigidBody::ApplyTorqueImpulse
void ApplyTorqueImpulse(const Vector3 &torque)
Apply torque impulse.
Definition: RigidBody.cpp:561
Urho3D::BatchGroup::instances_
PODVector< InstanceData > instances_
Instance data.
Definition: Batch.h:172
Urho3D::Graphics::GetReadableDepthFormat
static unsigned GetReadableDepthFormat()
Return the API-specific readable hardware depth format, or 0 if not supported.
Definition: OGLGraphics.cpp:2682
Urho3D::Text3D::GetNumChars
unsigned GetNumChars() const
Return number of characters.
Definition: Text3D.cpp:478
Urho3D::XMLElement::SetBool
bool SetBool(const String &name, bool value)
Set a bool attribute.
Definition: XMLElement.cpp:320
Urho3D::DebugRenderer::GetLineAntiAlias
bool GetLineAntiAlias() const
Return whether line antialiasing is enabled.
Definition: DebugRenderer.h:155
Urho3D::SmoothedTransform::SmoothedTransform
SmoothedTransform(Context *context)
Construct.
Definition: SmoothedTransform.cpp:35
Urho3D::CrowdManager::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Draw the agents' pathing debug data.
Definition: CrowdManager.cpp:134
Urho3D::ResourceCache::SetAutoReloadResources
void SetAutoReloadResources(bool enable)
Enable or disable automatic reloading of resources as files are modified. Default false.
Definition: ResourceCache.cpp:441
Urho3D::JSONValue::operator[]
JSONValue & operator[](unsigned index)
Return JSON value at index.
Definition: JSONValue.cpp:186
Urho3D::PODVector::Buffer
T * Buffer() const
Return the buffer with right type.
Definition: Vector.h:1161
Urho3D::Light::GetLightQueue
LightBatchQueue * GetLightQueue() const
Return light queue. Called by View.
Definition: Light.h:315
Urho3D::ListIteratorBase::GotoNext
void GotoNext()
Go to the next node.
Definition: ListBase.h:75
Urho3D::Image::SetData
void SetData(const unsigned char *pixelData)
Set new image data.
Definition: Image.cpp:961
Urho3D::UniquePtr::operator==
bool operator==(const UniquePtr< U > &rhs) const
Test for equality with another unique pointer.
Definition: Ptr.h:622
Urho3D::CountSetBits
unsigned CountSetBits(unsigned value)
Count the number of set bits in a mask.
Definition: MathDefs.h:271
Urho3D::FileSystem::RegisterPath
void RegisterPath(const String &pathName)
Register a path as allowed to access. If no paths are registered, all are allowed....
Definition: FileSystem.cpp:759
Urho3D::Model::GetNumGeometries
unsigned GetNumGeometries() const
Return number of geometries.
Definition: Model.h:164
Urho3D::LuaFile
Lua file.
Definition: LuaFile.h:34
Urho3D::ParticleEffect::SetColorFrame
void SetColorFrame(unsigned index, const ColorFrame &colorFrame)
Set color animation frame at index. If index is greater than number of color frames,...
Definition: ParticleEffect.cpp:639
Urho3D::TileMap2D::SetTmxFileAttr
void SetTmxFileAttr(const ResourceRef &value)
Set tile map file attribute.
Definition: TileMap2D.cpp:177
Urho3D::String::ReplaceUTF8
void ReplaceUTF8(unsigned index, unsigned unicodeChar)
Replace Unicode character at index from UTF8 content.
Definition: Str.cpp:830
Urho3D::ParticleEffect2D::blendMode_
BlendMode blendMode_
Blend mode.
Definition: ParticleEffect2D.h:320
Urho3D::GlyphLocation::GlyphLocation
GlyphLocation(float x, float y, const FontGlyph *glyph)
Construct.
Definition: Text.h:59
Urho3D::CustomVariantValue::Compare
virtual bool Compare(const CustomVariantValue &rhs) const
Compare to another custom value.
Definition: Variant.h:202
Urho3D::ConstraintGear2D::SetOtherConstraint
void SetOtherConstraint(Constraint2D *constraint)
Set other constraint.
Definition: ConstraintGear2D.cpp:70
Urho3D::Navigable::SetRecursive
void SetRecursive(bool enable)
Set whether geometry is automatically collected from child nodes. Default true.
Definition: Navigable.cpp:51
Urho3D::Graphics::Clear
void Clear(ClearTargetFlags flags, const Color &color=Color(0.0f, 0.0f, 0.0f, 0.0f), float depth=1.0f, unsigned stencil=0)
Clear any or all of rendertarget, depth buffer and stencil buffer.
Definition: OGLGraphics.cpp:640
Urho3D::Image::Save
bool Save(Serializer &dest) const override
Save the image to a stream. Regardless of original format, the image is saved as png....
Definition: Image.cpp:848
Urho3D::VectorBuffer::Resize
void Resize(unsigned size)
Set size.
Definition: VectorBuffer.cpp:130
Urho3D::NavBuildData::vertices_
PODVector< Vector3 > vertices_
Vertices from geometries.
Definition: NavBuildData.h:64
Urho3D::RenderPathCommand::GetTextureName
const String & GetTextureName(TextureUnit unit) const
Return texture resource name.
Definition: RenderPath.cpp:288
Urho3D::Menu::OnShowPopup
virtual void OnShowPopup()
React to the popup being shown.
Definition: Menu.cpp:123
Urho3D::Serializable::temporary_
bool temporary_
Temporary flag.
Definition: Serializable.h:148
Urho3D::ResourceGroup::resources_
HashMap< StringHash, SharedPtr< Resource > > resources_
Resources.
Definition: ResourceCache.h:58
Urho3D::ConstraintWheel2D::SetDampingRatio
void SetDampingRatio(float dampingRatio)
Set damping ratio.
Definition: ConstraintWheel2D.cpp:144
Urho3D::Terrain::SetLightMask
void SetLightMask(unsigned mask)
Set light mask for patches. Is and'ed with light's and zone's light mask to see if the object should ...
Definition: Terrain.cpp:428
Urho3D::HashMap::ConstIterator::operator++
ConstIterator & operator++()
Preincrement the pointer.
Definition: HashMap.h:181
Urho3D::Network::Connect
bool Connect(const String &address, unsigned short port, Scene *scene, const VariantMap &identity=Variant::emptyVariantMap)
Connect to a server using UDP protocol. Return true if connection process successfully started.
Definition: Network.cpp:369
Urho3D::OcclusionBuffer::offsetY_
float offsetY_
Y offset for viewport transform.
Definition: OcclusionBuffer.h:221
Urho3D::ParticleEffect2D::tangentialAccelVariance_
float tangentialAccelVariance_
Tangential acceleration variance.
Definition: ParticleEffect2D.h:284
Urho3D::RenderTargetInfo::tag_
String tag_
Tag name.
Definition: RenderPath.h:76
Urho3D::GraphicsImpl::GetGLContext
const SDL_GLContext & GetGLContext()
Return the GL Context.
Definition: OGLGraphicsImpl.h:108
Urho3D::UIElement::sortOrderDirty_
bool sortOrderDirty_
Child priority sorting dirty flag.
Definition: UIElement.h:807
Urho3D::Geometry::Draw
void Draw(Graphics *graphics)
Draw.
Definition: Geometry.cpp:176
Urho3D::Constraint::GetOwnBody
RigidBody * GetOwnBody() const
Return rigid body in own scene node.
Definition: Constraint.h:110
Urho3D::Rect::Rect
Rect(const float *data) noexcept
Construct from a float array.
Definition: Rect.h:63
Urho3D::Renderer::QueueRenderSurface
void QueueRenderSurface(RenderSurface *renderTarget)
Queue a render surface's viewports for rendering. Called by the surface, or by View.
Definition: Renderer.cpp:792
Urho3D::ShaderProgram::frameNumber_
unsigned frameNumber_
Shader parameter source framenumber.
Definition: OGLShaderProgram.h:109
Urho3D::ValueAnimationInfo::GetEventFrames
void GetEventFrames(float beginTime, float endTime, PODVector< const VAnimEventFrame * > &eventFrames)
Return event frames.
Definition: ValueAnimationInfo.cpp:157
Urho3D::Light::IsNegative
bool IsNegative() const
Return whether light has negative (darkening) color.
Definition: Light.h:303
Urho3D::UI::IsDragging
bool IsDragging() const
Return whether a drag is in progress.
Definition: UI.h:218
Urho3D::ShaderVariation::SetDefines
void SetDefines(const String &defines)
Set defines.
Definition: OGLShaderVariation.cpp:193
Urho3D::Engine::RunFrame
void RunFrame()
Run one frame.
Definition: Engine.cpp:471
Urho3D::Constraint::GetPhysicsWorld
PhysicsWorld * GetPhysicsWorld() const
Return physics world.
Definition: Constraint.h:101
Urho3D::ProgressBar::UpdateProgressBar
void UpdateProgressBar()
Update ProgressBar knob position & size.
Definition: ProgressBar.cpp:140
Urho3D::ShaderVariation::Create
bool Create()
Compile the shader. Return true if successful.
Definition: OGLShaderVariation.cpp:90
Urho3D::Context::AddEventReceiver
void AddEventReceiver(Object *receiver, StringHash eventType)
Add event receiver.
Definition: Context.cpp:406
Urho3D::Object::GetType
virtual StringHash GetType() const =0
Return type hash.
Urho3D::Node::GetListeners
const Vector< WeakPtr< Component > > GetListeners() const
Return listener components.
Definition: Node.h:554
Urho3D::DebugTriangle::DebugTriangle
DebugTriangle(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3, unsigned color)
Construct with start and end positions and color.
Definition: DebugRenderer.h:72
Urho3D::TileMapLayer2D::tmxLayer_
const TmxLayer2D * tmxLayer_
Tmx layer.
Definition: TileMapLayer2D.h:115
Urho3D::OffMeshConnection::GetMask
unsigned GetMask() const
Return the user assigned mask.
Definition: OffMeshConnection.h:69
Urho3D::Drawable::GetShadowDistance
float GetShadowDistance() const
Return shadow draw distance.
Definition: Drawable.h:189
Urho3D::String::Compare
int Compare(const String &str, bool caseSensitive=true) const
Return comparison result with a string.
Definition: Str.cpp:723
Urho3D::PhysicsWorld2D::SetContinuousPhysics
void SetContinuousPhysics(bool enable)
Set continuous physics.
Definition: PhysicsWorld2D.cpp:398
Urho3D::CollisionShape2D::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: CollisionShape2D.cpp:288
Urho3D::DbResult::GetNumAffectedRows
long GetNumAffectedRows() const
Return number of affected rows by the DML query or -1 if the number of affected rows is not available...
Definition: ODBCResult.h:51
Urho3D::ValueAnimationInfo::Update
bool Update(float timeStep)
Advance time position and apply. Return true when the animation is finished. No-op when the target ob...
Definition: ValueAnimationInfo.cpp:67
Urho3D::Material::specular_
bool specular_
Specular lighting flag.
Definition: Material.h:317
Urho3D::UI::ProcessClickBegin
void ProcessClickBegin(const IntVector2 &windowCursorPos, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor, bool cursorVisible)
Handle button or touch begin.
Definition: UI.cpp:1435
Urho3D::BorderImage::tiled_
bool tiled_
Tiled flag.
Definition: BorderImage.h:131
Urho3D::BillboardSet::GetMaterial
Material * GetMaterial() const
Return material.
Definition: BillboardSet.cpp:352
Urho3D::UIElement::GetEnableAnchor
bool GetEnableAnchor() const
Return whether anchor positioning & sizing is enabled.
Definition: UIElement.h:457
Urho3D::TextureCube::SetSize
bool SetSize(int size, unsigned format, TextureUsage usage=TEXTURE_STATIC, int multiSample=1)
Set size, format, usage and multisampling parameter for rendertargets. Note that cube textures always...
Definition: TextureCube.cpp:258
Urho3D::ParticleEffect2D::angleVariance_
float angleVariance_
Angle variance.
Definition: ParticleEffect2D.h:274
Urho3D::AnimatedSprite2D::UpdateSpriterAnimation
void UpdateSpriterAnimation(float timeStep)
Update spriter animation.
Definition: AnimatedSprite2D.cpp:414
Urho3D::Renderer2D::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: Renderer2D.cpp:117
Urho3D::UIElement::GetVar
const Variant & GetVar(const StringHash &key) const
Return a user variable.
Definition: UIElement.cpp:1695
Urho3D::SourceBatch::material_
SharedPtr< Material > material_
Material.
Definition: Drawable.h:98
Urho3D::Floor
T Floor(T x)
Round value down.
Definition: MathDefs.h:188
Urho3D::Renderer::SetShadowMapFilter
void SetShadowMapFilter(Object *instance, ShadowMapFilter functionPtr)
Set post processing filter to the shadow map.
Definition: Renderer.cpp:435
Urho3D::Renderer::shaderErrorDisplayed_
HashSet< Technique * > shaderErrorDisplayed_
Techniques for which missing shader error has been displayed.
Definition: Renderer.h:530
Urho3D::Tile2D::GetProperty
const String & GetProperty(const String &name) const
Return property.
Definition: TileMapDefs2D.cpp:180
Urho3D::ConstraintWheel2D::anchor_
Vector2 anchor_
Anchor.
Definition: ConstraintWheel2D.h:86
Urho3D::Octree::rayQueryDrawables_
PODVector< Drawable * > rayQueryDrawables_
Ray query temporary list of drawables.
Definition: Octree.h:214
Urho3D::UIElement::ScreenToElement
virtual IntVector2 ScreenToElement(const IntVector2 &screenPosition)
Convert screen coordinates to element coordinates.
Definition: UIElement.cpp:462
Urho3D::Pass::extraVertexShaders_
HashMap< StringHash, Vector< SharedPtr< ShaderVariation > > > extraVertexShaders_
Vertex shaders with extra defines from the renderpath.
Definition: Technique.h:182
Urho3D::UI::fontSubpixelThreshold_
float fontSubpixelThreshold_
Maxmimum font size for subpixel glyph positioning and oversampling (default is 12).
Definition: UI.h:409
Urho3D::UI::ProcessDragCancel
void ProcessDragCancel()
Handle clean up on a drag cancel.
Definition: UI.cpp:2110
Urho3D::IKSolver::AUTO_SOLVE
@ AUTO_SOLVE
Definition: IKSolver.h:165
Urho3D::Renderer::GetLightGeometry
Geometry * GetLightGeometry(Light *light)
Return volume geometry for a light.
Definition: Renderer.cpp:816
Urho3D::Context::GetEventDataMap
VariantMap & GetEventDataMap()
Return a preallocated map for event data. Used for optimization to avoid constant re-allocation of ev...
Definition: Context.cpp:241
Urho3D::BorderImage::SetBlendMode
void SetBlendMode(BlendMode mode)
Set blend mode.
Definition: BorderImage.cpp:133
Urho3D::Variant::Variant
Variant(VariantType type, const String &value)
Construct from type and value.
Definition: Variant.h:530
Urho3D::NavigationPathPointFlag
NavigationPathPointFlag
A flag representing the type of path point- none, the start of a path segment, the end of one,...
Definition: NavigationMesh.h:73
Urho3D::Graphics::GetImpl
GraphicsImpl * GetImpl() const
Return graphics implementation, which holds the actual API-specific resources.
Definition: Graphics.h:327
Urho3D::LuaScriptInstance::GetAttributes
const Vector< AttributeInfo > * GetAttributes() const override
Return attribute descriptions, or null if none defined.
Definition: LuaScriptInstance.h:78
Urho3D::Renderer::defaultTechnique_
SharedPtr< Technique > defaultTechnique_
Default non-textured material technique.
Definition: Renderer.h:478
Urho3D::DynamicNavigationMesh::WriteTiles
void WriteTiles(Serializer &dest, int x, int z) const
Write tiles data.
Definition: DynamicNavigationMesh.cpp:754
Urho3D::Sprite2D::LoadFromResourceRef
static Sprite2D * LoadFromResourceRef(Object *object, const ResourceRef &value)
Load sprite from ResourceRef.
Definition: Sprite2D.cpp:203
Urho3D::HashSet::Tail
Node * Tail() const
Return the tail node.
Definition: HashSet.h:523
Urho3D::Camera::GetAutoAspectRatio
bool GetAutoAspectRatio() const
Return auto aspect ratio flag.
Definition: Camera.h:143
Urho3D::Octree::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: Octree.cpp:341
Urho3D::Plane::Define
void Define(const Vector3 &normal, const Vector3 &point)
Define from a normal vector and a point on the plane.
Definition: Plane.h:74
Urho3D::Graphics::GetDesktopResolution
IntVector2 GetDesktopResolution(int monitor) const
Return the desktop resolution.
Definition: Graphics.cpp:303
Urho3D::Drawable::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: Drawable.cpp:374
Urho3D::ParticleEffect2D::GetStartParticleSize
float GetStartParticleSize() const
Return start particle size.
Definition: ParticleEffect2D.h:191
Urho3D::GraphicsImpl::fboDirty_
bool fboDirty_
Need FBO commit flag.
Definition: OGLGraphicsImpl.h:156
Urho3D::AnimationTriggerPoint
Animation trigger point.
Definition: Animation.h:102
Urho3D::StaticSprite2D::flipY_
bool flipY_
Flip Y.
Definition: StaticSprite2D.h:150
Urho3D::Serializable::RemoveInstanceDefault
void RemoveInstanceDefault()
Remove instance's default values if they are set previously.
Definition: Serializable.cpp:670
Urho3D::IKSolver::ApplySceneToOriginalPose
void ApplySceneToOriginalPose()
Definition: IKSolver.cpp:453
Urho3D::Text3D::SetOpacity
void SetOpacity(float opacity)
Set opacity.
Definition: Text3D.cpp:343
Urho3D::Matrix4::ZERO
static const Matrix4 ZERO
Zero matrix.
Definition: Matrix4.h:733
Urho3D::ListIteratorBase::operator==
bool operator==(const ListIteratorBase &rhs) const
Test for equality with another iterator.
Definition: ListBase.h:69
Urho3D::Texture::SetNumLevels
void SetNumLevels(unsigned levels)
Set number of requested mip levels. Needs to be called before setting size.
Definition: Texture.cpp:66
Urho3D::Node::GetScene
Scene * GetScene() const
Return scene.
Definition: Node.h:362
Urho3D::Graphics::GetSRGB
bool GetSRGB() const
Return whether the main window is using sRGB conversion on write.
Definition: Graphics.h:384
Urho3D::Terrain::GetHeight
float GetHeight(const Vector3 &worldPosition) const
Return height at world coordinates.
Definition: Terrain.cpp:555
Urho3D::SoundSource::GetAutoRemoveMode
AutoRemoveMode GetAutoRemoveMode() const
Return automatic removal mode on sound playback completion.
Definition: SoundSource.h:105
Urho3D::LOAD_SCENE_AND_RESOURCES
@ LOAD_SCENE_AND_RESOURCES
Default mode: preload resources used by the scene first, then load the scene content.
Definition: Scene.h:53
Urho3D::Input::HasFocus
bool HasFocus()
Return whether application window has input focus.
Definition: Input.h:298
Urho3D::PhysicsWorld2D::PhysicsWorld2D
PhysicsWorld2D(Context *context)
Construct.
Definition: PhysicsWorld2D.cpp:49
Urho3D::Variant::FromString
void FromString(const String &type, const String &value)
Set from typename and value strings. Pointers will be set to null, and VariantBuffer or VariantMap ty...
Definition: Variant.cpp:255
Urho3D::ParticleEmitter::ParticleEmitter
ParticleEmitter(Context *context)
Construct.
Definition: ParticleEmitter.cpp:46
Urho3D::ShaderVariation::OnDeviceLost
void OnDeviceLost() override
Mark the GPU resource destroyed on graphics context destruction.
Definition: OGLShaderVariation.cpp:50
Urho3D::DebugHud::useRendererStats_
bool useRendererStats_
Show 3D geometry primitive/batch count flag.
Definition: DebugHud.h:131
Urho3D::ValueAnimation::beginTime_
float beginTime_
Begin time.
Definition: ValueAnimation.h:161
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4(const Vector3 &translation, const Quaternion &rotation, const Vector3 &scale) noexcept
Construct from translation, rotation and nonuniform scale.
Definition: Matrix3x4.h:164
Urho3D::DecalSet::GetMaterial
Material * GetMaterial() const
Return material.
Definition: DecalSet.cpp:513
Urho3D::Vector3::ProjectOntoAxis
float ProjectOntoAxis(const Vector3 &axis) const
Project direction vector onto axis.
Definition: Vector3.h:360
Urho3D::Decal::CalculateBoundingBox
void CalculateBoundingBox()
Calculate local-space bounding box.
Definition: DecalSet.cpp:147
Urho3D::CollisionEdge2D::GetVertex2
const Vector2 & GetVertex2() const
Return vertex 2.
Definition: CollisionEdge2D.h:54
Urho3D::Constraint::cachedWorldScale_
Vector3 cachedWorldScale_
Cached world scale for determining if the constraint position needs update.
Definition: Constraint.h:189
Urho3D::ScriptFile::RemoveEventHandlers
void RemoveEventHandlers() override
Remove all scripted event handlers.
Definition: ScriptFile.cpp:249
Urho3D::PhysicsWorld::GetConvexCache
CollisionGeometryDataCache & GetConvexCache()
Return convex collision geometry cache.
Definition: PhysicsWorld.h:272
Urho3D::ParticleEffect::directionMin_
Vector3 directionMin_
Particle direction minimum.
Definition: ParticleEffect.h:379
Urho3D::HashMap::Erase
bool Erase(const T &key)
Erase a pair by key. Return true if was found.
Definition: HashMap.h:408
Urho3D::SmoothedTransform::GetTargetWorldRotation
Quaternion GetTargetWorldRotation() const
Return target rotation in world space.
Definition: SmoothedTransform.cpp:152
Urho3D::Variant::GetMatrix3x4
const Matrix3x4 & GetMatrix3x4() const
Return a Matrix3x4 or identity on type mismatch.
Definition: Variant.h:1280
Urho3D::Connection::SetLogStatistics
void SetLogStatistics(bool enable)
Set whether to log data in/out statistics.
Definition: Connection.cpp:249
Urho3D::Text3D::SetVerticalAlignment
void SetVerticalAlignment(VerticalAlignment align)
Set vertical alignment.
Definition: Text3D.cpp:247
Urho3D::EventReceiverGroup::dirty_
bool dirty_
Cleanup required flag.
Definition: Context.h:62
Urho3D::WString::At
const wchar_t & At(unsigned index) const
Return const char at index.
Definition: Str.h:603
Urho3D::Graphics::GetDefaultTextureAnisotropy
unsigned GetDefaultTextureAnisotropy() const
Return default texture max. anisotropy level.
Definition: Graphics.h:489
Urho3D::UIElement::IsElementEventSender
bool IsElementEventSender() const
Return whether element should send child added / removed events by itself. If false,...
Definition: UIElement.h:646
Urho3D::File::Close
void Close()
Close the file.
Definition: File.cpp:384
Urho3D::ScrollBar::SetStepFactor
void SetStepFactor(float factor)
Set button step factor, can be used to adjust the step for constant pixel size.
Definition: ScrollBar.cpp:186
Urho3D::Camera::SetZoom
void SetZoom(float zoom)
Set zoom.
Definition: Camera.cpp:163
Urho3D::Terrain::SetWestNeighbor
void SetWestNeighbor(Terrain *west)
Set west (negative X) neighbor terrain for seamless LOD changes across terrains.
Definition: Terrain.cpp:302
Urho3D::ShaderProgram::GetVertexAttributes
const HashMap< Pair< unsigned char, unsigned char >, unsigned > & GetVertexAttributes() const
Return semantic to vertex attributes location mappings used by the shader.
Definition: OGLShaderProgram.h:71
Urho3D::RigidBody::GetLinearVelocity
Vector3 GetLinearVelocity() const
Return linear velocity.
Definition: RigidBody.cpp:618
Urho3D::StaticModel::SetMaterialsAttr
void SetMaterialsAttr(const ResourceRefList &value)
Set materials attribute.
Definition: StaticModel.cpp:379
Urho3D::Octree::GetDrawables
void GetDrawables(OctreeQuery &query) const
Return drawable objects by a query.
Definition: Octree.cpp:495
Urho3D::SmoothedTransform::SetTargetPosition
void SetTargetPosition(const Vector3 &position)
Set target position in parent space.
Definition: SmoothedTransform.cpp:99
Urho3D::View::CheckViewportRead
bool CheckViewportRead(const RenderPathCommand &command)
Check if a command reads the destination render target.
Definition: View.cpp:1905
Urho3D::Audio::Release
void Release()
Stop sound output and release the sound buffer.
Definition: Audio.cpp:316
Urho3D::NetworkPriority::minPriority_
float minPriority_
Minimum priority.
Definition: NetworkPriority.h:73
Urho3D::Time::~Time
~Time() override
Destruct. Reset the low-resolution timer period if set.
Definition: Timer.cpp:67
Urho3D::CollisionShape::SetCapsule
void SetCapsule(float diameter, float height, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a capsule.
Definition: CollisionShape.cpp:637
Urho3D::Graphics::SetClipPlane
void SetClipPlane(bool enable, const Plane &clipPlane=Plane::UP, const Matrix3x4 &view=Matrix3x4::IDENTITY, const Matrix4 &projection=Matrix4::IDENTITY)
Set a custom clipping plane. The plane is specified in world space, but is dependent on the view and ...
Definition: OGLGraphics.cpp:1957
Urho3D::VertexBuffer::SetSize
bool SetSize(unsigned vertexCount, const PODVector< VertexElement > &elements, bool dynamic=false)
Set size, vertex elements and dynamic mode. Previous data will be lost.
Definition: VertexBuffer.cpp:74
Urho3D::TileMap2D
Tile map component.
Definition: TileMap2D.h:35
Urho3D::ParticleEffect2D::GetRadialAcceleration
float GetRadialAcceleration() const
Return radial acceleration.
Definition: ParticleEffect2D.h:164
Urho3D::LogicComponent::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change. Changes update event subscription.
Definition: LogicComponent.cpp:46
Urho3D::FileSystem::GetAppPreferencesDir
String GetAppPreferencesDir(const String &org, const String &app) const
Return the application preferences directory.
Definition: FileSystem.cpp:742
Urho3D::LinkedList::LinkedList
LinkedList(const std::initializer_list< T > &list)
Aggregate initialization constructor.
Definition: LinkedList.h:62
Urho3D::Renderer::occlusionBufferSize_
int occlusionBufferSize_
Occlusion buffer width.
Definition: Renderer.h:564
Urho3D::Button::~Button
~Button() override
Destruct.
Urho3D::Scene::LoadJSON
bool LoadJSON(const JSONValue &source) override
Load from JSON data. Removes all existing child nodes and components first. Return true if successful...
Definition: Scene.cpp:182
Urho3D::Spline::SetKnots
void SetKnots(const Vector< Variant > &knots)
Set the knots of the spline.
Definition: Spline.h:92
Urho3D::Camera::flipVertical_
bool flipVertical_
Flip vertical flag.
Definition: Camera.h:278
Urho3D::Geometry
Defines one or more vertex buffers, an index buffer and a draw range.
Definition: Geometry.h:38
Urho3D::Text3D::GetFont
Font * GetFont() const
Return font.
Definition: Text3D.cpp:388
Urho3D::Pass::GetEffectivePixelShaderDefines
String GetEffectivePixelShaderDefines() const
Return the effective pixel shader defines, accounting for excludes. Called internally by Renderer.
Definition: Technique.cpp:198
Urho3D::PListValue
PList value.
Definition: PListFile.h:55
Urho3D::Object::GetTypeInfoStatic
static const TypeInfo * GetTypeInfoStatic()
Return type info static.
Definition: Object.h:101
Urho3D::Connection::packetCounterTimer_
Timer packetCounterTimer_
Packet count timer which resets every 1s.
Definition: Connection.h:345
Urho3D::PhysicsWorld::SetInterpolation
void SetInterpolation(bool enable)
Set whether to interpolate between simulation steps.
Definition: PhysicsWorld.cpp:346
Urho3D::Variant::GetMatrix3
const Matrix3 & GetMatrix3() const
Return a Matrix3 or identity on type mismatch.
Definition: Variant.h:1274
Urho3D::UIElement::OnDragBegin
virtual void OnDragBegin(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor)
React to mouse drag begin.
Definition: UIElement.cpp:426
Urho3D::Renderer2D::drawables_
PODVector< Drawable2D * > drawables_
Drawables.
Definition: Renderer2D.h:121
Urho3D::UIElement::OnDragEnd
virtual void OnDragEnd(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags releaseButtons, Cursor *cursor)
React to mouse drag end.
Definition: UIElement.cpp:438
Urho3D::Button::repeatRate_
float repeatRate_
Repeat rate.
Definition: Button.h:102
Urho3D::ScrollView::SetScrollSnapEpsilon
void SetScrollSnapEpsilon(float snap)
Set scroll snap epsilon.
Definition: ScrollView.h:83
Urho3D::Constraint2D::GetJoint
b2Joint * GetJoint() const
Return Box2D joint.
Definition: Constraint2D.h:77
Urho3D::RigidBody::GetCcdRadius
float GetCcdRadius() const
Return continuous collision detection swept sphere radius.
Definition: RigidBody.cpp:688
Urho3D::AnimatedModel::SetMorphWeight
void SetMorphWeight(unsigned index, float weight)
Set vertex morph weight by index.
Definition: AnimatedModel.cpp:552
Urho3D::RenderPathCommand::depthStencilName_
String depthStencilName_
Depth-stencil output name.
Definition: RenderPath.h:164
Urho3D::TerrainPatch::TerrainPatch
TerrainPatch(Context *context)
Construct.
Definition: TerrainPatch.cpp:48
Urho3D::Octant::IncDrawableCount
void IncDrawableCount()
Increase drawable object count recursively.
Definition: Octree.h:112
Urho3D::Vector::End
Iterator End()
Return iterator to the end.
Definition: Vector.h:498
Urho3D::FontFace::HasMutableGlyphs
virtual bool HasMutableGlyphs() const
Return if font face uses mutable glyphs.
Definition: FontFace.h:80
Urho3D::LuaFunction::PushUserType
void PushUserType(const T *userType)
Push user type to stack.
Definition: LuaFunction.h:68
Urho3D::Console::rowContainer_
ListView * rowContainer_
Container for text rows.
Definition: Console.h:147
Urho3D::SoundSource::attenuation_
float attenuation_
Attenuation.
Definition: SoundSource.h:140
Urho3D::OcclusionBuffer::IsVisible
bool IsVisible(const BoundingBox &worldSpaceBox) const
Test a bounding box for visibility. For best performance, build depth hierarchy first.
Definition: OcclusionBuffer.cpp:336
Urho3D::Sound::GetDataSize
unsigned GetDataSize() const
Return total sound data size.
Definition: Sound.h:85
Urho3D::CrowdAgent::GetRequestedTargetType
CrowdAgentRequestedTarget GetRequestedTargetType() const
Return the agent's requested target type, if any.
Definition: CrowdAgent.h:137
Urho3D::FONT_HINT_LEVEL_NONE
@ FONT_HINT_LEVEL_NONE
Completely disable font hinting. Output will be blurrier but more "correct".
Definition: UI.h:39
Urho3D::AttributeInfo::name_
String name_
Name.
Definition: Attribute.h:104
Urho3D::Color::Color
Color(const Vector4 &color)
Construct from 4-vector.
Definition: Color.h:108
Urho3D::UIElement::IsFixedWidth
bool IsFixedWidth() const
Return true if width is fixed.
Definition: UIElement.h:442
Urho3D::Vector2::Length
float Length() const
Return length.
Definition: Vector2.h:301
Urho3D::PODVector::operator[]
T & operator[](unsigned index)
Return element at index.
Definition: Vector.h:813
Urho3D::XMLElement::GetMatrix4
Matrix4 GetMatrix4(const String &name) const
Return a Matrix4 attribute, or zero matrix if missing.
Definition: XMLElement.cpp:985
Urho3D::Vector2::Equals
bool Equals(const Vector2 &rhs) const
Test for equality with another vector with epsilon.
Definition: Vector2.h:325
Urho3D::RenderSurface::GetHeight
int GetHeight() const
Return height.
Definition: RenderSurface.cpp:87
Urho3D::Matrix3::Data
const float * Data() const
Return float data.
Definition: Matrix3.h:263
Urho3D::Octant::GetRoot
Octree * GetRoot() const
Return octree root.
Definition: Octree.h:88
Urho3D::RefCounted::RefCounted
RefCounted()
Construct. Allocate the reference count structure and set an initial self weak reference.
Definition: RefCounted.cpp:32
Urho3D::Serializer::Write
virtual unsigned Write(const void *data, unsigned size)=0
Write bytes to the stream. Return number of bytes actually written.
Urho3D::IndexBuffer::shadowed_
bool shadowed_
Shadowed flag.
Definition: IndexBuffer.h:115
Urho3D::Graphics::GetRGBFormat
static unsigned GetRGBFormat()
Return the API-specific RGB texture format.
Definition: OGLGraphics.cpp:2579
Urho3D::Graphics::GetFlushGPU
bool GetFlushGPU() const
Return whether the GPU command buffer is flushed each frame.
Definition: Graphics.h:390
Urho3D::Drawable::GetDrawableFlags
unsigned char GetDrawableFlags() const
Return drawable flags.
Definition: Drawable.h:183
Urho3D::FileSystem::FileSystem
FileSystem(Context *context)
Construct.
Definition: FileSystem.cpp:285
Urho3D::RaycastVehicle::SetWheelSkidInfoCumulative
void SetWheelSkidInfoCumulative(int wheel, float skid)
Set cumulative skid info.
Definition: RaycastVehicle.cpp:368
Urho3D::CrowdAgent::GetMaxSpeed
float GetMaxSpeed() const
Get the agent's max velocity.
Definition: CrowdAgent.h:154
Urho3D::Rect::Center
Vector2 Center() const
Return center.
Definition: Rect.h:200
Urho3D::TmxFile2D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: TmxFile2D.cpp:393
Urho3D::Sound::IsLooped
bool IsLooped() const
Return whether is looped.
Definition: Sound.h:97
Urho3D::UIElement::HandlePostUpdate
void HandlePostUpdate(StringHash eventType, VariantMap &eventData)
Handle logic post-update event.
Definition: UIElement.cpp:2238
Urho3D::UIComponent::~UIComponent
~UIComponent() override
Destruct.
Urho3D::Fract
T Fract(T value)
Return fractional part of passed value in range [0, 1).
Definition: MathDefs.h:185
Urho3D::Sprite2D::spriteSheet_
WeakPtr< SpriteSheet2D > spriteSheet_
Sprite sheet.
Definition: Sprite2D.h:105
Urho3D::Terrain::GetMaxLights
unsigned GetMaxLights() const
Return maximum number of per-pixel lights.
Definition: Terrain.h:181
Urho3D::BatchGroupKey::BatchGroupKey
BatchGroupKey()=default
Construct undefined.
Urho3D::GPUObject::object_
GPUObjectHandle object_
Object pointer or name.
Definition: GPUObject.h:75
Urho3D::RibbonTrail::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: RibbonTrail.cpp:164
Urho3D::Button::GetRepeatRate
float GetRepeatRate() const
Return repeat rate.
Definition: Button.h:86
Urho3D::Input::GetScancodePress
bool GetScancodePress(Scancode scancode) const
Check if a key has been pressed on this frame by scancode.
Definition: Input.cpp:1349
Urho3D::Sound::repeat_
signed char * repeat_
Loop start.
Definition: Sound.h:118
Urho3D::PhysicsWorld2D::SetWarmStarting
void SetWarmStarting(bool enable)
Set warm starting.
Definition: PhysicsWorld2D.cpp:393
Urho3D::Constraint2D::SetAttachedConstraint
void SetAttachedConstraint(Constraint2D *constraint)
Set attached constriant (for gear).
Definition: Constraint2D.cpp:143
Urho3D::IKSolver::OnNodeSet
void OnNodeSet(Node *node) override
Destroys and creates the tree.
Definition: IKSolver.cpp:526
Urho3D::DecalSet::GetMaxVertices
unsigned GetMaxVertices() const
Return maximum number of decal vertices.
Definition: DecalSet.h:158
Urho3D::CollisionShape::SetTerrain
void SetTerrain(unsigned lodLevel=0)
Set as a terrain. Only works if the same scene node contains a Terrain component.
Definition: CollisionShape.cpp:707
Urho3D::JoystickState::name_
String name_
Joystick name.
Definition: Input.h:117
Urho3D::ConstraintRevolute2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintRevolute2D.cpp:45
Urho3D::UIElement::GetVerticalAlignment
VerticalAlignment GetVerticalAlignment() const
Return vertical alignment. If pivot has been adjusted to a custom vertical setting,...
Definition: UIElement.cpp:1507
Urho3D::ValueAnimationInfo::CalculateScaledTime
float CalculateScaledTime(float currentTime, bool &finished) const
Calculate scaled time.
Definition: ValueAnimationInfo.cpp:128
Urho3D::Serializable::~Serializable
~Serializable() override
Destruct.
Urho3D::TmxFile2D::LoadTSXFile
SharedPtr< XMLFile > LoadTSXFile(const String &source)
Load TSX file.
Definition: TmxFile2D.cpp:597
Urho3D::RigidBody2D::ApplyForceToCenter
void ApplyForceToCenter(const Vector2 &force, bool wake)
Apply force to center.
Definition: RigidBody2D.cpp:335
Urho3D::ResourceGroup::memoryBudget_
unsigned long long memoryBudget_
Memory budget.
Definition: ResourceCache.h:54
Urho3D::Terrain::patchWorldOrigin_
Vector2 patchWorldOrigin_
Origin of patches on the XZ-plane.
Definition: Terrain.h:271
Urho3D::PackageFile::GetTotalSize
unsigned GetTotalSize() const
Return total size of the package file.
Definition: PackageFile.h:74
Urho3D::Animatable::SetObjectAnimationAttr
void SetObjectAnimationAttr(const ResourceRef &value)
Set object animation attribute.
Definition: Animatable.cpp:452
Urho3D::XMLElement::SetDouble
bool SetDouble(const String &name, double value)
Set a double attribute.
Definition: XMLElement.cpp:357
Urho3D::NavArea::boundingBox_
BoundingBox boundingBox_
Bounds of area to mark.
Definition: NavArea.h:63
Urho3D::Texture2D::Release
void Release() override
Release the texture.
Definition: OGLTexture2D.cpp:72
Urho3D::FontFaceFreeType::face_
void * face_
FreeType face. Non-null after creation only in dynamic mode.
Definition: FontFaceFreeType.h:61
Urho3D::Scene::Instantiate
Node * Instantiate(Deserializer &source, const Vector3 &position, const Quaternion &rotation, CreateMode mode=REPLICATED)
Instantiate scene content from binary data. Return root node if successful.
Definition: Scene.cpp:528
Urho3D::LuaScriptInstance::SetScriptFileAttr
void SetScriptFileAttr(const ResourceRef &value)
Set script file attribute.
Definition: LuaScriptInstance.cpp:758
Urho3D::RigidBody2D::SetAllowSleep
void SetAllowSleep(bool allowSleep)
Set allow sleep.
Definition: RigidBody2D.cpp:217
Urho3D::TrailPoint::forward_
Vector3 forward_
Forward vector.
Definition: RibbonTrail.h:51
Urho3D::SphereOctreeQuery::sphere_
Sphere sphere_
Sphere.
Definition: OctreeQuery.h:111
Urho3D::Animatable::RemoveObjectAnimation
void RemoveObjectAnimation()
Remove object animation. Same as calling SetObjectAnimation with a null pointer.
Definition: Animatable.cpp:413
Urho3D::Scene::IsReplicatedID
static bool IsReplicatedID(unsigned id)
Return whether the specified id is a replicated id.
Definition: Scene.h:233
Urho3D::CrowdAgent::SetObstacleAvoidanceType
void SetObstacleAvoidanceType(unsigned obstacleAvoidanceType)
Set the agent's obstacle avoidance type.
Definition: CrowdAgent.cpp:436
Urho3D::Text3D::IsFixedScreenSize
bool IsFixedScreenSize() const
Return whether text has fixed screen size.
Definition: Text3D.h:155
Urho3D::ParticleEmitter2D::emissionTime_
float emissionTime_
Emission time.
Definition: ParticleEmitter2D.h:153
Urho3D::Cursor::HandleMouseVisibleChanged
void HandleMouseVisibleChanged(StringHash eventType, VariantMap &eventData)
Handle operating system mouse cursor visibility change event.
Definition: Cursor.cpp:306
Urho3D::NavigationMesh::GetTileSize
int GetTileSize() const
Return tile size.
Definition: NavigationMesh.h:198
Urho3D::ScriptFile::GetMethod
asIScriptFunction * GetMethod(asIScriptObject *object, const String &declaration)
Return an object method by declaration.
Definition: ScriptFile.cpp:625
Urho3D::LineEdit::SetCursorBlinkRate
void SetCursorBlinkRate(float rate)
Set cursor blink rate. 0 disables blinking.
Definition: LineEdit.cpp:503
Urho3D::PackageDownload::name_
String name_
Package name.
Definition: Connection.h:78
Urho3D::DropDownList::AddItem
void AddItem(UIElement *item)
Add item to the end of the list.
Definition: DropDownList.cpp:154
Urho3D::ListView::UpdateInternalLayout
void UpdateInternalLayout()
Manually update layout on internal elements.
Definition: ListView.cpp:324
Urho3D::FileSelector::okButton_
Button * okButton_
OK button.
Definition: FileSelector.h:163
Urho3D::Scene::PreloadResources
void PreloadResources(File *file, bool isSceneFile)
Preload resources from a binary scene or object prefab file.
Definition: Scene.cpp:1291
Urho3D::WorkQueue::queueMutex_
Mutex queueMutex_
Worker queue mutex.
Definition: WorkQueue.h:138
Urho3D::Serializable::Load
virtual bool Load(Deserializer &source)
Load from binary data. Return true if successful.
Definition: Serializable.cpp:293
Urho3D::LuaScriptInstance::GetScriptObjectFunction
LuaFunction * GetScriptObjectFunction(const String &functionName) const
Return script object's funcition.
Definition: LuaScriptInstance.cpp:753
Urho3D::View3D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: View3D.cpp:64
Urho3D::Terrain::GetHeightMap
Image * GetHeightMap() const
Return heightmap image.
Definition: Terrain.cpp:518
Urho3D::LuaScriptInstance::RemoveEventHandlersExcept
void RemoveEventHandlersExcept(const Vector< String > &exceptionNames) override
Remove all scripted event handlers, except those listed.
Definition: LuaScriptInstance.cpp:361
Urho3D::AnimationSet2D::spriterData_
UniquePtr< Spriter::SpriterData > spriterData_
Spriter data.
Definition: AnimationSet2D.h:112
Urho3D::Network::serverConnection_
SharedPtr< Connection > serverConnection_
Client's server connection.
Definition: Network.h:154
Urho3D::ParticleEffect::timeToLiveMin_
float timeToLiveMin_
Particle time to live minimum.
Definition: ParticleEffect.h:399
Urho3D::Input::GetNumJoysticks
unsigned GetNumJoysticks() const
Return number of connected joysticks.
Definition: Input.h:266
Urho3D::Console::SetCommandInterpreter
void SetCommandInterpreter(const String &interpreter)
Set the command interpreter.
Definition: Console.h:63
Urho3D::DropDownList::placeholder_
SharedPtr< UIElement > placeholder_
Selected item placeholder element.
Definition: DropDownList.h:108
Urho3D::DepthValue
Occlusion hierarchy depth value.
Definition: OcclusionBuffer.h:45
Urho3D::Object::SetGlobalVar
void SetGlobalVar(StringHash key, const Variant &value)
Set global variable with the respective key and value.
Definition: Object.cpp:416
Urho3D::SoundSource::sendFinishedEvent_
bool sendFinishedEvent_
Whether finished event should be sent on playback stop.
Definition: SoundSource.h:146
Urho3D::Rect::HalfSize
Vector2 HalfSize() const
Return half-size.
Definition: Rect.h:206
Urho3D::ShaderParameter::glType_
unsigned glType_
Parameter OpenGL type.
Definition: ShaderVariation.h:69
Urho3D::Connection::SetScene
void SetScene(Scene *newScene)
Assign scene. On the server, this will cause the client to load it.
Definition: Connection.cpp:178
Urho3D::Input::mouseMove_
IntVector2 mouseMove_
Mouse movement since last frame.
Definition: Input.h:392
Urho3D::UIElement::GetChildrenWithTag
void GetChildrenWithTag(PODVector< UIElement * > &dest, const String &tag, bool recursive=false) const
Return child elements with a specific tag either recursively or non-recursively.
Definition: UIElement.cpp:1706
Urho3D::View::IsShadowCasterVisible
bool IsShadowCasterVisible(Drawable *drawable, BoundingBox lightViewBox, Camera *shadowCamera, const Matrix3x4 &lightView, const Frustum &lightViewFrustum, const BoundingBox &lightViewFrustumBox)
Check visibility of one shadow caster.
Definition: View.cpp:2455
Urho3D::RandomAccessIterator::RandomAccessIterator
constexpr RandomAccessIterator()
Construct.
Definition: Iter.h:34
Urho3D::Vector3
Three-dimensional vector.
Definition: Vector3.h:184
Urho3D::Scene::FinishLoading
void FinishLoading(Deserializer *source)
Finish loading. Sets the scene filename and checksum.
Definition: Scene.cpp:1272
Urho3D::IKEffector::SetRotationWeight
void SetRotationWeight(float weight)
Sets how much influence the target rotation should have on the solution. A value of 1 means to match ...
Definition: IKEffector.cpp:189
Urho3D::PhysicsWorld2D::GetAutoClearForces
bool GetAutoClearForces() const
Return auto clear forces.
Definition: PhysicsWorld2D.cpp:700
Urho3D::NavArea::~NavArea
~NavArea() override
Destruct.
Urho3D::SharedPtr::Refs
int Refs() const
Return the object's reference count, or 0 if the pointer is null.
Definition: Ptr.h:211
Urho3D::ParticleEffect2D::SetRotationStartVariance
void SetRotationStartVariance(float rotationStartVariance)
Set rotation start variance.
Definition: ParticleEffect2D.cpp:459
Urho3D::StaticSprite2D::SetUseHotSpot
void SetUseHotSpot(bool useHotSpot)
Set whether to use custom-defined hot spot.
Definition: StaticSprite2D.cpp:177
Urho3D::GraphicsImpl::textureTypes_
unsigned textureTypes_[MAX_TEXTURE_UNITS]
OpenGL texture types in use.
Definition: OGLGraphicsImpl.h:140
Urho3D::Text3D::GetEffectStrokeThickness
int GetEffectStrokeThickness() const
Return effect stroke thickness.
Definition: Text3D.cpp:438
Urho3D::SmoothedTransform::SetTargetWorldRotation
void SetTargetWorldRotation(const Quaternion &rotation)
Set target rotation in world space.
Definition: SmoothedTransform.cpp:136
Urho3D::String::ToLower
String ToLower() const
Return string in lowercase.
Definition: Str.cpp:543
Urho3D::SmoothedTransform::GetTargetWorldPosition
Vector3 GetTargetWorldPosition() const
Return target position in world space.
Definition: SmoothedTransform.cpp:144
Urho3D::List::Node::Node
Node()=default
Construct undefined.
Urho3D::SplinePath::OnNodeSetEnabled
void OnNodeSetEnabled(Node *point) override
Listener to manage Control Point enabling.
Definition: SplinePath.cpp:304
Urho3D::Navigable
Component which tags geometry for inclusion in the navigation mesh. Optionally auto-includes geometry...
Definition: Navigable.h:31
Urho3D::Renderer::UpdateQueuedViewport
void UpdateQueuedViewport(unsigned index)
Update a queued viewport for rendering.
Definition: Renderer.cpp:1475
Urho3D::RigidBody
Physics rigid body component.
Definition: RigidBody.h:52
Urho3D::ParticleEffect::SetAnimationLodBias
void SetAnimationLodBias(float lodBias)
Set animation LOD bias.
Definition: ParticleEffect.cpp:475
Urho3D::UI::SetMaxFontTextureSize
void SetMaxFontTextureSize(int size)
Set maximum font face texture size. Must be a power of two. Default is 2048.
Definition: UI.cpp:664
Urho3D::Time::SetTimerPeriod
void SetTimerPeriod(unsigned mSec)
Set the low-resolution timer period in milliseconds. 0 resets to the default period.
Definition: Timer.cpp:144
Urho3D::LineEdit::Update
void Update(float timeStep) override
Perform UI element update.
Definition: LineEdit.cpp:101
Urho3D::BillboardSet::hasOrthoCamera_
bool hasOrthoCamera_
Whether was last rendered from an ortho camera.
Definition: BillboardSet.h:201
Urho3D::Terrain::HandleNeighborTerrainCreated
void HandleNeighborTerrainCreated(StringHash eventType, VariantMap &eventData)
Handle neighbor terrain geometry being created. Update the edge patch neighbors as necessary.
Definition: Terrain.cpp:1445
Urho3D::ResourceCache::ReleaseResource
void ReleaseResource(StringHash type, const String &name, bool force=false)
Release a resource by name.
Definition: ResourceCache.cpp:246
Urho3D::RigidBody::collisionLayer_
unsigned collisionLayer_
Collision layer.
Definition: RigidBody.h:289
Urho3D::ProfilerBlock::intervalMaxTime_
long long intervalMaxTime_
Maximum time during current profiler interval.
Definition: Profiler.h:160
Urho3D::Drawable::boundingBox_
BoundingBox boundingBox_
Local-space bounding box.
Definition: Drawable.h:331
Urho3D::Console::HandleInterpreterSelected
void HandleInterpreterSelected(StringHash eventType, VariantMap &eventData)
Handle interpreter being selected on the drop down list.
Definition: Console.cpp:355
Urho3D::CrowdAgent::GetDetourCrowdAgent
const dtCrowdAgent * GetDetourCrowdAgent() const
Get internal Detour crowd agent.
Definition: CrowdAgent.cpp:645
Urho3D::DropDownList::GetPlaceholderText
const String & GetPlaceholderText() const
Return place holder text.
Definition: DropDownList.cpp:223
Urho3D::ScreenModeParams::operator==
bool operator==(const ScreenModeParams &rhs) const
Compare for equality with another parameter set.
Definition: Graphics.h:118
Urho3D::Time::timerPeriod_
unsigned timerPeriod_
Low-resolution timer period.
Definition: Timer.h:127
Urho3D::Renderer::GetTextureQuality
MaterialQuality GetTextureQuality() const
Return texture quality level.
Definition: Renderer.h:283
Urho3D::UIElement::SetMaxOffset
void SetMaxOffset(const IntVector2 &offset)
Set offset of element's bottom right from the maximum anchor in pixels. No effect when anchor is not ...
Definition: UIElement.cpp:759
Urho3D::WorkItem::completed_
std::atomic< bool > completed_
Completed flag.
Definition: WorkQueue.h:61
Urho3D::IntRect::IntRect
IntRect(const int *data) noexcept
Construct from an int array.
Definition: Rect.h:303
Urho3D::Engine::GetNextTimeStep
float GetNextTimeStep() const
Get timestep of the next frame. Updated by ApplyFrameLimit().
Definition: Engine.h:79
Urho3D::JSONValue::EMPTY
static const JSONValue EMPTY
Empty JSON value.
Definition: JSONValue.h:274
Urho3D::RigidBody::GetCompoundShape
btCompoundShape * GetCompoundShape() const
Return Bullet compound collision shape.
Definition: RigidBody.h:159
Urho3D::BillboardSet::sortThisFrame_
bool sortThisFrame_
Sorting flag. Triggers a vertex buffer rewrite for each view this billboard set is rendered from.
Definition: BillboardSet.h:199
Urho3D::Deserializer::ReadResourceRefList
ResourceRefList ReadResourceRefList()
Read a resource reference list.
Definition: Deserializer.cpp:292
Urho3D::BorderImage::GetBorder
const IntRect & GetBorder() const
Return border screen dimensions.
Definition: BorderImage.h:82
Urho3D::View::UpdateOccluders
void UpdateOccluders(PODVector< Drawable * > &occluders, Camera *camera)
Query for occluders as seen from a camera.
Definition: View.cpp:2171
Urho3D::ParticleEffect::sizeMax_
Vector2 sizeMax_
Particle size maximum.
Definition: ParticleEffect.h:397
Urho3D::Ray::Distance
float Distance(const Vector3 &point) const
Return distance of a point from the ray.
Definition: Ray.h:76
Urho3D::InstanceData::distance_
float distance_
Distance from camera.
Definition: Batch.h:130
Urho3D::RaycastVehicle::RaycastVehicle
RaycastVehicle(Urho3D::Context *context)
Construct.
Definition: RaycastVehicle.cpp:139
Urho3D::PhysicsWorld::GetWorld
btDiscreteDynamicsWorld * GetWorld()
Return the Bullet physics world.
Definition: PhysicsWorld.h:263
Urho3D::AnimationController::Fade
bool Fade(const String &name, float targetWeight, float fadeTime)
Fade animation to target weight. Return true on success.
Definition: AnimationController.cpp:255
Urho3D::Console::GetBackground
BorderImage * GetBackground() const
Return the background element.
Definition: Console.h:84
Urho3D::Scene::StopAsyncLoading
void StopAsyncLoading()
Stop asynchronous loading.
Definition: Scene.cpp:516
Urho3D::BiasParameters::Validate
void Validate()
Validate parameters.
Definition: Light.cpp:72
Urho3D::List::Node
List node.
Definition: List.h:36
Urho3D::ScriptFile::IsCompiled
bool IsCompiled() const
Return whether script compiled successfully.
Definition: ScriptFile.h:114
Urho3D::CustomVariantValueImpl::Clone
void Clone(void *dest) const override
Placement clone.
Definition: Variant.h:254
Urho3D::TileMapLayer2D::GetDrawOrder
int GetDrawOrder() const
Return draw order.
Definition: TileMapLayer2D.h:73
Urho3D::ConstraintWeld2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintWeld2D.cpp:45
Urho3D::HashMap::FreeNode
void FreeNode(Node *node)
Free a node.
Definition: HashMap.h:759
Urho3D::TerrainPatch::GetWestPatch
TerrainPatch * GetWestPatch() const
Return west neighbor patch.
Definition: TerrainPatch.h:95
Urho3D::Graphics::shadowMapFormat_
unsigned shadowMapFormat_
Shadow map depth texture format.
Definition: Graphics.h:773
Urho3D::Time::GetFramesPerSecond
float GetFramesPerSecond() const
Return current frames per second.
Definition: Timer.cpp:190
Urho3D::AttributeAnimationInfo::~AttributeAnimationInfo
~AttributeAnimationInfo() override
Destruct.
Urho3D::HttpRequest::readPosition_
unsigned readPosition_
Read buffer read cursor.
Definition: HttpRequest.h:103
Urho3D::Texture3D::Texture3D
Texture3D(Context *context)
Construct.
Definition: Texture3D.cpp:42
Urho3D::Input::~Input
~Input() override
Destruct.
Definition: Input.cpp:401
Urho3D::Zone::fogColor_
Color fogColor_
Fog color.
Definition: Zone.h:154
Urho3D::View::GetRenderTarget
RenderSurface * GetRenderTarget() const
Return the rendertarget. 0 if using the backbuffer.
Definition: View.h:151
Urho3D::Light::shadowBias_
BiasParameters shadowBias_
Shadow depth bias parameters.
Definition: Light.h:357
Urho3D::ScrollView::SetHorizontalScrollBarVisible
void SetHorizontalScrollBarVisible(bool visible)
Set horizontal scrollbar visibility manually. Disables scrollbar autoshow/hide.
Definition: ScrollView.cpp:319
Urho3D::TileMap2D::GetLayer
TileMapLayer2D * GetLayer(unsigned index) const
Return tile map layer at index.
Definition: TileMap2D.cpp:159
Urho3D::HttpRequest::IsEof
bool IsEof() const override
Return whether all response data has been read.
Definition: HttpRequest.cpp:275
Urho3D::ShaderPrecache::xmlFile_
XMLFile xmlFile_
XML file.
Definition: ShaderPrecache.h:56
Urho3D::AnimatedModel::attrBuffer_
VectorBuffer attrBuffer_
Attribute buffer.
Definition: AnimatedModel.h:231
Urho3D::SourceBatch2D::distance_
float distance_
Distance to camera.
Definition: Drawable2D.h:56
Urho3D::RigidBody::SetLinearFactor
void SetLinearFactor(const Vector3 &factor)
Set linear degrees of freedom. Use 1 to enable an axis or 0 to disable. Default is all axes enabled (...
Definition: RigidBody.cpp:309
Urho3D::ObjectAnimation::~ObjectAnimation
~ObjectAnimation() override
Destruct.
Urho3D::Octree::GetNumLevels
unsigned GetNumLevels() const
Return subdivision levels.
Definition: Octree.h:192
Urho3D::Renderer::textureFilterMode_
TextureFilterMode textureFilterMode_
Texture filtering mode.
Definition: Renderer.h:540
Urho3D::UI::ProcessHover
void ProcessHover(const IntVector2 &windowCursorPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor)
Handle button or touch hover.
Definition: UI.cpp:1346
Urho3D::Renderer::GetShadowQuality
ShadowQuality GetShadowQuality() const
Return shadow quality.
Definition: Renderer.h:292
Urho3D::AnimationController::IsFadingIn
bool IsFadingIn(const String &name) const
Return whether an animation is fading in.
Definition: AnimationController.cpp:449
Urho3D::Spline::RemoveKnot
void RemoveKnot(unsigned index)
Remove the knot at the specific index.
Definition: Spline.h:105
Urho3D::Terrain::SetOccluder
void SetOccluder(bool enable)
Set occlusion flag for patches. Occlusion uses the coarsest LOD by default.
Definition: Terrain.cpp:488
Urho3D::Light::SetShapeTexture
void SetShapeTexture(Texture *texture)
Set spotlight attenuation texture.
Definition: Light.cpp:410
Urho3D::View::alphaPassIndex_
unsigned alphaPassIndex_
Index of the alpha pass.
Definition: View.h:425
Urho3D::Mutex::handle_
void * handle_
Mutex handle.
Definition: Mutex.h:52
Urho3D::SmoothedTransform::OnNodeSet
void OnNodeSet(Node *node) override
Handle scene node being assigned at creation.
Definition: SmoothedTransform.cpp:160
Urho3D::Camera::GetAspectRatio
float GetAspectRatio() const
Return aspect ratio.
Definition: Camera.h:122
Urho3D::ConstraintWeld2D
2D weld constraint component.
Definition: ConstraintWeld2D.h:31
Urho3D::UIElement::vars_
VariantMap vars_
User variables.
Definition: UIElement.h:688
Urho3D::VertexBufferMorph::morphData_
SharedArrayPtr< unsigned char > morphData_
Morphed vertices. Stored packed as <index, data> pairs.
Definition: Model.h:50
Urho3D::UI::IsNonFocusedMouseWheel
bool IsNonFocusedMouseWheel() const
Return whether mouse wheel can control also a non-focused element.
Definition: UI.h:191
Urho3D::Audio::pausedSoundTypes_
HashSet< StringHash > pausedSoundTypes_
Paused sound types.
Definition: Audio.h:147
Urho3D::JSONNT_INT
@ JSONNT_INT
Integer.
Definition: JSONValue.h:55
Urho3D::Text
Text UI element.
Definition: Text.h:75
Urho3D::Drawable2D::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: Drawable2D.cpp:67
Urho3D::ListView::ToggleExpand
void ToggleExpand(unsigned index, bool recursive=false)
Toggle item's expanded flag at index. Only has effect in hierarchy mode.
Definition: ListView.cpp:815
Urho3D::RenderPath::~RenderPath
~RenderPath() override
Destruct.
Urho3D::HashBase::SetSize
void SetSize(unsigned size)
Set new size.
Definition: HashBase.h:143
Urho3D::UIBatch::invTextureSize_
Vector2 invTextureSize_
Inverse texture size.
Definition: UIBatch.h:85
Urho3D::OcclusionBuffer::OcclusionBuffer
OcclusionBuffer(Context *context)
Construct.
Definition: OcclusionBuffer.cpp:54
Urho3D::Skeleton::GetModifiableBones
Vector< Bone > & GetModifiableBones()
Return modifiable bones.
Definition: Skeleton.h:111
Urho3D::Sprite2D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Sprite2D.cpp:81
Urho3D::Connection::GetPacketType
PacketType GetPacketType(bool reliable, bool inOrder)
Get packet type based on the message parameters.
Definition: Connection.cpp:97
Urho3D::FileSelectorEntry::name_
String name_
Name.
Definition: FileSelector.h:45
Urho3D::Sprite::GetPosition
const Vector2 & GetPosition() const
Return floating point position.
Definition: Sprite.h:83
Urho3D::FileSystem::GetTemporaryDir
String GetTemporaryDir() const
Return path of temporary directory. Path always ends with a forward slash.
Definition: FileSystem.cpp:1067
Urho3D::Model::SetSkeleton
void SetSkeleton(const Skeleton &skeleton)
Set skeleton.
Definition: Model.cpp:602
Urho3D::String::operator+=
String & operator+=(const String &rhs)
Add-assign a string.
Definition: Str.h:201
Urho3D::ResourceWithMetadata::GetMetadata
const Variant & GetMetadata(const String &name) const
Return metadata variable.
Definition: Resource.cpp:152
Urho3D::Font::GetFaceBitmap
FontFace * GetFaceBitmap(float pointSize)
Return bitmap font face. Called internally. Return null on error.
Definition: Font.cpp:234
Urho3D::Light::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: Light.cpp:221
Urho3D::Window::movable_
bool movable_
Movable flag.
Definition: Window.h:141
Urho3D::IntRect::Top
int Top() const
Return top coordinate.
Definition: Rect.h:452
Urho3D::Font::GetFaceFreeType
FontFace * GetFaceFreeType(float pointSize)
Return font face using FreeType. Called internally. Return null on error.
Definition: Font.cpp:223
Urho3D::Terrain::numVertices_
IntVector2 numVertices_
Terrain size in vertices.
Definition: Terrain.h:275
Urho3D::ResourceCache::SetFinishBackgroundResourcesMs
void SetFinishBackgroundResourcesMs(int ms)
Set how many milliseconds maximum per frame to spend on finishing background loaded resources.
Definition: ResourceCache.h:132
Urho3D::ParticleEmitter::lastUpdateFrameNumber_
unsigned lastUpdateFrameNumber_
Rendering framenumber on which was last updated.
Definition: ParticleEmitter.h:144
Urho3D::RayQueryResult::textureUV_
Vector2 textureUV_
Hit texture position.
Definition: OctreeQuery.h:211
Urho3D::Vector2::NormalizedOrDefault
Vector2 NormalizedOrDefault(const Vector2 &defaultValue=Vector2::ZERO, float eps=M_LARGE_EPSILON) const
Return normalized to unit length or zero if length is too small.
Definition: Vector2.h:347
Urho3D::AreaAllocator::GetHeight
int GetHeight() const
Return the current height.
Definition: AreaAllocator.h:50
Urho3D::AnimationTrack::GetKeyFrame
AnimationKeyFrame * GetKeyFrame(unsigned index)
Return keyframe at index, or null if not found.
Definition: Animation.cpp:87
Urho3D::Vector3::Data
const float * Data() const
Return float data.
Definition: Vector3.h:457
Urho3D::FrustumOctreeQuery::frustum_
Frustum frustum_
Frustum.
Definition: OctreeQuery.h:153
Urho3D::HashSet::~HashSet
~HashSet()
Destruct.
Definition: HashSet.h:207
Urho3D::Window::GetDragMode
WindowDragMode GetDragMode(const IntVector2 &position) const
Identify drag mode (move/resize).
Definition: Window.cpp:320
Urho3D::Serializer::WriteUShort
bool WriteUShort(unsigned short value)
Write a 16-bit unsigned integer.
Definition: Serializer.cpp:66
Urho3D::Sound::IsStereo
bool IsStereo() const
Return whether data is stereo.
Definition: Sound.h:103
Urho3D::DropDownList::listView_
SharedPtr< ListView > listView_
Listview element.
Definition: DropDownList.h:106
Urho3D::Bone::initialPosition_
Vector3 initialPosition_
Reset position.
Definition: Skeleton.h:66
Urho3D::ParticleEffect::~ParticleEffect
~ParticleEffect() override
Destruct.
Urho3D::Ray
Infinite straight line in three-dimensional space.
Definition: Ray.h:37
Urho3D::ConstraintFriction2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintFriction2D.cpp:99
Urho3D::RigidBody::body_
UniquePtr< btRigidBody > body_
Bullet rigid body.
Definition: RigidBody.h:269
Urho3D::AnimationController::GetLayer
unsigned char GetLayer(const String &name) const
Return animation blending layer.
Definition: AnimationController.cpp:483
Urho3D::RenderSurface::GetViewport
Viewport * GetViewport(unsigned index) const
Return viewport by index.
Definition: RenderSurface.cpp:107
Urho3D::Allocator::~Allocator
~Allocator()
Destruct.
Definition: Allocator.h:83
Urho3D::HiresTimer::Reset
void Reset()
Reset the timer.
Definition: Timer.cpp:235
Urho3D::EventHandler11Impl::function_
std::function< void(StringHash, VariantMap &)> function_
Class-specific pointer to handler function.
Definition: Object.h:355
Urho3D::ListView::ToggleSelection
void ToggleSelection(unsigned index)
Toggle selection of an item.
Definition: ListView.cpp:643
Urho3D::Spriter::SpriterInstance::setSpatialInfo
void setSpatialInfo(const SpatialInfo &spatialInfo)
Set root spatial info.
Definition: SpriterInstance2D.cpp:115
Urho3D::Renderer::GetViewportForScene
Viewport * GetViewportForScene(Scene *scene, unsigned index) const
Return nth backbuffer viewport associated to a scene. Index 0 returns the first.
Definition: Renderer.cpp:542
Urho3D::OcclusionBuffer::scaleY_
float scaleY_
Y scaling for viewport transform.
Definition: OcclusionBuffer.h:217
Urho3D::TerrainPatch::south_
WeakPtr< TerrainPatch > south_
South neighbor patch.
Definition: TerrainPatch.h:130
Urho3D::UI::GetScale
float GetScale() const
Return current UI scale.
Definition: UI.h:221
Urho3D::DropDownList::GetNumItems
unsigned GetNumItems() const
Return number of items.
Definition: DropDownList.cpp:198
Urho3D::Graphics::GetFloat16Format
static unsigned GetFloat16Format()
Return the API-specific single channel 16-bit float texture format.
Definition: OGLGraphics.cpp:2643
Urho3D::Graphics::clipPlane_
Vector4 clipPlane_
Current custom clip plane in post-projection space.
Definition: Graphics.h:841
Urho3D::Renderer::SetMaxShadowMaps
void SetMaxShadowMaps(int shadowMaps)
Set maximum number of shadow maps created for one resolution. Only has effect if reuse of shadow maps...
Definition: Renderer.cpp:446
Urho3D::DebugHud::Toggle
void Toggle(unsigned mode)
Toggle elements.
Definition: DebugHud.cpp:260
Urho3D::SmoothedTransform::IsInProgress
bool IsInProgress() const
Return whether smoothing is in progress.
Definition: SmoothedTransform.h:79
Urho3D::AnimatedModel::RemoveAllAnimationStates
void RemoveAllAnimationStates()
Remove all animations.
Definition: AnimatedModel.cpp:530
Urho3D::Object::RemoveEventSender
void RemoveEventSender(Object *sender)
Remove event handlers related to a specific sender.
Definition: Object.cpp:515
Urho3D::View::BlitFramebuffer
void BlitFramebuffer(Texture *source, RenderSurface *destination, bool depthWrite)
Blit the viewport from one surface to another.
Definition: View.cpp:2100
Urho3D::VertexBuffer::MapBuffer
void * MapBuffer(unsigned start, unsigned count, bool discard)
Map the GPU buffer into CPU memory. Not used on OpenGL.
Definition: OGLVertexBuffer.cpp:268
Urho3D::ParticleEffect2D::SetFinishColor
void SetFinishColor(const Color &finishColor)
Set finish color.
Definition: ParticleEffect2D.cpp:374
Urho3D::Node::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Node.cpp:77
Urho3D::Viewport::view_
SharedPtr< View > view_
Internal rendering structure.
Definition: Viewport.h:111
Urho3D::TextureCube::OnDeviceReset
void OnDeviceReset() override
Recreate the GPU resource and restore data if applicable.
Definition: OGLTextureCube.cpp:60
Urho3D::DbConnection::connectionString_
String connectionString_
The connection string for SQLite3 is using the URI format described in https://www....
Definition: ODBCConnection.h:63
Urho3D::StaticSprite2D::GetAlpha
float GetAlpha() const
Return alpha.
Definition: StaticSprite2D.h:101
Urho3D::Drawable::UpdateGeometry
virtual void UpdateGeometry(const FrameInfo &frame)
Prepare geometry for rendering.
Definition: Drawable.h:135
Urho3D::IndexBuffer::Unlock
void Unlock()
Unlock the buffer and apply changes to the GPU buffer.
Definition: OGLIndexBuffer.cpp:204
Urho3D::JSON_OBJECT
@ JSON_OBJECT
JSON object type.
Definition: JSONValue.h:46
Urho3D::Input::PushTouchIndex
void PushTouchIndex(int touchID)
Push a touch index back into the list of available when finished with it.
Definition: Input.cpp:1704
Urho3D::Renderer::instancingBuffer_
SharedPtr< VertexBuffer > instancingBuffer_
Instance stream vertex buffer.
Definition: Renderer.h:488
Urho3D::Menu::acceleratorQualifiers_
int acceleratorQualifiers_
Accelerator qualifiers.
Definition: Menu.h:98
Urho3D::Slider::Update
void Update(float timeStep) override
Perform UI element update.
Definition: Slider.cpp:74
Urho3D::Texture2D::OnDeviceReset
void OnDeviceReset() override
Recreate the GPU resource and restore data if applicable.
Definition: OGLTexture2D.cpp:53
Urho3D::ParticleEmitter::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ParticleEmitter.cpp:63
Urho3D::AnimationTrack::SetKeyFrame
void SetKeyFrame(unsigned index, const AnimationKeyFrame &keyFrame)
Assign keyframe at index.
Definition: Animation.cpp:52
Urho3D::XMLElement::GetAttributeNames
Vector< String > GetAttributeNames() const
Return names of all attributes.
Definition: XMLElement.cpp:736
Urho3D::ParticleEffect::GetMinVelocity
float GetMinVelocity() const
Return particle minimum velocity.
Definition: ParticleEffect.h:293
Urho3D::Zone::MarkNodeDirty
void MarkNodeDirty()
Mark node transform dirty.
Definition: Zone.h:133
Urho3D::Engine::GetMinFps
int GetMinFps() const
Return the minimum frames per second.
Definition: Engine.h:82
Urho3D::XMLElement::GetFile
XMLFile * GetFile() const
Return XML file.
Definition: XMLElement.cpp:990
Urho3D::ListView::SetMultiselect
void SetMultiselect(bool enable)
Enable multiselect.
Definition: ListView.cpp:707
Urho3D::FontFaceFreeType::loadMode_
int loadMode_
Load mode.
Definition: FontFaceFreeType.h:63
Urho3D::Renderer::threadedOcclusion_
bool threadedOcclusion_
Threaded occlusion rendering flag.
Definition: Renderer.h:598
Urho3D::Context::eventReceivers_
HashMap< StringHash, SharedPtr< EventReceiverGroup > > eventReceivers_
Event receivers for non-specific events.
Definition: Context.h:234
Urho3D::TmxLayer2D::LoadInfo
void LoadInfo(const XMLElement &element)
Load layer info.
Definition: TmxFile2D.cpp:69
Urho3D::DebugHud::SetProfilerInterval
void SetProfilerInterval(float interval)
Set profiler accumulation interval in seconds.
Definition: DebugHud.cpp:250
Urho3D::View3D::GetDepthTexture
Texture2D * GetDepthTexture() const
Return depth stencil texture.
Definition: View3D.cpp:146
Urho3D::Network::updateInterval_
float updateInterval_
Update time interval.
Definition: Network.h:170
Urho3D::Ray::HitDistance
float HitDistance(const Plane &plane) const
Return hit distance to a plane, or infinity if no hit.
Definition: Ray.cpp:56
Urho3D::OT_INVALID
@ OT_INVALID
Invalid.
Definition: TileMapDefs2D.h:101
Urho3D::NetworkPriority::~NetworkPriority
~NetworkPriority() override
Destruct.
Urho3D::ParticleEffect::activeTime_
float activeTime_
Active period.
Definition: ParticleEffect.h:387
Urho3D::ConstraintWheel2D::ConstraintWheel2D
ConstraintWheel2D(Context *context)
Construct.
Definition: ConstraintWheel2D.cpp:37
Urho3D::View::drawDebug_
bool drawDebug_
Draw debug geometry flag. Copied from the viewport.
Definition: View.h:384
Urho3D::Octant::GetLevel
unsigned GetLevel() const
Return subdivision level.
Definition: Octree.h:82
Urho3D::Variant::Variant
Variant(const StringHash &value)
Construct from a string hash (convert to integer).
Definition: Variant.h:355
Urho3D::HashMap::End
Iterator End()
Return iterator to the end.
Definition: HashMap.h:610
Urho3D::ShadowBatchQueue::shadowViewport_
IntRect shadowViewport_
Shadow map viewport.
Definition: Batch.h:282
Urho3D::EventHandler11Impl::Invoke
void Invoke(VariantMap &eventData) override
Invoke event handler function.
Definition: Object.h:342
Urho3D::Deserializer::ReadInt64
long long ReadInt64()
Read a 64-bit integer.
Definition: Deserializer.cpp:63
Urho3D::StaticSprite2D::SetBlendMode
void SetBlendMode(BlendMode blendMode)
Set blend mode.
Definition: StaticSprite2D.cpp:118
Urho3D::Texture3D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Texture3D.cpp:141
Urho3D::ShaderProgram::Release
void Release() override
Release shader program.
Definition: OGLShaderProgram.cpp:88
Urho3D::RigidBody::ReAddBodyToWorld
void ReAddBodyToWorld()
Readd rigid body to the physics world to clean up internal state like stale contacts.
Definition: RigidBody.cpp:582
Urho3D::Octant::parent_
Octant * parent_
Parent octant.
Definition: Octree.h:152
Urho3D::ConstraintGear2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintGear2D.cpp:44
Urho3D::EventReceiverGroup::EventReceiverGroup
EventReceiverGroup()
Construct.
Definition: Context.h:37
Urho3D::Component::GetNode
Node * GetNode() const
Return scene node.
Definition: Component.h:87
Urho3D::Camera::GetFrustumSize
void GetFrustumSize(Vector3 &near, Vector3 &far) const
Return frustum near and far sizes.
Definition: Camera.cpp:465
Urho3D::FocusParameters::focus_
bool focus_
Focus flag.
Definition: Light.h:138
Urho3D::FileSystem::SetLastModifiedTime
bool SetLastModifiedTime(const String &fileName, unsigned newTime)
Set a file's last modified time as seconds since 1.1.1970. Return true on success.
Definition: FileSystem.cpp:767
Urho3D::TerrainPatch::east_
WeakPtr< TerrainPatch > east_
East neighbor patch.
Definition: TerrainPatch.h:134
Urho3D::Terrain::MarkTerrainDirty
void MarkTerrainDirty()
Mark terrain dirty.
Definition: Terrain.h:242
Urho3D::ListView::GetHighlightMode
HighlightMode GetHighlightMode() const
Return highlight mode.
Definition: ListView.h:141
Urho3D::CollisionShape::SetCustomShape
void SetCustomShape(ShapeType shapeType, CustomGeometry *custom, const Vector3 &scale, const Vector3 &position, const Quaternion &rotation)
Set as specified shape type using CustomGeometry.
Definition: CollisionShape.cpp:1164
Urho3D::Spline::GetPoint
Variant GetPoint(float f) const
Return the T of the point of the spline at f from 0.f - 1.f.
Definition: Spline.cpp:56
Urho3D::GraphicsImpl::frameBuffers_
HashMap< unsigned long long, FrameBufferObject > frameBuffers_
Map for FBO's per resolution and format.
Definition: OGLGraphicsImpl.h:138
Urho3D::TmxLayer2D::GetProperty
const String & GetProperty(const String &name) const
Return property value (use for script).
Definition: TmxFile2D.cpp:62
Urho3D::Scene::GetFreeNodeID
unsigned GetFreeNodeID(CreateMode mode)
Get free node ID, either non-local or local.
Definition: Scene.cpp:842
Urho3D::RWOpsWrapper
Template wrapper class for using Serializer / Deserializer or their subclasses through SDL's RWOps st...
Definition: RWOpsWrapper.h:33
Urho3D::RenderTargetInfo::sRGB_
bool sRGB_
sRGB sampling/writing mode flag.
Definition: RenderPath.h:94
Urho3D::Profiler::Profiler
Profiler(Context *context)
Construct.
Definition: Profiler.cpp:34
Urho3D::VectorBuffer::buffer_
PODVector< unsigned char > buffer_
Dynamic data buffer.
Definition: VectorBuffer.h:72
Urho3D::ConstantBuffer::SetSize
bool SetSize(unsigned size)
Set size and create GPU-side buffer. Return true on success.
Definition: OGLConstantBuffer.cpp:59
Urho3D::Camera::GetDistance
float GetDistance(const Vector3 &worldPos) const
Return distance to position. In orthographic mode uses only Z coordinate.
Definition: Camera.cpp:487
Urho3D::Sound::GetDecoderStream
SharedPtr< SoundStream > GetDecoderStream() const
Return a new instance of a decoder sound stream. Used by compressed sounds.
Definition: Sound.cpp:313
Urho3D::File::fileName_
String fileName_
File name.
Definition: File.h:121
Urho3D::Graphics::GetVertexShader
ShaderVariation * GetVertexShader() const
Return current vertex shader.
Definition: Graphics.h:470
Urho3D::HashMap::KeyValue::KeyValue
KeyValue()
Construct with default key.
Definition: HashMap.h:48
Urho3D::Graphics::SetMode
bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool highDPI, bool vsync, bool tripleBuffer, int multiSample, int monitor, int refreshRate)
Set default window modes. Deprecated. Return true if successful.
Definition: Graphics.cpp:147
Urho3D::StaticModelGroup::RemoveInstanceNode
void RemoveInstanceNode(Node *node)
Remove an instance scene node.
Definition: StaticModelGroup.cpp:288
Urho3D::Deserializer::GetPosition
unsigned GetPosition() const
Return current position.
Definition: Deserializer.h:57
Urho3D::Graphics::GetLinearDepthFormat
static unsigned GetLinearDepthFormat()
Return the API-specific linear depth texture format.
Definition: OGLGraphics.cpp:2661
Urho3D::ParticleEmitter2D::GetParticleEffectAttr
ResourceRef GetParticleEffectAttr() const
Return particle model attr.
Definition: ParticleEmitter2D.cpp:156
Urho3D::CollisionShape::GetCollisionShape
btCollisionShape * GetCollisionShape() const
Return Bullet collision shape.
Definition: CollisionShape.h:212
Urho3D::Texture2DArray::SetSize
bool SetSize(unsigned layers, int width, int height, unsigned format, TextureUsage usage=TEXTURE_STATIC)
Set layers, size, format and usage. Set layers to zero to leave them unchanged. Return true if succes...
Definition: Texture2DArray.cpp:153
Urho3D::View::GetOcclusionBuffer
OcclusionBuffer * GetOcclusionBuffer() const
Return the last used software occlusion buffer.
Definition: View.h:175
Urho3D::Graphics::SetTextureUnitMappings
void SetTextureUnitMappings()
Initialize texture unit mappings.
Definition: OGLGraphics.cpp:3229
Urho3D::PackageUpload::PackageUpload
PackageUpload()
Construct with defaults.
Definition: Connection.cpp:65
Urho3D::FileSelector::okButtonText_
Text * okButtonText_
OK button text.
Definition: FileSelector.h:165
Urho3D::Model::GetGeometries
const Vector< Vector< SharedPtr< Geometry > > > & GetGeometries() const
Return geometry pointers.
Definition: Model.h:170
Urho3D::UIElement::anchorMin_
Vector2 anchorMin_
Anchor minimum position.
Definition: UIElement.h:791
Urho3D::RaycastVehicle::RIGHT_FORWARD_UP
static const IntVector3 RIGHT_FORWARD_UP
(0, 2, 1) coordinate system.
Definition: RaycastVehicle.h:174
Urho3D::FileWatcher::GetNextChange
bool GetNextChange(String &dest)
Return a file change (true if was found, false if not).
Definition: FileWatcher.cpp:334
Urho3D::Drawable::GetMaxZ
float GetMaxZ() const
Return the maximum view-space depth.
Definition: Drawable.h:287
Urho3D::Renderer::GetMaterialQuality
MaterialQuality GetMaterialQuality() const
Return material quality level.
Definition: Renderer.h:286
Urho3D::Texture::SetSRGB
void SetSRGB(bool enable)
Set sRGB sampling and writing mode.
Definition: OGLTexture.cpp:69
Urho3D::OcclusionBufferData
Per-thread occlusion buffer data.
Definition: OcclusionBuffer.h:54
Urho3D::TypeInfo::~TypeInfo
~TypeInfo()
Destruct.
Urho3D::View::SetRenderTargets
void SetRenderTargets(RenderPathCommand &command)
Set rendertargets for current render command.
Definition: View.cpp:1729
Urho3D::Script::Execute
bool Execute(const String &line)
Compile and execute a line of script in immediate mode.
Definition: Script.cpp:178
Urho3D::Network::SetSimulatedLatency
void SetSimulatedLatency(int ms)
Set simulated latency in milliseconds. This adds a fixed delay before sending each packet.
Definition: Network.cpp:580
Urho3D::FileSelector::HandleFileDoubleClicked
void HandleFileDoubleClicked(StringHash eventType, VariantMap &eventData)
Handle file doubleclicked from the list (enter directory / OK the file selection).
Definition: FileSelector.cpp:416
Urho3D::RigidBody::GetRollingFriction
float GetRollingFriction() const
Return rolling friction coefficient.
Definition: RigidBody.cpp:673
Urho3D::RaycastVehicle::ResetWheels
void ResetWheels()
Sets node initial positions.
Definition: RaycastVehicle.cpp:708
Urho3D::Polyhedron::AddFace
void AddFace(const Vector3 &v0, const Vector3 &v1, const Vector3 &v2)
Add a triangle face.
Definition: Polyhedron.cpp:71
Urho3D::OffMeshConnection::SetAreaID
void SetAreaID(unsigned newAreaID)
Sets the assigned area Id for the connection.
Definition: OffMeshConnection.cpp:107
Urho3D::Serializer::WriteStringHash
bool WriteStringHash(const StringHash &value)
Write a 32-bit StringHash.
Definition: Serializer.cpp:201
Urho3D::String::Begin
ConstIterator Begin() const
Return const iterator to the beginning.
Definition: Str.h:383
Urho3D::StoredLogMessage
Stored log message from another thread.
Definition: Log.h:51
Urho3D::CrowdManager::SetMaxAgentRadius
void SetMaxAgentRadius(float maxAgentRadius)
Set the maximum radius of any agent.
Definition: CrowdManager.cpp:246
Urho3D::BufferedSoundStream::Clear
void Clear()
Remove all buffered audio data.
Definition: BufferedSoundStream.cpp:102
Urho3D::NavigationMesh::boundingBox_
BoundingBox boundingBox_
Whole navigation mesh bounding box.
Definition: NavigationMesh.h:344
Urho3D::RibbonTrail::GetVertexDistance
float GetVertexDistance() const
Get distance between points.
Definition: RibbonTrail.h:131
Urho3D::IntVector3
Three-dimensional vector with integer values.
Definition: Vector3.h:32
Urho3D::TerrainPatch::SetOwner
void SetOwner(Terrain *terrain)
Set owner terrain.
Definition: TerrainPatch.cpp:214
Urho3D::Graphics::IsDeviceLost
bool IsDeviceLost() const
Return whether graphics context is lost and can not render or load GPU resources.
Definition: OGLGraphics.cpp:2037
Urho3D::Serializer::WriteMatrix3x4
bool WriteMatrix3x4(const Matrix3x4 &value)
Write a Matrix3x4.
Definition: Serializer.cpp:159
Urho3D::WorkQueue::lastSize_
unsigned lastSize_
Last size of the shared pool.
Definition: WorkQueue.h:150
Urho3D::UI::GetFontSubpixelThreshold
float GetFontSubpixelThreshold() const
Get the font subpixel threshold. Below this size, if the hint level is LIGHT or NONE,...
Definition: UI.h:209
Urho3D::Octant::AddDrawable
void AddDrawable(Drawable *drawable)
Add a drawable object to this octant.
Definition: Octree.h:57
Urho3D::RenderSurface::SetViewport
void SetViewport(unsigned index, Viewport *viewport)
Set viewport.
Definition: RenderSurface.cpp:47
Urho3D::ParticleEffect::SetEmitterSize
void SetEmitterSize(const Vector3 &size)
Set emitter size.
Definition: ParticleEffect.cpp:485
Urho3D::ProfilerBlock::name_
char * name_
Block name.
Definition: Profiler.h:138
Urho3D::NavigationMesh::SetDrawNavAreas
void SetDrawNavAreas(bool enable)
Draw debug geometry for NavArea components.
Definition: NavigationMesh.h:272
Urho3D::Rect::Rect
Rect(const Vector2 &min, const Vector2 &max) noexcept
Construct from minimum and maximum vectors.
Definition: Rect.h:42
Urho3D::NamedPipe::Write
unsigned Write(const void *data, unsigned size) override
Write bytes to the pipe. Return number of bytes actually written.
Definition: NamedPipe.cpp:294
Urho3D::Pair::Pair
Pair(const T &first, const U &second)
Construct with values.
Definition: Pair.h:38
Urho3D::Sprite::texture_
SharedPtr< Texture > texture_
Texture.
Definition: Sprite.h:120
Urho3D::Text3D::CalculateFixedScreenSize
void CalculateFixedScreenSize(const FrameInfo &frame)
Recalculate camera facing and fixed screen size.
Definition: Text3D.cpp:735
Urho3D::ScrollBar::ChangeValue
void ChangeValue(float delta)
Change slider current value by a delta.
Definition: ScrollBar.cpp:176
Urho3D::HeightfieldData::HeightfieldData
HeightfieldData(Terrain *terrain, unsigned lodLevel)
Construct from a terrain.
Definition: CollisionShape.cpp:317
Urho3D::SoundSource::GetPositionAttr
int GetPositionAttr() const
Return sound position attribute.
Definition: SoundSource.cpp:503
Urho3D::StaticModel::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: StaticModel.cpp:56
Urho3D::BatchQueue::IsEmpty
bool IsEmpty() const
Return whether the batch group is empty.
Definition: Batch.h:245
Urho3D::Viewport::WorldToScreenPoint
IntVector2 WorldToScreenPoint(const Vector3 &worldPos) const
Convert a world space point to normalized screen coordinates.
Definition: Viewport.cpp:165
Urho3D::Quaternion::Quaternion
Quaternion(const Quaternion &quat) noexcept
Copy-construct from another quaternion.
Definition: Quaternion.h:53
Urho3D::JSONFile
JSON document resource.
Definition: JSONFile.h:32
Urho3D::AttributeInfo::defaultValue_
Variant defaultValue_
Default value for network replication.
Definition: Attribute.h:110
Urho3D::DecalSet::GetNumVertices
unsigned GetNumVertices() const
Retur number of vertices in the decals.
Definition: DecalSet.h:152
Urho3D::Decal::vertices_
PODVector< DecalVertex > vertices_
Decal vertices.
Definition: DecalSet.h:97
Urho3D::Zone::SetAmbientGradient
void SetAmbientGradient(bool enable)
Set ambient gradient mode. In gradient mode ambient color is interpolated from neighbor zones.
Definition: Zone.cpp:172
Urho3D::BillboardSet::indexBuffer_
SharedPtr< IndexBuffer > indexBuffer_
Index buffer.
Definition: BillboardSet.h:187
Urho3D::ShaderParameter::ShaderParameter
ShaderParameter()=default
Construct with defaults.
Urho3D::VertexLightVSVariation
VertexLightVSVariation
Per-vertex light vertex shader variations.
Definition: Renderer.h:78
Urho3D::MaterialShaderParameter
Material's shader parameter definition.
Definition: Material.h:47
Urho3D::Text::ConstructBatch
void ConstructBatch(UIBatch &pageBatch, const PODVector< GlyphLocation > &pageGlyphLocation, float dx=0, float dy=0, Color *color=nullptr, float depthBias=0.0f)
Construct batch.
Definition: Text.cpp:787
Urho3D::View::GetViewRect
const IntRect & GetViewRect() const
Return view rectangle.
Definition: View.h:157
Urho3D::IndexBuffer::IsShadowed
bool IsShadowed() const
Return whether CPU memory shadowing is enabled.
Definition: IndexBuffer.h:65
Urho3D::CustomVariantValue::CustomVariantValue
CustomVariantValue(const std::type_info &typeInfo)
Construct from type info.
Definition: Variant.h:175
Urho3D::CrowdManager::FindNearestPoint
Vector3 FindNearestPoint(const Vector3 &point, int queryFilterType, dtPolyRef *nearestRef=nullptr)
Find the nearest point on the navigation mesh to a given point using the crowd initialized query exte...
Definition: CrowdManager.cpp:390
Urho3D::Pass::GetVertexShader
const String & GetVertexShader() const
Return vertex shader name.
Definition: Technique.h:114
Urho3D::NodeImpl::name_
String name_
Name.
Definition: Node.h:65
Urho3D::AreaAllocator
Rectangular area allocator.
Definition: AreaAllocator.h:31
Urho3D::Node::IsEnabledSelf
bool IsEnabledSelf() const
Return the node's last own enabled state. May be different than the value returned by IsEnabled when ...
Definition: Node.h:371
Urho3D::Constraint::otherRotation_
Quaternion otherRotation_
Constraint other body axis.
Definition: Constraint.h:187
Urho3D::Input::PopTouchIndex
unsigned PopTouchIndex()
Used internally to return and remove the next available touch index.
Definition: Input.cpp:1694
Urho3D::Renderer::SetIndirectionTextureData
void SetIndirectionTextureData()
Create point light shadow indirection texture data.
Definition: Renderer.cpp:1834
Urho3D::StaticModel::occlusionLodLevel_
unsigned occlusionLodLevel_
Occlusion LOD level.
Definition: StaticModel.h:123
Urho3D::SharedPtr::ReleaseRef
void ReleaseRef()
Release the object reference and delete it if necessary.
Definition: Ptr.h:233
Urho3D::CollisionPolygon2D::SetVerticesAttr
void SetVerticesAttr(const PODVector< unsigned char > &value)
Set vertices attribute.
Definition: CollisionPolygon2D.cpp:82
Urho3D::SharedPtr::WeakRefs
int WeakRefs() const
Return the object's weak reference count, or 0 if the pointer is null.
Definition: Ptr.h:214
Urho3D::SpriteSheet2D
Sprite sheet.
Definition: SpriteSheet2D.h:37
Urho3D::Deserializer::size_
unsigned size_
Stream size.
Definition: Deserializer.h:149
Urho3D::SoundSource::UpdateMasterGain
void UpdateMasterGain()
Update the effective master gain. Called internally and by Audio when the master gain changes.
Definition: SoundSource.cpp:460
Urho3D::XMLElement::~XMLElement
~XMLElement()
Destruct.
Definition: XMLElement.cpp:74
Urho3D::RandomAccessConstIterator::RandomAccessConstIterator
constexpr RandomAccessConstIterator(const RandomAccessIterator< T > &rhs)
Construct from a non-const iterator.
Definition: Iter.h:142
Urho3D::Octree::threadedDrawableUpdates_
PODVector< Drawable * > threadedDrawableUpdates_
Drawable objects that were inserted during threaded update phase.
Definition: Octree.h:210
Urho3D::Console::commandInterpreter_
String commandInterpreter_
Last used command interpreter.
Definition: Console.h:157
Urho3D::StringHashRegister::mutex_
UniquePtr< Mutex > mutex_
Mutex.
Definition: StringHashRegister.h:61
Urho3D::SpriteSheet2D::BeginLoadFromPListFile
bool BeginLoadFromPListFile(Deserializer &source)
Begin load from PList file.
Definition: SpriteSheet2D.cpp:125
Urho3D::FontFaceFreeType::~FontFaceFreeType
~FontFaceFreeType() override
Destruct.
Definition: FontFaceFreeType.cpp:85
Urho3D::Graphics::GetFillMode
FillMode GetFillMode() const
Return polygon fill mode.
Definition: Graphics.h:525
Urho3D::ListView::CopySelectedItemsToClipboard
void CopySelectedItemsToClipboard() const
Copy selected items to system clipboard. Currently only applicable to Text items.
Definition: ListView.cpp:911
Urho3D::CollisionChain2D::~CollisionChain2D
~CollisionChain2D() override
Destruct.
Urho3D::Drawable2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: Drawable2D.cpp:107
Urho3D::Object::IsInstanceOf
bool IsInstanceOf() const
Check current instance is type of specified class.
Definition: Object.h:107
Urho3D::Sphere::Distance
float Distance(const Vector3 &point) const
Return distance of a point to the surface, or 0 if inside.
Definition: Sphere.h:195
Urho3D::RigidBody2D::collisionShapes_
Vector< WeakPtr< CollisionShape2D > > collisionShapes_
Collision shapes.
Definition: RigidBody2D.h:181
Urho3D::Menu::OnHover
void OnHover(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse hover.
Definition: Menu.cpp:91
Urho3D::SharedArrayPtr::operator->
T * operator->() const
Point to the array.
Definition: ArrayPtr.h:99
Urho3D::Graphics::shaderCacheDir_
String shaderCacheDir_
Cache directory for Direct3D binary shaders.
Definition: Graphics.h:851
Urho3D::ScriptEventInvoker::HandleScriptEvent
void HandleScriptEvent(StringHash eventType, VariantMap &eventData)
Handle an event in script.
Definition: ScriptFile.cpp:1055
Urho3D::TerrainPatch::GetLodLevel
unsigned GetLodLevel() const
Return current LOD level.
Definition: TerrainPatch.h:107
Urho3D::UI::GetMaxFontTextureSize
int GetMaxFontTextureSize() const
Return font texture maximum size.
Definition: UI.h:188
Urho3D::Log::threadMessages_
List< StoredLogMessage > threadMessages_
Log messages from other threads.
Definition: Log.h:118
Urho3D::PODVector::RemoveSwap
bool RemoveSwap(const T &value)
Erase an element by value by swapping with the last element. Return true if was found and erased.
Definition: Vector.h:1015
Urho3D::FileSelector::HandleFileListKey
void HandleFileListKey(StringHash eventType, VariantMap &eventData)
Handle file list key pressed.
Definition: FileSelector.cpp:425
Urho3D::CollisionShape::rotation_
Quaternion rotation_
Offset rotation.
Definition: CollisionShape.h:304
Urho3D::Constraint2D::otherBodyNodeIDDirty_
bool otherBodyNodeIDDirty_
Other body node ID dirty flag.
Definition: Constraint2D.h:106
Urho3D::Text::GetEffectColor
const Color & GetEffectColor() const
Return effect color.
Definition: Text.h:169
Urho3D::Menu::autoPopup_
bool autoPopup_
Auto popup flag.
Definition: Menu.h:108
Urho3D::Renderer::GetTextureAnisotropy
int GetTextureAnisotropy() const
Return default texture max. anisotropy level.
Definition: Renderer.h:277
Urho3D::Slider::Slider
Slider(Context *context)
Construct.
Definition: Slider.cpp:45
Urho3D::Network::BanAddress
void BanAddress(const String &address)
Ban specific IP addresses.
Definition: Network.cpp:649
Urho3D::IKSolver::CONSTRAINTS
@ CONSTRAINTS
Definition: IKSolver.h:157
Urho3D::Input::OpenJoystick
SDL_JoystickID OpenJoystick(unsigned index)
Open a joystick and return its ID. Return -1 if no joystick.
Definition: Input.cpp:1268
Urho3D::Renderer::GetShadowSoftness
float GetShadowSoftness() const
Return shadow softness.
Definition: Renderer.h:295
Urho3D::Graphics::GetDither
bool GetDither() const
Return whether rendering output is dithered.
Definition: OGLGraphics.cpp:2032
Urho3D::Console::pendingRows_
Vector< Pair< int, String > > pendingRows_
Pending log message rows.
Definition: Console.h:162
Urho3D::SoundSource3D::Update
void Update(float timeStep) override
Update sound source.
Definition: SoundSource3D.cpp:98
Urho3D::XMLFile::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: XMLFile.cpp:74
Urho3D::Color::ChannelMask::b_
unsigned b_
Blue channel mask. If zero, blue channel is set to 0.
Definition: Color.h:44
Urho3D::Input::GetInputScale
Vector2 GetInputScale() const
Return input coordinate scaling. Should return non-unity on High DPI display.
Definition: Input.h:258
Urho3D::FileSelector::fileNameLayout_
UIElement * fileNameLayout_
Filename and filter layout.
Definition: FileSelector.h:173
Urho3D::OggVorbisSoundStream::~OggVorbisSoundStream
~OggVorbisSoundStream() override
Destruct.
Definition: OggVorbisSoundStream.cpp:50
Urho3D::FileSelector::GetTitleText
Text * GetTitleText() const
Return window title text element.
Definition: FileSelector.h:87
Urho3D::Network::GetUpdateFps
int GetUpdateFps() const
Return network update FPS.
Definition: Network.h:108
Urho3D::CompressedLevel::format_
CompressedFormat format_
Compression format.
Definition: Image.h:63
Urho3D::ConstraintRope2D::GetOwnerBodyAnchor
const Vector2 & GetOwnerBodyAnchor() const
Return owner body anchor.
Definition: ConstraintRope2D.h:51
Urho3D::Octree::UpdateOctreeSize
void UpdateOctreeSize()
Update octree size.
Definition: Octree.h:205
Urho3D::ScrollView::ignoreEvents_
bool ignoreEvents_
Ignore scrollbar events flag. Used to prevent possible endless loop when resizing.
Definition: ScrollView.h:173
Urho3D::LuaScript::LuaScript
LuaScript(Context *context)
Construct.
Definition: LuaScript.cpp:83
Urho3D::LightQueryResult::shadowCasters_
PODVector< Drawable * > shadowCasters_
Shadow casters.
Definition: View.h:62
Urho3D::Sprite::blendMode_
BlendMode blendMode_
Blend mode flag.
Definition: Sprite.h:124
Urho3D::Camera::frustumDirty_
bool frustumDirty_
Frustum dirty flag.
Definition: Camera.h:240
Urho3D::RibbonTrail::startScale_
float startScale_
Scale for start of trails.
Definition: RibbonTrail.h:227
Urho3D::Pair::first_
T first_
First value.
Definition: Pair.h:74
Urho3D::UIElement::OnAttributeAnimationRemoved
void OnAttributeAnimationRemoved() override
Handle attribute animation removed.
Definition: UIElement.cpp:1884
Urho3D::String::DecodeUTF8
static unsigned DecodeUTF8(const char *&src)
Decode Unicode character from UTF8. Pointer will be incremented.
Definition: Str.cpp:943
Urho3D::UIBatch::posAdjust
static Vector3 posAdjust
Position adjustment vector for pixel-perfect rendering. Initialized by UI.
Definition: UIBatch.h:100
Urho3D::ParticleEmitter::particles_
PODVector< Particle > particles_
Particles.
Definition: ParticleEmitter.h:136
Urho3D::HiresTimer::supported
static bool supported
High-resolution timer support flag.
Definition: Timer.h:72
Urho3D::Graphics::etc2TextureSupport_
bool etc2TextureSupport_
ETC2 format support flag.
Definition: Graphics.h:749
Urho3D::ParticleEmitter2D::SetParticleEffectAttr
void SetParticleEffectAttr(const ResourceRef &value)
Set particle model attr.
Definition: ParticleEmitter2D.cpp:150
Urho3D::UnknownComponent::GetTypeName
const String & GetTypeName() const override
Return type name of the stored component.
Definition: UnknownComponent.h:44
Urho3D::IKEffector::GetTargetRotation
const Quaternion & GetTargetRotation() const
Gets the current target rotation in world space.
Definition: IKEffector.cpp:126
Urho3D::UI::useScreenKeyboard_
bool useScreenKeyboard_
Flag for showing the on-screen keyboard on focusing a LineEdit.
Definition: UI.h:401
Urho3D::File::Read
unsigned Read(void *dest, unsigned size) override
Read bytes from the file. Return number of bytes actually read.
Definition: File.cpp:158
Urho3D::ParticleEffect::GetConstantForce
const Vector3 & GetConstantForce() const
Return constant force acting on particles.
Definition: ParticleEffect.h:263
Urho3D::WorkItem::workFunction_
void(* workFunction_)(const WorkItem *, unsigned)
Work function. Called with the work item and thread index (0 = main thread) as parameters.
Definition: WorkQueue.h:49
Urho3D::Renderer::shadowMapAllocations_
HashMap< int, PODVector< Light * > > shadowMapAllocations_
Shadow map allocations by resolution.
Definition: Renderer.h:508
Urho3D::HashMap::Iterator
Hash map node iterator.
Definition: HashMap.h:107
Urho3D::UI::rootElement_
SharedPtr< UIElement > rootElement_
UI root element.
Definition: UI.h:353
Urho3D::SimpleNavBuildData::SimpleNavBuildData
SimpleNavBuildData()
Constructor.
Definition: NavBuildData.cpp:50
Urho3D::Log::SetQuiet
void SetQuiet(bool quiet)
Set quiet mode ie. only print error entries to standard error stream (which is normally redirected to...
Definition: Log.cpp:133
Urho3D::Graphics::SetLineAntiAlias
void SetLineAntiAlias(bool enable)
Set line antialiasing on/off.
Definition: OGLGraphics.cpp:1854
Urho3D::AnimatedModel::GetMorphWeight
float GetMorphWeight(unsigned index) const
Return vertex morph weight by index.
Definition: AnimatedModel.cpp:630
Urho3D::Graphics::GetResolutions
PODVector< IntVector3 > GetResolutions(int monitor) const
Return supported fullscreen resolutions (third component is refreshRate). Will be empty if listing th...
Definition: Graphics.cpp:245
Urho3D::RigidBody2D::SetLinearDamping
void SetLinearDamping(float linearDamping)
Set linear damping.
Definition: RigidBody2D.cpp:187
Urho3D::ResourceCache::GetTempResource
SharedPtr< Resource > GetTempResource(StringHash type, const String &name, bool sendEventOnFailure=true)
Load a resource without storing it in the resource cache. Return null if not found or if fails....
Definition: ResourceCache.cpp:658
Urho3D::DebugRenderer::AddPolygon
void AddPolygon(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3, const Vector3 &v4, const Color &color, bool depthTest=true)
Add a solid quadrangular polygon.
Definition: DebugRenderer.cpp:119
Urho3D::BoxOctreeQuery
Bounding box octree query.
Definition: OctreeQuery.h:115
Urho3D::Sprite2D::edgeOffset_
float edgeOffset_
Offset to fix texture edge bleeding.
Definition: Sprite2D.h:109
Urho3D::Vertex2D::color_
unsigned color_
Color.
Definition: Drawable2D.h:42
Urho3D::ConstraintPulley2D
2D pulley constraint component.
Definition: ConstraintPulley2D.h:31
Urho3D::View3D::cameraNode_
SharedPtr< Node > cameraNode_
Camera scene node.
Definition: View3D.h:93
Urho3D::Graphics::GetDeferredSupport
bool GetDeferredSupport() const
Return whether deferred rendering is supported.
Definition: Graphics.h:423
Urho3D::CollisionShape2D::SetGroupIndex
void SetGroupIndex(int groupIndex)
Set filter group index.
Definition: CollisionShape2D.cpp:120
Urho3D::UI::DragElementErase
HashMap< WeakPtr< UIElement >, DragData * >::Iterator DragElementErase(HashMap< WeakPtr< UIElement >, DragData * >::Iterator i)
Remove drag data and return next iterator.
Definition: UI.cpp:2091
Urho3D::CollisionShape::cachedWorldScale_
Vector3 cachedWorldScale_
Cached world scale for determining if the collision shape needs update.
Definition: CollisionShape.h:308
Urho3D::IntRect::Data
const int * Data() const
Return integer data.
Definition: Rect.h:437
Urho3D::Tile2D::GetSprite
Sprite2D * GetSprite() const
Return sprite.
Definition: TileMapDefs2D.cpp:168
Urho3D::ShaderVariation::~ShaderVariation
~ShaderVariation() override
Destruct.
Definition: ShaderVariation.cpp:65
Urho3D::AnimationState::SetTime
void SetTime(float time)
Set time position. Does not fire animation triggers.
Definition: AnimationState.cpp:191
Urho3D::ParticleEffect::GetRandomSize
Vector2 GetRandomSize() const
Return random size.
Definition: ParticleEffect.cpp:796
Urho3D::Image::GetHeight
int GetHeight() const
Return height.
Definition: Image.h:162
Urho3D::DebugRenderer::AddPolyhedron
void AddPolyhedron(const Polyhedron &poly, const Color &color, bool depthTest=true)
Add a polyhedron.
Definition: DebugRenderer.cpp:245
Urho3D::OcclusionBuffer::ClipEdge
Vector4 ClipEdge(const Vector4 &v0, const Vector4 &v1, float d0, float d1) const
Clip an edge.
Definition: OcclusionBuffer.cpp:563
Urho3D::ConstraintRevolute2D::GetEnableMotor
bool GetEnableMotor() const
Return enable motor.
Definition: ConstraintRevolute2D.h:71
Urho3D::View3D::ownScene_
bool ownScene_
Own scene.
Definition: View3D.h:95
Urho3D::CustomVariantValueImpl::ClassName
CustomVariantValueImpl< T > ClassName
This class name.
Definition: Variant.h:229
Urho3D::Texture::CheckTextureBudget
void CheckTextureBudget(StringHash type)
Check whether texture memory budget has been exceeded. Free unused materials in that case to release ...
Definition: Texture.cpp:273
Urho3D::ConstantBuffer::dirty_
bool dirty_
Dirty flag.
Definition: ConstantBuffer.h:70
Urho3D::RenderSurface::Release
void Release()
Release surface.
Definition: OGLRenderSurface.cpp:112
Urho3D::TileMapLayer2D::tileLayer_
const TmxTileLayer2D * tileLayer_
Tile layer.
Definition: TileMapLayer2D.h:117
Urho3D::ConstraintPrismatic2D::SetUpperTranslation
void SetUpperTranslation(float upperTranslation)
Set upper translation.
Definition: ConstraintPrismatic2D.cpp:114
Urho3D::PhysicsWorld2D::GetDrawCenterOfMass
bool GetDrawCenterOfMass() const
Return draw center of mass.
Definition: PhysicsWorld2D.h:177
Urho3D::Node::SetWorldRotation
void SetWorldRotation(const Quaternion &rotation)
Set rotation in world space.
Definition: Node.cpp:518
Urho3D::RaycastVehicle::maxSideSlipSpeed_
float maxSideSlipSpeed_
Side slip speed threshold.
Definition: RaycastVehicle.h:204
Urho3D::Graphics::textureUnits_
HashMap< String, TextureUnit > textureUnits_
Texture unit mappings.
Definition: Graphics.h:791
Urho3D::WeakArrayPtr::RefCountPtr
RefCount * RefCountPtr() const
Return pointer to RefCount structure.
Definition: ArrayPtr.h:388
Urho3D::Deserializer::ReadMatrix4
Matrix4 ReadMatrix4()
Read a Matrix4.
Definition: Deserializer.cpp:226
Urho3D::DecalSet::GetMaterialAttr
ResourceRef GetMaterialAttr() const
Return material attribute.
Definition: DecalSet.cpp:597
Urho3D::ParticleEffect2D::GetStartColor
const Color & GetStartColor() const
Return start color.
Definition: ParticleEffect2D.h:176
Urho3D::BatchGroup::BatchGroup
BatchGroup()
Construct with defaults.
Definition: Batch.h:137
Urho3D::Node::CleanupConnection
void CleanupConnection(Connection *connection)
Clean up all references to a network connection that is about to be removed.
Definition: Node.cpp:1773
Urho3D::HashSet::ConstIterator::ConstIterator
ConstIterator()=default
Construct.
Urho3D::Serializable::OnSetAttribute
virtual void OnSetAttribute(const AttributeInfo &attr, const Variant &src)
Handle attribute write access. Default implementation writes to the variable at offset,...
Definition: Serializable.cpp:65
Urho3D::Geometry::vertexStart_
unsigned vertexStart_
First used vertex.
Definition: Geometry.h:127
Urho3D::RigidBody2D::SetMassCenter
void SetMassCenter(const Vector2 &center)
Set mass center.
Definition: RigidBody2D.cpp:155
Urho3D::ConstraintMotor2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintMotor2D.cpp:134
Urho3D::Pass::pixelShaders_
Vector< SharedPtr< ShaderVariation > > pixelShaders_
Pixel shaders.
Definition: Technique.h:180
Urho3D::Graphics::GetAlphaFormat
static unsigned GetAlphaFormat()
Return the API-specific alpha texture format.
Definition: OGLGraphics.cpp:2549
Urho3D::Text::GetWordwrap
bool GetWordwrap() const
Return wordwrap mode.
Definition: Text.h:145
Urho3D::JSONValue::JSONValue
JSONValue(int value)
Construct with a integer.
Definition: JSONValue.h:89
Urho3D::ResourceGroup
Container of resources with specific type.
Definition: ResourceCache.h:44
Urho3D::Input::mouseButtonPress_
MouseButtonFlags mouseButtonPress_
Mouse buttons' pressed state.
Definition: Input.h:386
Urho3D::Camera::IsOrthographic
bool IsOrthographic() const
Return orthographic flag.
Definition: Camera.h:140
Urho3D::Engine::lastTimeSteps_
PODVector< float > lastTimeSteps_
Previous timesteps for smoothing.
Definition: Engine.h:132
Urho3D::TmxFile2D::edgeOffset_
float edgeOffset_
Texture edge offset.
Definition: TmxFile2D.h:228
Urho3D::Particle
One particle in the particle system.
Definition: ParticleEmitter.h:33
Urho3D::File::Seek
unsigned Seek(unsigned position) override
Set position from the beginning of the file.
Definition: File.cpp:273
Urho3D::BatchQueue::vsExtraDefinesHash_
StringHash vsExtraDefinesHash_
Hash for vertex shader extra defines.
Definition: Batch.h:271
Urho3D::Graphics::SetDefaultTextureAnisotropy
void SetDefaultTextureAnisotropy(unsigned level)
Set default texture anisotropy level. Called by Renderer before rendering.
Definition: OGLGraphics.cpp:1590
Urho3D::RigidBody::EnableMassUpdate
void EnableMassUpdate()
Re-enable mass update and recalculate the mass/inertia by calling UpdateMass(). Call when collision s...
Definition: RigidBody.cpp:593
Urho3D::Graphics::sRGBSupport_
bool sRGBSupport_
sRGB conversion on read support flag.
Definition: Graphics.h:757
Urho3D::LightBatchQueue::litBaseBatches_
BatchQueue litBaseBatches_
Lit geometry draw calls, base (replace blend mode).
Definition: Batch.h:301
Urho3D::ScrollView::scrollBarsAutoVisible_
bool scrollBarsAutoVisible_
Automatically show/hide scrollbars flag.
Definition: ScrollView.h:171
Urho3D::RenderPath::Clone
SharedPtr< RenderPath > Clone()
Clone the rendering path.
Definition: RenderPath.cpp:313
Urho3D::ParticleEffect2D::GetBlendMode
BlendMode GetBlendMode() const
Return blend mode.
Definition: ParticleEffect2D.h:227
Urho3D::HashSet::Contains
bool Contains(const T &key) const
Return whether contains a key.
Definition: HashSet.h:491
Urho3D::Spriter::SpriterInstance::UpdateTimelineKeys
void UpdateTimelineKeys()
Update timeline keys.
Definition: SpriterInstance2D.cpp:201
Urho3D::ValueAnimation
Value animation class.
Definition: ValueAnimation.h:68
Urho3D::HttpRequest::postData_
String postData_
POST data.
Definition: HttpRequest.h:93
Urho3D::HashMap::Iterator::operator++
Iterator & operator++()
Preincrement the pointer.
Definition: HashMap.h:119
Urho3D::Renderer::faceSelectCubeMap_
SharedPtr< TextureCube > faceSelectCubeMap_
Face selection cube map for shadowed pointlights.
Definition: Renderer.h:496
Urho3D::LineEdit::OnTextInput
void OnTextInput(const String &text) override
React to text input event.
Definition: LineEdit.cpp:432
Urho3D::ScrollView::SetViewPositionAttr
void SetViewPositionAttr(const IntVector2 &value)
Set view position attribute.
Definition: ScrollView.cpp:373
Urho3D::Color::ConvertLinearToGamma
static float ConvertLinearToGamma(float value)
Convert single component of the color from linear to gamma space.
Definition: Color.h:200
Urho3D::Spriter::SpriteTimelineKey::zIndex_
int zIndex_
Run time data.
Definition: SpriterData2D.h:311
Urho3D::PhysicsWorld::GetInterpolation
bool GetInterpolation() const
Return whether interpolation between simulation steps is enabled.
Definition: PhysicsWorld.h:227
Urho3D::FontFace::font_
Font * font_
Parent font.
Definition: FontFace.h:104
Urho3D::PODVector::Size
unsigned Size() const
Return number of elements.
Definition: Vector.h:1152
Urho3D::Matrix2::Equals
bool Equals(const Matrix2 &rhs) const
Test for equality with another matrix with epsilon.
Definition: Matrix2.h:185
Urho3D::FileSelector::HandleCancelPressed
void HandleCancelPressed(StringHash eventType, VariantMap &eventData)
Handle cancel button pressed.
Definition: FileSelector.cpp:474
Urho3D::Node::GetNetRotationAttr
const PODVector< unsigned char > & GetNetRotationAttr() const
Return network rotation attribute.
Definition: Node.cpp:1517
Urho3D::Constraint::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Constraint.cpp:82
Urho3D::WorkItem::start_
void * start_
Data start pointer.
Definition: WorkQueue.h:51
Urho3D::Light::GetVolumeTransform
const Matrix3x4 & GetVolumeTransform(Camera *camera)
Return light volume model transform.
Definition: Light.cpp:493
Urho3D::PODVector::Remove
bool Remove(const T &value)
Erase an element by value. Return true if was found and erased.
Definition: Vector.h:1002
Urho3D::NetworkState::previousVars_
VariantMap previousVars_
Previous user variables.
Definition: ReplicationState.h:132
Urho3D::Zone::fogStart_
float fogStart_
Fog start distance.
Definition: Zone.h:156
Urho3D::Sprite::GetTextureAttr
ResourceRef GetTextureAttr() const
Return texture attribute.
Definition: Sprite.cpp:290
Urho3D::IntVector2::ToString
String ToString() const
Return as string.
Definition: Vector2.cpp:55
Urho3D::ResourceCache::returnFailedResources_
bool returnFailedResources_
Return failed resources flag.
Definition: ResourceCache.h:250
Urho3D::BoundingBox::Define
void Define(float min, float max)
Define from minimum and maximum floats (all dimensions same).
Definition: BoundingBox.h:163
Urho3D::Spriter::CurveType
CurveType
Curve type.
Definition: SpriterData2D.h:215
Urho3D::Profiler::~Profiler
~Profiler() override
Destruct.
Definition: Profiler.cpp:43
Urho3D::Constraint::framesDirty_
bool framesDirty_
Coordinate frames dirty flag.
Definition: Constraint.h:205
Urho3D::ParticleEffect2D::SetStartColorVariance
void SetStartColorVariance(const Color &startColorVariance)
Set start color variance.
Definition: ParticleEffect2D.cpp:369
Urho3D::JSONValue::Set
void Set(const String &key, const JSONValue &value)
Set JSON value with key.
Definition: JSONValue.cpp:268
Urho3D::XMLElement::SetIntVector2
bool SetIntVector2(const String &name, const IntVector2 &value)
Set an IntVector2 attribute.
Definition: XMLElement.cpp:387
Urho3D::DebugHud::GetProfilerInterval
float GetProfilerInterval() const
Return profiler accumulation interval in seconds.
Definition: DebugHud.cpp:275
Urho3D::ConstraintDistance2D::SetOwnerBodyAnchor
void SetOwnerBodyAnchor(const Vector2 &anchor)
Set owner body anchor.
Definition: ConstraintDistance2D.cpp:60
Urho3D::OffMeshConnection::areaId_
unsigned areaId_
Area id to be used for this off mesh connection's internal poly.
Definition: OffMeshConnection.h:90
Urho3D::ParticleEffect::updateInvisible_
bool updateInvisible_
Update when invisible flag.
Definition: ParticleEffect.h:363
Urho3D::ScrollView::GetScrollDeceleration
float GetScrollDeceleration() const
Return scroll deceleration.
Definition: ScrollView.h:122
Urho3D::ValueAnimation::SetInterpolationMethod
void SetInterpolationMethod(InterpMethod method)
Set interpolation method.
Definition: ValueAnimation.cpp:255
Urho3D::UIElement::GetChildrenRecursive
void GetChildrenRecursive(PODVector< UIElement * > &dest) const
Return child elements recursively.
Definition: UIElement.cpp:2055
Urho3D::ValueAnimation::owner_
void * owner_
Owner.
Definition: ValueAnimation.h:151
Urho3D::Graphics::GetStencilZFail
StencilOp GetStencilZFail() const
Return stencil operation to do if depth compare fails.
Definition: Graphics.h:549
Urho3D::UI::dragBeginInterval_
float dragBeginInterval_
Seconds from mouse button down to begin a drag if there has been no movement exceeding pixel threshol...
Definition: UI.h:379
Urho3D::ShaderProgram::vertexAttributes_
HashMap< Pair< unsigned char, unsigned char >, unsigned > vertexAttributes_
Vertex attributes.
Definition: OGLShaderProgram.h:99
Urho3D::EventProfiler::EventProfiler
EventProfiler(Context *context)
Construct.
Definition: EventProfiler.cpp:34
Urho3D::WeakArrayPtr::operator==
bool operator==(const WeakArrayPtr< T > &rhs) const
Test for equality with another weak array pointer.
Definition: ArrayPtr.h:334
Urho3D::StaticSprite2D::customMaterial_
SharedPtr< Material > customMaterial_
Custom material.
Definition: StaticSprite2D.h:168
Urho3D::Constraint2D::CreateJoint
void CreateJoint()
Create joint.
Definition: Constraint2D.cpp:82
Urho3D::Renderer::GetThreadedOcclusion
bool GetThreadedOcclusion() const
Return whether occlusion rendering is threaded.
Definition: Renderer.h:331
Urho3D::StaticModel::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: StaticModel.cpp:74
Urho3D::UIElement
Base class for UI elements.
Definition: UIElement.h:122
Urho3D::StaticModel::SetNumGeometries
void SetNumGeometries(unsigned num)
Set number of geometries.
Definition: StaticModel.cpp:365
Urho3D::Node::GetWorldUp
Vector3 GetWorldUp() const
Return node's up vector in world space.
Definition: Node.h:447
Urho3D::NavigationMesh::GetCellSize
float GetCellSize() const
Return cell size.
Definition: NavigationMesh.h:201
Urho3D::Serializable::GetInstanceDefault
Variant GetInstanceDefault(const String &name) const
Get instance-level default value.
Definition: Serializable.cpp:1027
Urho3D::Network::Network
Network(Context *context)
Construct.
Definition: Network.cpp:196
Urho3D::NavigationGeometryInfo::boundingBox_
BoundingBox boundingBox_
Bounding box relative to the navigation mesh root node.
Definition: NavigationMesh.h:68
Urho3D::ParticleEffect::GetNumParticles
unsigned GetNumParticles() const
Return maximum number of particles.
Definition: ParticleEffect.h:230
Urho3D::OT_ELLIPSE
@ OT_ELLIPSE
Ellipse.
Definition: TileMapDefs2D.h:93
Urho3D::Batch::vertexShader_
ShaderVariation * vertexShader_
Vertex shader.
Definition: Batch.h:104
Urho3D::Scene::DelayedMarkedDirty
void DelayedMarkedDirty(Component *component)
Add a component to the delayed dirty notify queue. Is thread-safe.
Definition: Scene.cpp:836
Urho3D::Renderer::Renderer
Renderer(Context *context)
Construct.
Definition: Renderer.cpp:268
Urho3D::Quaternion::Quaternion
Quaternion(float x, float y, float z) noexcept
Construct from Euler angles (in degrees). Equivalent to Y*X*Z.
Definition: Quaternion.h:108
Urho3D::Matrix4::operator*
Vector3 operator*(const Vector3 &rhs) const
Multiply a Vector3 which is assumed to represent position.
Definition: Matrix4.h:258
Urho3D::Text3D::UpdateTextMaterials
void UpdateTextMaterials(bool forceUpdate=false)
Create materials for text rendering. May only be called from the main thread. Text UI batches must be...
Definition: Text3D.cpp:628
Urho3D::XPathResultSet::Size
unsigned Size() const
Return size of result set.
Definition: XMLElement.cpp:1051
Urho3D::Constraint::constraint_
UniquePtr< btTypedConstraint > constraint_
Bullet constraint.
Definition: Constraint.h:177
Urho3D::PODVector::~PODVector
~PODVector()
Destruct.
Definition: Vector.h:731
Urho3D::ConstraintMotor2D::~ConstraintMotor2D
~ConstraintMotor2D() override
Destruct.
Urho3D::ConstraintMotor2D::GetLinearOffset
const Vector2 & GetLinearOffset() const
Return linear offset.
Definition: ConstraintMotor2D.h:55
Urho3D::Viewport::AllocateView
void AllocateView()
Allocate the view structure. Called by Renderer.
Definition: Viewport.cpp:214
Urho3D::StaticModelGroup::instanceNodes_
Vector< WeakPtr< Node > > instanceNodes_
Instance nodes.
Definition: StaticModelGroup.h:86
Urho3D::MutexLock::MutexLock
MutexLock(Mutex &mutex)
Construct and acquire the mutex.
Definition: Mutex.cpp:106
Urho3D::SharedArrayPtr::operator[]
T & operator[](int index)
Subscript the array.
Definition: ArrayPtr.h:113
Urho3D::Text3D::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: Text3D.cpp:107
Urho3D::List::Back
const T & Back() const
Return const last element.
Definition: List.h:415
Urho3D::ObjectAnimation::GetAttributeAnimationWrapMode
WrapMode GetAttributeAnimationWrapMode(const String &name) const
Return attribute animation wrap mode by name.
Definition: ObjectAnimation.cpp:241
Urho3D::NodeReplicationState::node_
WeakPtr< Node > node_
Link to the actual node.
Definition: ReplicationState.h:161
Urho3D::ParticleEffect::SetMinVelocity
void SetMinVelocity(float velocity)
Set particle minimum velocity.
Definition: ParticleEffect.cpp:550
Urho3D::Scene::PreloadResourcesXML
void PreloadResourcesXML(const XMLElement &element)
Preload resources from an XML scene or object prefab file.
Definition: Scene.cpp:1367
Urho3D::StretchableSprite2D::border_
IntRect border_
The border, represented by the number of pixels from each side.
Definition: StretchableSprite2D.h:50
Urho3D::StretchableSprite2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable2D must be registered first.
Definition: StretchableSprite2D.cpp:127
Urho3D::Renderer::ResetShadowMapAllocations
void ResetShadowMapAllocations()
Reset shadow map allocation counts.
Definition: Renderer.cpp:1566
Urho3D::ListBase::size_
unsigned size_
Number of nodes.
Definition: ListBase.h:122
Urho3D::Drawable::GetCastShadows
bool GetCastShadows() const
Return shadowcaster flag.
Definition: Drawable.h:210
Urho3D::Network::allowedRemoteEvents_
HashSet< StringHash > allowedRemoteEvents_
Allowed remote events.
Definition: Network.h:158
Urho3D::Window::Window
Window(Context *context)
Construct.
Definition: Window.cpp:41
Urho3D::ResourceCache::GetFinishBackgroundResourcesMs
int GetFinishBackgroundResourcesMs() const
Return how many milliseconds maximum to spend on finishing background loaded resources.
Definition: ResourceCache.h:196
Urho3D::Color::ConvertGammaToLinear
static float ConvertGammaToLinear(float value)
Convert single component of the color from gamma to linear space.
Definition: Color.h:189
Urho3D::Window::SetModalShadeColor
void SetModalShadeColor(const Color &color)
Set modal shade color.
Definition: Window.cpp:300
Urho3D::Renderer::SetDrawShadows
void SetDrawShadows(bool enable)
Set shadows on/off.
Definition: Renderer.cpp:355
Urho3D::StringHash
32-bit hash value for a string.
Definition: StringHash.h:33
Urho3D::ScriptInstance::IsA
bool IsA(const String &className) const
Check if the object is derived from a class.
Definition: ScriptInstance.cpp:416
Urho3D::Text3D::GetHeight
int GetHeight() const
Return text height.
Definition: Text3D.cpp:463
Urho3D::BufferedSoundStream::GetData
unsigned GetData(signed char *dest, unsigned numBytes) override
Produce sound data into destination. Return number of bytes produced. Called by SoundSource from the ...
Definition: BufferedSoundStream.cpp:39
Urho3D::View3D::GetScene
Scene * GetScene() const
Return scene.
Definition: View3D.cpp:131
Urho3D::Mutex::Mutex
Mutex()
Construct.
Definition: Mutex.cpp:71
Urho3D::IKEffector::RegisterObject
static void RegisterObject(Context *context)
Registers this class as an object factory.
Definition: IKEffector.cpp:62
Urho3D::Mutex
Operating system mutual exclusion primitive.
Definition: Mutex.h:35
Urho3D::Drawable::RemoveFromOctree
void RemoveFromOctree()
Remove from octree.
Definition: Drawable.cpp:407
Urho3D::ConstraintRevolute2D::GetAnchor
const Vector2 & GetAnchor() const
Return anchor.
Definition: ConstraintRevolute2D.h:59
Urho3D::Variant::IsCustomType
bool IsCustomType() const
Return true if specified custom type is stored in the variant.
Definition: Variant.h:1320
Urho3D::O_STAGGERED
@ O_STAGGERED
Staggered.
Definition: TileMapDefs2D.h:43
Urho3D::NavBuildData::navAreas_
PODVector< NavAreaStub > navAreas_
Pretransformed navigation areas, no correlation to the geometry above.
Definition: NavBuildData.h:84
Urho3D::Sprite::ElementToScreen
IntVector2 ElementToScreen(const IntVector2 &position) override
Convert element coordinates to screen coordinates.
Definition: Sprite.cpp:103
Urho3D::SmoothedTransform::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: SmoothedTransform.cpp:46
Urho3D::ResourceCache::searchPackagesFirst_
bool searchPackagesFirst_
Search priority flag.
Definition: ResourceCache.h:252
Urho3D::File::readSyncNeeded_
bool readSyncNeeded_
Synchronization needed before read -flag.
Definition: File.h:145
Urho3D::CrowdAgent::IsInCrowd
bool IsInCrowd() const
Return true when the agent is in crowd (being managed by a crowd manager).
Definition: CrowdAgent.cpp:512
Urho3D::TmxLayer2D::HasProperty
bool HasProperty(const String &name) const
Return has property (use for script).
Definition: TmxFile2D.cpp:55
Urho3D::ConstraintDistance2D::GetLength
float GetLength() const
Return length.
Definition: ConstraintDistance2D.h:67
Urho3D::PhysicsWorld::SphereCast
void SphereCast(PhysicsRaycastResult &result, const Ray &ray, float radius, float maxDistance, unsigned collisionMask=M_MAX_UNSIGNED)
Perform a physics world swept sphere test and return the closest hit.
Definition: PhysicsWorld.cpp:484
Urho3D::UI::renderToTexture_
HashMap< UIElement *, RenderToTextureData > renderToTexture_
Elements that should be rendered to textures.
Definition: UI.h:441
Urho3D::Sprite2D::SetSpriteSheet
void SetSpriteSheet(SpriteSheet2D *spriteSheet)
Set sprite sheet.
Definition: Sprite2D.cpp:138
Urho3D::MessageBox
Message box dialog. Manages its lifetime automatically, so the application does not need to hold a re...
Definition: MessageBox.h:36
Urho3D::Window::SetResizable
void SetResizable(bool enable)
Set whether can be resized.
Definition: Window.cpp:257
Urho3D::AnimationControl
Control data for an animation.
Definition: AnimationController.h:37
Urho3D::Matrix4::IsNaN
bool IsNaN() const
Return whether any element is NaN.
Definition: Matrix4.h:651
Urho3D::RigidBody::SetLinearVelocity
void SetLinearVelocity(const Vector3 &velocity)
Set linear velocity.
Definition: RigidBody.cpp:298
Urho3D::UI::SetFocusElement
void SetFocusElement(UIElement *element, bool byKey=false)
Set focused UI element.
Definition: UI.cpp:179
Urho3D::RigidBody::SetTransform
void SetTransform(const Vector3 &position, const Quaternion &rotation)
Set rigid body position and rotation in world space as an atomic operation.
Definition: RigidBody.cpp:275
Urho3D::WeakArrayPtr::ReleaseRef
void ReleaseRef()
Release the weak reference. Delete the Refcount structure if necessary.
Definition: ArrayPtr.h:408
Urho3D::Variant::Variant
Variant(const Matrix4 &value)
Construct from a Matrix4.
Definition: Variant.h:511
Urho3D::RWOpsWrapper::Read
static size_t Read(SDL_RWops *context, void *ptr, size_t size, size_t maxNum)
Read from the object. Return number of "packets" read.
Definition: RWOpsWrapper.h:101
Urho3D::PODVector::Find
ConstIterator Find(const T &value) const
Return const iterator to value, or to the end if not found.
Definition: Vector.h:1102
Urho3D::NavigationMesh::regionMinSize_
float regionMinSize_
Region minimum size.
Definition: NavigationMesh.h:326
Urho3D::IntVector3::z_
int z_
Z coordinate.
Definition: Vector3.h:163
Urho3D::ConstraintRope2D::ownerBodyAnchor_
Vector2 ownerBodyAnchor_
Owner body anchor.
Definition: ConstraintRope2D.h:66
Urho3D::AnimatedSprite2D::GetAnimationSet
AnimationSet2D * GetAnimationSet() const
Return animation.
Definition: AnimatedSprite2D.cpp:196
Urho3D::Light::SetShadowBias
void SetShadowBias(const BiasParameters &parameters)
Set shadow depth bias parameters.
Definition: Light.cpp:365
Urho3D::Text::OnIndentSet
void OnIndentSet() override
React to indent change.
Definition: Text.cpp:248
Urho3D::Zone::GetAmbientEndColor
const Color & GetAmbientEndColor()
Return ambient end color. Not safe to call from worker threads due to possible octree query.
Definition: Zone.cpp:200
Urho3D::SplinePath::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Draw the Debug Geometry.
Definition: SplinePath.cpp:116
Urho3D::Constraint::GetPosition
const Vector3 & GetPosition() const
Return constraint position relative to own body.
Definition: Constraint.h:116
Urho3D::Graphics::GetFullscreen
bool GetFullscreen() const
Return whether window is fullscreen.
Definition: Graphics.h:360
Urho3D::DecalSet::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: DecalSet.cpp:180
Urho3D::Bone::node_
WeakPtr< Node > node_
Scene node.
Definition: Skeleton.h:82
Urho3D::Variant::Variant
Variant(unsigned long long value)
Construct from unsigned integer.
Definition: Variant.h:349
Urho3D::LineEdit::GetMaxLength
unsigned GetMaxLength() const
Return maximum text length.
Definition: LineEdit.h:99
Urho3D::ProgressBar::knob_
SharedPtr< BorderImage > knob_
ProgressBar knob.
Definition: ProgressBar.h:94
Urho3D::SpriteSheet2D::BeginLoadFromJSONFile
bool BeginLoadFromJSONFile(Deserializer &source)
Begin load from JSON file.
Definition: SpriteSheet2D.cpp:271
Urho3D::StaticModelGroup::GetInstanceNode
Node * GetInstanceNode(unsigned index) const
Return instance node by index.
Definition: StaticModelGroup.cpp:316
Urho3D::Localization::strings_
HashMap< StringHash, HashMap< StringHash, String > > strings_
Storage strings: <Language <StringId, Value> >.
Definition: Localization.h:75
Urho3D::LuaScriptInstance::RemoveEventHandler
void RemoveEventHandler(const String &eventName) override
Remove a scripted event handler.
Definition: LuaScriptInstance.cpp:335
Urho3D::TextureCube::SetData
bool SetData(CubeMapFace face, unsigned level, int x, int y, int width, int height, const void *data)
Set data either partially or fully on a face's mip level. Return true if successful.
Definition: OGLTextureCube.cpp:110
Urho3D::ToolTip::hovered_
bool hovered_
Hover countdown has started.
Definition: ToolTip.h:67
Urho3D::ListView::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ListView.cpp:191
Urho3D::NavBuildData
Navigation build data.
Definition: NavBuildData.h:54
Urho3D::Color::ToHSV
Vector3 ToHSV() const
Return HSV color-space representation as a Vector3; the RGB values are clipped before conversion but ...
Definition: Color.cpp:65
Urho3D::PhysicsWorld2D::GetRigidBody
RigidBody2D * GetRigidBody(const Vector2 &point, unsigned collisionMask=M_MAX_UNSIGNED)
Return rigid body at point.
Definition: PhysicsWorld2D.cpp:606
Urho3D::WeakPtr::NotNull
bool NotNull() const
Check if the pointer is not null.
Definition: Ptr.h:483
Urho3D::UIElement::GetTraversalMode
TraversalMode GetTraversalMode() const
Return traversal mode for rendering.
Definition: UIElement.h:643
Urho3D::Variant::emptyVariantMap
static const VariantMap emptyVariantMap
Empty variant map.
Definition: Variant.h:1389
Urho3D::Renderer::SetShadowSoftness
void SetShadowSoftness(float shadowSoftness)
Set shadow softness, only works when SHADOWQUALITY_BLUR_VSM is used.
Definition: Renderer.cpp:414
Urho3D::Texture::GetLevels
unsigned GetLevels() const
Return number of mip levels.
Definition: Texture.h:79
Urho3D::CollisionCircle2D::GetCenter
const Vector2 & GetCenter() const
Return center.
Definition: CollisionCircle2D.h:54
Urho3D::TmxTileLayer2D::tiles_
Vector< SharedPtr< Tile2D > > tiles_
Tiles.
Definition: TmxFile2D.h:103
Urho3D::DropDownList::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: DropDownList.cpp:87
Urho3D::RigidBody::mass_
float mass_
Mass.
Definition: RigidBody.h:285
Urho3D::Zone::GetInverseWorldTransform
const Matrix3x4 & GetInverseWorldTransform() const
Return inverse world transform.
Definition: Zone.cpp:178
Urho3D::Node::RemoveChildren
void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
Remove child scene nodes that match criteria.
Definition: Node.cpp:886
Urho3D::Texture2D::HandleRenderSurfaceUpdate
void HandleRenderSurfaceUpdate(StringHash eventType, VariantMap &eventData)
Handle render surface update event.
Definition: Texture2D.cpp:184
Urho3D::Pass::GetIndex
unsigned GetIndex() const
Return pass index. This is used for optimal render-time pass queries that avoid map lookups.
Definition: Technique.h:87
Urho3D::Camera::GetReverseCulling
bool GetReverseCulling() const
Return whether to reverse culling; affected by vertical flipping and reflection.
Definition: Camera.h:191
Urho3D::ConstraintMotor2D::SetMaxTorque
void SetMaxTorque(float maxTorque)
Set max torque.
Definition: ConstraintMotor2D.cpp:104
Urho3D::Material::GetAuxViewFrameNumber
unsigned GetAuxViewFrameNumber() const
Return last auxiliary view rendered frame number.
Definition: Material.h:244
Urho3D::Drawable::AddLight
void AddLight(Light *light)
Add a per-pixel light affecting the object this frame.
Definition: Drawable.h:290
Urho3D::Variant::Variant
Variant(const CustomVariantValueImpl< T > &value)
Construct from custom value.
Definition: Variant.h:518
Urho3D::StaticSprite2D::blendMode_
BlendMode blendMode_
Blend mode.
Definition: StaticSprite2D.h:146
Urho3D::List::Insert
void Insert(const Iterator &dest, const ConstIterator &start, const ConstIterator &end)
Insert elements by iterators.
Definition: List.h:299
Urho3D::Node::GetDirection
Vector3 GetDirection() const
Return forward direction in parent space. Positive Z axis equals identity rotation.
Definition: Node.h:389
Urho3D::ScriptInstance::ClearScriptMethods
void ClearScriptMethods()
Clear supported script methods.
Definition: ScriptInstance.cpp:612
Urho3D::Renderer::SetShadowMapSize
void SetShadowMapSize(int size)
Set shadow map resolution.
Definition: Renderer.cpp:365
Urho3D::ResourceRef::name_
String name_
Object name.
Definition: Variant.h:127
Urho3D::String::CString
const char * CString() const
Return the C string.
Definition: Str.h:425
Urho3D::IndexBuffer::SetDataRange
bool SetDataRange(const void *data, unsigned start, unsigned count, bool discard=false)
Set a data range in the buffer. Optionally discard data outside the range.
Definition: OGLIndexBuffer.cpp:113
Urho3D::XMLElement::GetRect
Rect GetRect(const String &name) const
Return a Rect attribute, or default if missing.
Definition: XMLElement.cpp:842
Urho3D::ParticleEffect2D::particleLifespanVariance_
float particleLifespanVariance_
Particle lifespan variance.
Definition: ParticleEffect2D.h:270
Urho3D::Spriter::CharacterMap
Character map.
Definition: SpriterData2D.h:118
Urho3D::HttpRequest::httpReadBuffer_
SharedArrayPtr< unsigned char > httpReadBuffer_
Read buffer for the worker thread.
Definition: HttpRequest.h:99
Urho3D::Light::GetNumShadowSplits
int GetNumShadowSplits() const
Return number of shadow map cascade splits for a directional light, considering also graphics API lim...
Definition: Light.cpp:475
Urho3D::HashSet::ConstIterator::ConstIterator
ConstIterator(const Iterator &rhs)
Construct from a non-const iterator.
Definition: HashSet.h:125
Urho3D::ConstraintPulley2D::otherBodyGroundAnchor_
Vector2 otherBodyGroundAnchor_
Other body ground anchor.
Definition: ConstraintPulley2D.h:79
Urho3D::ParticleEffect::GetVector2MinMax
void GetVector2MinMax(const XMLElement &element, Vector2 &minValue, Vector2 &maxValue)
Read a Vector2 range from an XML element.
Definition: ParticleEffect.cpp:836
Urho3D::Camera::view_
Matrix3x4 view_
Cached view matrix.
Definition: Camera.h:230
Urho3D::TileMapObject2D::position_
Vector2 position_
Position.
Definition: TileMapDefs2D.h:216
Urho3D::Color::Clip
void Clip(bool clipAlpha=false)
Clip to [0, 1.0] range.
Definition: Color.cpp:220
Urho3D::TileMapObject2D::name_
String name_
Name.
Definition: TileMapDefs2D.h:212
Urho3D::ScrollBar::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: ScrollBar.cpp:113
Urho3D::Node::SetDeepEnabled
void SetDeepEnabled(bool enable)
Set enabled state on self and child nodes. Nodes' own enabled state is remembered (IsEnabledSelf) and...
Definition: Node.cpp:720
Urho3D::AnimationSet2D::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: AnimationSet2D.cpp:144
Urho3D::Zone::override_
bool override_
Override mode flag.
Definition: Zone.h:142
Urho3D::View
Internal structure for 3D rendering work. Created for each backbuffer and texture viewport,...
Definition: View.h:110
Urho3D::Variant::GetIntVector2
const IntVector2 & GetIntVector2() const
Return an IntVector2 or empty on type mismatch.
Definition: Variant.h:1256
Urho3D::UI::doubleClickFirstPos_
IntVector2 doubleClickFirstPos_
Screen position of first mouse click for double click distance checking.
Definition: UI.h:421
Urho3D::Resource
Base class for resources.
Definition: Resource.h:54
Urho3D::FileSelector::GetFilterList
DropDownList * GetFilterList() const
Return filter dropdown.
Definition: FileSelector.h:99
Urho3D::CollisionChain2D::GetVertices
const PODVector< Vector2 > & GetVertices() const
Return vertices.
Definition: CollisionChain2D.h:63
Urho3D::CustomGeometryVertex::color_
unsigned color_
Color.
Definition: CustomGeometry.h:38
Urho3D::Context::eventHandler_
EventHandler * eventHandler_
Active event handler. Not stored in a stack for performance reasons; is needed only in esoteric cases...
Definition: Context.h:242
Urho3D::Material::GetShaderParameterHash
unsigned GetShaderParameterHash() const
Return shader parameter hash value. Used as an optimization to avoid setting shader parameters unnece...
Definition: Material.h:256
Urho3D::AnimationState::SetLooped
void SetLooped(bool looped)
Set looping enabled/disabled.
Definition: AnimationState.cpp:160
Urho3D::Constraint::Constraint
Constraint(Context *context)
Construct.
Definition: Constraint.cpp:55
Urho3D::DecalSet::bufferDirty_
bool bufferDirty_
Vertex buffer needs rewrite / resizing flag.
Definition: DecalSet.h:243
Urho3D::PODVector::EraseSwap
void EraseSwap(unsigned pos, unsigned length=1)
Erase a range of elements by swapping elements from the end of the array.
Definition: Vector.h:979
Urho3D::UIElement::GetColor
const Color & GetColor(Corner corner) const
Return corner color.
Definition: UIElement.h:478
Urho3D::Animatable::SetObjectAttributeAnimation
void SetObjectAttributeAnimation(const String &name, ValueAnimation *attributeAnimation, WrapMode wrapMode, float speed)
Set object attribute animation internal.
Definition: Animatable.cpp:473
Urho3D::FileWatcher::delay_
float delay_
Delay in seconds for notifying changes.
Definition: FileWatcher.h:77
Urho3D::View::FindZone
void FindZone(Drawable *drawable)
Find and set a new zone for a drawable when it has moved.
Definition: View.cpp:2780
Urho3D::Ray::Transformed
Ray Transformed(const Matrix3x4 &transform) const
Return transformed by a 3x4 matrix. This may result in a non-normalized direction.
Definition: Ray.cpp:462
Urho3D::JSONValue::IsArray
bool IsArray() const
Check is array.
Definition: JSONValue.h:187
Urho3D::Connection::ProcessMessage
bool ProcessMessage(int msgID, MemoryBuffer &buffer)
Process a message from the server or client. Called by Network.
Definition: Connection.cpp:448
Urho3D::Terrain::GetViewMask
unsigned GetViewMask() const
Return view mask.
Definition: Terrain.h:169
Urho3D::ParticleEffect::IsSorted
bool IsSorted() const
Return whether billboards are sorted.
Definition: ParticleEffect.h:242
Urho3D::RigidBody2D::GetBodyType
BodyType2D GetBodyType() const
Return body type.
Definition: RigidBody2D.h:122
Urho3D::DecalSet::numIndices_
unsigned numIndices_
Indices in the current decals.
Definition: DecalSet.h:233
Urho3D::ParticleEffect::GetNumTextureFrames
unsigned GetNumTextureFrames() const
Return number of texture animation frames.
Definition: ParticleEffect.h:329
Urho3D::Input::GetTouchEmulation
bool GetTouchEmulation() const
Return whether touch emulation is enabled.
Definition: Input.h:285
Urho3D::AnimatedModel::skeleton_
Skeleton skeleton_
Skeleton.
Definition: AnimatedModel.h:213
Urho3D::ShaderVariation::SaveByteCode
void SaveByteCode(const String &binaryShaderName)
Save bytecode to a file.
Definition: OGLShaderVariation.cpp:202
Urho3D::Connection::SendClientUpdate
void SendClientUpdate()
Send latest controls from the client. Called by Network.
Definition: Connection.cpp:281
Urho3D::WeakArrayPtr::Expired
bool Expired() const
Return whether the array has expired. If null pointer, always return true.
Definition: ArrayPtr.h:385
Urho3D::XPathResultSet::file_
WeakPtr< XMLFile > file_
XML file.
Definition: XMLElement.h:348
Urho3D::UIComponent::texture_
SharedPtr< Texture2D > texture_
Texture that UIElement will be rendered into.
Definition: UIComponent.h:69
Urho3D::BatchGroup::startIndex_
unsigned startIndex_
Instance stream start index, or M_MAX_UNSIGNED if transforms not pre-set.
Definition: Batch.h:174
Urho3D::ProfilerBlock::ProfilerBlock
ProfilerBlock(ProfilerBlock *parent, const char *name)
Construct with the specified parent block and name.
Definition: Profiler.h:37
Urho3D::Quaternion::Quaternion
Quaternion(float w, float x, float y, float z) noexcept
Construct from values.
Definition: Quaternion.h:68
Urho3D::AnimatedModel::UpdateAnimation
void UpdateAnimation(const FrameInfo &frame)
Recalculate animations. Called from Update().
Definition: AnimatedModel.cpp:1255
Urho3D::Animatable::IsAnimatedNetworkAttribute
bool IsAnimatedNetworkAttribute(const AttributeInfo &attrInfo) const
Is animated network attribute.
Definition: Animatable.cpp:533
Urho3D::TechniqueEntry::original_
SharedPtr< Technique > original_
Original technique, in case the material adds shader compilation defines. The modified clones are req...
Definition: Material.h:68
Urho3D::Drawable::SetOccluder
void SetOccluder(bool enable)
Set occlusion flag.
Definition: Drawable.cpp:229
Urho3D::Camera::GetEffectiveWorldTransform
Matrix3x4 GetEffectiveWorldTransform() const
Get effective world transform for matrix and frustum calculations including reflection but excluding ...
Definition: Camera.cpp:574
Urho3D::Light::GetRampTexture
Texture * GetRampTexture() const
Return range attenuation texture.
Definition: Light.h:289
Urho3D::NavigationMesh::pathData_
UniquePtr< FindPathData > pathData_
Temporary data for finding a path.
Definition: NavigationMesh.h:310
Urho3D::Serializer::WriteShort
bool WriteShort(short value)
Write a 16-bit integer.
Definition: Serializer.cpp:46
Urho3D::Button::SetPressedChildOffset
void SetPressedChildOffset(const IntVector2 &offset)
Set offset of child elements when pressed.
Definition: Button.cpp:167
Urho3D::RenderPathCommand::GetNumOutputs
unsigned GetNumOutputs() const
Return number of output rendertargets.
Definition: RenderPath.h:127
Urho3D::RenderPathCommand::markToStencil_
bool markToStencil_
Mark to stencil flag.
Definition: RenderPath.h:180
Urho3D::ResourceCache::HandleBeginFrame
void HandleBeginFrame(StringHash eventType, VariantMap &eventData)
Handle begin frame event. Automatic resource reloads and the finalization of background loaded resour...
Definition: ResourceCache.cpp:1073
Urho3D::CustomGeometryVertex::normal_
Vector3 normal_
Normal.
Definition: CustomGeometry.h:36
Urho3D::BatchGroupKey::zone_
Zone * zone_
Zone.
Definition: Batch.h:195
Urho3D::Engine::IsInitialized
bool IsInitialized() const
Return whether engine has been initialized.
Definition: Engine.h:100
Urho3D::ScriptInstance::CreateObject
void CreateObject()
(Re)create the script object and check for supported methods if successfully created.
Definition: ScriptInstance.cpp:563
Urho3D::FileWatcher::ThreadFunction
void ThreadFunction() override
Directory watching loop.
Definition: FileWatcher.cpp:237
Urho3D::RibbonTrail::previousOffset_
Vector3 previousOffset_
Previous offset to camera for determining whether sorting is necessary.
Definition: RibbonTrail.h:241
Urho3D::DebugHud::ToggleAll
void ToggleAll()
Toggle all elements.
Definition: DebugHud.cpp:265
Urho3D::UIElement::SetClipChildren
void SetClipChildren(bool enable)
Set whether should clip child elements. Default false.
Definition: UIElement.cpp:869
Urho3D::LuaScriptInstance::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: LuaScriptInstance.cpp:501
Urho3D::StaticModel::GetMaterial
virtual Material * GetMaterial() const
Return material from the first geometry, assuming all the geometries use the same material.
Definition: StaticModel.h:83
Urho3D::HashSet::Rehash
void Rehash()
Rehash the buckets.
Definition: HashSet.h:626
Urho3D::Audio::IsInitialized
bool IsInitialized() const
Return whether an audio stream has been reserved.
Definition: Audio.h:87
Urho3D::Animation::SetAnimationName
void SetAnimationName(const String &name)
Set animation name.
Definition: Animation.cpp:289
Urho3D::FlagSet::AsInteger
Integer & AsInteger()
Return underlying integer (non-constant).
Definition: FlagSet.h:229
Urho3D::Obstacle::SetRadius
void SetRadius(float newRadius)
Set the blocking radius of this obstacle.
Definition: Obstacle.cpp:81
Urho3D::Light::temperature_
float temperature_
Light temperature.
Definition: Light.h:351
Urho3D::Connection::lastHeardTimer_
Timer lastHeardTimer_
Last heard timer, resets when new packet is incoming.
Definition: Connection.h:347
Urho3D::ShaderVariation::GetDefines
const String & GetDefines() const
Return defines.
Definition: ShaderVariation.h:129
Urho3D::HeightfieldData::maxHeight_
float maxHeight_
Maximum height.
Definition: CollisionShape.h:139
Urho3D::MemoryBuffer::GetData
unsigned char * GetData()
Return memory area.
Definition: MemoryBuffer.h:51
Urho3D::HashMap::Erase
Iterator Erase(const Iterator &it)
Erase a pair by iterator. Return iterator to the next pair.
Definition: HashMap.h:430
Urho3D::Graphics::CleanupFramebuffers
void CleanupFramebuffers()
Clean up all framebuffers. Called when destroying the context. Used only on OpenGL.
Definition: OGLGraphics.cpp:3138
Urho3D::BorderImage::SetTiled
void SetTiled(bool enable)
Set tiled mode.
Definition: BorderImage.cpp:138
Urho3D::IKEffector::GetTargetRotationEuler
Vector3 GetTargetRotationEuler() const
Required for the editor, get the target rotation in euler angles.
Definition: IKEffector.cpp:140
Urho3D::UI::SetHeight
void SetHeight(float height)
Scale UI to the specified height in pixels.
Definition: UI.cpp:751
Urho3D::Resource::GetNameHash
StringHash GetNameHash() const
Return name hash.
Definition: Resource.h:89
Urho3D::ParticleEffect::SetMaterial
void SetMaterial(Material *material)
Set material.
Definition: ParticleEffect.cpp:440
Urho3D::JSONValue::GetBool
bool GetBool(bool defaultValue=false) const
Return boolean value.
Definition: JSONValue.h:192
Urho3D::Slider::repeatTimer_
Timer repeatTimer_
Paging minimum repeat timer.
Definition: Slider.h:118
Urho3D::RigidBody2D::GetMass
float GetMass() const
Return mass.
Definition: RigidBody2D.cpp:509
Urho3D::Window::GetFixedHeightResizing
bool GetFixedHeightResizing() const
Return whether is resizing height is fixed.
Definition: Window.h:110
Urho3D::Renderer::vsmShadowParams_
Vector2 vsmShadowParams_
Shadow parameters when VSM is used, they help to reduce light bleeding.
Definition: Renderer.h:552
Urho3D::PhysicsWorld::PostStep
void PostStep(float timeStep)
Trigger update after each physics simulation step.
Definition: PhysicsWorld.cpp:818
Urho3D::Octant::IsEmpty
bool IsEmpty()
Return true if there are no drawable objects in this octant and child octants.
Definition: Octree.h:94
Urho3D::ConstraintRope2D::GetOtherBodyAnchor
const Vector2 & GetOtherBodyAnchor() const
Return other body anchor.
Definition: ConstraintRope2D.h:54
Urho3D::Matrix3x4::Equals
bool Equals(const Matrix3x4 &rhs) const
Test for equality with another matrix with epsilon.
Definition: Matrix3x4.h:636
Urho3D::ParticleEffect2D::maxRadiusVariance_
float maxRadiusVariance_
Max radius variance.
Definition: ParticleEffect2D.h:310
Urho3D::ScriptEventInvoker::GetObject
asIScriptObject * GetObject() const
Get the asIScriptObject to call the method on, can be null.
Definition: ScriptFile.h:169
Urho3D::FileSelector::SetButtonTexts
void SetButtonTexts(const String &okText, const String &cancelText)
Set button texts.
Definition: FileSelector.cpp:187
Urho3D::PhysicsWorld2D::DrawSegment
void DrawSegment(const b2Vec2 &p1, const b2Vec2 &p2, const b2Color &color) override
Draw a line segment.
Definition: PhysicsWorld2D.cpp:258
Urho3D::BoundingBox::HalfSize
Vector3 HalfSize() const
Return half-size.
Definition: BoundingBox.h:268
Urho3D::String
String class.
Definition: Str.h:46
Urho3D::UIElement::ApplyStyleRecursive
void ApplyStyleRecursive(UIElement *element)
Recursively apply style to a child element hierarchy when adding to an element.
Definition: UIElement.cpp:2066
Urho3D::HashSet::Insert
void Insert(const HashSet< T > &set)
Insert a set.
Definition: HashSet.h:326
Urho3D::ParticleEmitter::SetEffect
void SetEffect(ParticleEffect *effect)
Set particle effect.
Definition: ParticleEmitter.cpp:263
Urho3D::VertexBuffer::lockStart_
unsigned lockStart_
Lock start vertex.
Definition: VertexBuffer.h:162
Urho3D::UpdateGeometryType
UpdateGeometryType
Geometry update type.
Definition: Drawable.h:60
Urho3D::WorkQueue::IsCompleting
bool IsCompleting() const
Return whether the queue is currently completing work in the main thread.
Definition: WorkQueue.h:109
Urho3D::JoystickState::IsController
bool IsController() const
Return whether is a game controller. Game controllers will use standardized axis and button mappings.
Definition: Input.h:85
Urho3D::PhysicsWorld2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: PhysicsWorld2D.cpp:73
Urho3D::Model::GetIndexBuffers
const Vector< SharedPtr< IndexBuffer > > & GetIndexBuffers() const
Return index buffers.
Definition: Model.h:161
Urho3D::VertexBuffer::shadowData_
SharedArrayPtr< unsigned char > shadowData_
Shadow data.
Definition: VertexBuffer.h:148
Urho3D::Node::SetRotation2D
void SetRotation2D(float rotation)
Set rotation in parent space (for Urho2D).
Definition: Node.h:145
Urho3D::OffMeshConnection::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: OffMeshConnection.cpp:66
Urho3D::LuaScriptInstance::scriptObjectMethods_
LuaFunction * scriptObjectMethods_[MAX_LUA_SCRIPT_OBJECT_METHODS]
Script object method.
Definition: LuaScriptInstance.h:185
Urho3D::Text3D::faceCameraMode_
FaceCameraMode faceCameraMode_
Text rotation mode in relation to the camera.
Definition: Text3D.h:204
Urho3D::UIElement::SetVerticalAlignment
void SetVerticalAlignment(VerticalAlignment align)
Set vertical alignment.
Definition: UIElement.cpp:709
Urho3D::Animatable::OnObjectAnimationAdded
void OnObjectAnimationAdded(ObjectAnimation *objectAnimation)
Handle object animation added.
Definition: Animatable.cpp:481
Urho3D::Model::SetBoundingBox
void SetBoundingBox(const BoundingBox &box)
Set local-space bounding box.
Definition: Model.cpp:486
Urho3D::ParticleEffect::Save
bool Save(Serializer &dest) const override
Save resource. Return true if successful.
Definition: ParticleEffect.cpp:320
Urho3D::Node::MarkReplicationDirty
void MarkReplicationDirty()
Mark node dirty in scene replication states.
Definition: Node.cpp:1788
Urho3D::FileSystem::SystemRunAsync
unsigned SystemRunAsync(const String &fileName, const Vector< String > &arguments)
Run a specific program asynchronously. Return a request ID or M_MAX_UNSIGNED if failed....
Definition: FileSystem.cpp:416
Urho3D::Vector2::ToString
String ToString() const
Return as string.
Definition: Vector2.cpp:48
Urho3D::CollisionShape::SetTriangleMesh
void SetTriangleMesh(Model *model, unsigned lodLevel=0, const Vector3 &scale=Vector3::ONE, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a triangle mesh from Model. If you update a model's geometry and want to reapply the shape,...
Definition: CollisionShape.cpp:671
Urho3D::ScenePassInfo::vertexLights_
bool vertexLights_
Vertex light flag.
Definition: View.h:89
Urho3D::ScriptInstance::GetDelayedCallsAttr
PODVector< unsigned char > GetDelayedCallsAttr() const
Return delayed method calls attribute.
Definition: ScriptInstance.cpp:489
Urho3D::IntVector3::ONE
static const IntVector3 ONE
(1,1,1) vector.
Definition: Vector3.h:180
Urho3D::Graphics::depthTestMode_
CompareMode depthTestMode_
Depth compare mode.
Definition: Graphics.h:815
Urho3D::Node::dirty_
bool dirty_
World transform needs update flag.
Definition: Node.h:671
Urho3D::Node::SetName
void SetName(const String &name)
Set name of the scene node. Names are not required to be unique.
Definition: Node.cpp:322
Urho3D::LogicComponent::UpdateEventSubscription
void UpdateEventSubscription()
Subscribe/unsubscribe to update events based on current enabled state and update event mask.
Definition: LogicComponent.cpp:106
Urho3D::Plane::Transform
void Transform(const Matrix3 &transform)
Transform with a 3x3 matrix.
Definition: Plane.cpp:35
Urho3D::ListNodeBase::ListNodeBase
ListNodeBase()
Construct.
Definition: ListBase.h:41
Urho3D::Node::SetEnabledRecursive
void SetEnabledRecursive(bool enable)
Set enabled state on self and child nodes. Unlike SetDeepEnabled this does not remember the nodes' ow...
Definition: Node.cpp:733
Urho3D::TerrainPatch::SetMaterial
void SetMaterial(Material *material)
Set material.
Definition: TerrainPatch.cpp:227
Urho3D::FontGlyph::texWidth_
short texWidth_
Width in texture.
Definition: FontFace.h:44
Urho3D::ListView::HandleItemFocusChanged
void HandleItemFocusChanged(StringHash eventType, VariantMap &eventData)
Handle global focus change to check whether an invisible item was focused.
Definition: ListView.cpp:1130
Urho3D::Terrain::MarkNeighborsDirty
void MarkNeighborsDirty()
Mark neighbors dirty.
Definition: Terrain.h:240
Urho3D::Renderer::SetThreadedOcclusion
void SetThreadedOcclusion(bool enable)
Set whether to thread occluder rendering. Default false.
Definition: Renderer.cpp:517
Urho3D::Graphics::pixelUVOffset
static const Vector2 pixelUVOffset
Pixel perfect UV offset.
Definition: Graphics.h:866
Urho3D::Connection::sendMode_
ObserverPositionSendMode sendMode_
Send mode for the observer position & rotation.
Definition: Connection.h:327
Urho3D::ScreenModeParams::monitor_
int monitor_
Monitor for fullscreen mode. Has no effect in windowed mode.
Definition: Graphics.h:99
Urho3D::Renderer::initialized_
bool initialized_
Initialized flag.
Definition: Renderer.h:602
Urho3D::Node::parent_
Node * parent_
Parent scene node.
Definition: Node.h:683
Urho3D::IntVector3::UP
static const IntVector3 UP
(0,1,0) vector.
Definition: Vector3.h:172
Urho3D::TileMapInfo2D::width_
int width_
Width.
Definition: TileMapDefs2D.h:54
Urho3D::PackageFile::compressed_
bool compressed_
Compressed flag.
Definition: PackageFile.h:102
Urho3D::Drawable::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: Drawable.cpp:108
Urho3D::Engine::HandleExitRequested
void HandleExitRequested(StringHash eventType, VariantMap &eventData)
Handle exit requested event. Auto-exit if enabled.
Definition: Engine.cpp:975
Urho3D::Variant::Variant
Variant(unsigned value)
Construct from unsigned integer.
Definition: Variant.h:343
Urho3D::IntVector3::DOWN
static const IntVector3 DOWN
(0,-1,0) vector.
Definition: Vector3.h:174
Urho3D::Camera::SetUseReflection
void SetUseReflection(bool enable)
Set reflection mode.
Definition: Camera.cpp:216
Urho3D::Matrix2::Inverse
Matrix2 Inverse() const
Return inverse.
Definition: Matrix2.cpp:40
Urho3D::Controls::buttons_
unsigned buttons_
Button state.
Definition: Controls.h:64
Urho3D::ParticleEffect::SetFaceCameraMode
void SetFaceCameraMode(FaceCameraMode mode)
Set how the particles should rotate in relation to the camera. Default is to follow camera rotation o...
Definition: ParticleEffect.cpp:653
Urho3D::ParticleEffect::AddColorTime
void AddColorTime(const Color &color, float time)
Add a color frame sorted in the correct position based on time.
Definition: ParticleEffect.cpp:591
Urho3D::IndexBuffer::dynamic_
bool dynamic_
Dynamic flag.
Definition: IndexBuffer.h:113
Urho3D::CustomVariantValue::Assign
virtual bool Assign(const CustomVariantValue &rhs)
Assign value.
Definition: Variant.h:193
Urho3D::Color::BLUE
static const Color BLUE
Opaque blue color.
Definition: Color.h:275
Urho3D::BillboardSet::SetAnimationLodBias
void SetAnimationLodBias(float bias)
Set animation LOD bias.
Definition: BillboardSet.cpp:340
Urho3D::IntRect::IntRect
IntRect(int left, int top, int right, int bottom) noexcept
Construct from coordinates.
Definition: Rect.h:294
Urho3D::UIElement::OnDragCancel
virtual void OnDragCancel(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags cancelButtons, Cursor *cursor)
React to a mouse drag cancel event (ie, when an extra button is pressed).
Definition: UIElement.cpp:445
Urho3D::Zone::fogHeightScale_
float fogHeightScale_
Fog height cale.
Definition: Zone.h:162
Urho3D::AnimationKeyFrame
Skeletal animation keyframe.
Definition: Animation.h:46
Urho3D::Object
Base class for objects with type identification, subsystem access and event sending/receiving capabil...
Definition: Object.h:81
Urho3D::GPUObject::GetGPUObjectName
unsigned GetGPUObjectName() const
Return the object name. Applicable only on OpenGL.
Definition: GPUObject.h:65
Urho3D::ViewBatchInfo2D::batchUpdatedFrameNumber_
unsigned batchUpdatedFrameNumber_
Batch updated frame number.
Definition: Renderer2D.h:54
Urho3D::JSONValue::emptyArray
static const JSONArray emptyArray
Empty JSON array.
Definition: JSONValue.h:276
Urho3D::SharedPtr::SharedPtr
SharedPtr(const SharedPtr< T > &rhs) noexcept
Copy-construct from another shared pointer.
Definition: Ptr.h:52
Urho3D::ParticleEffect::sizeMul_
float sizeMul_
Particle size multiplicative parameter.
Definition: ParticleEffect.h:417
Urho3D::CheckBox::SetCheckedOffset
void SetCheckedOffset(const IntVector2 &offset)
Set checked image offset.
Definition: CheckBox.cpp:106
Urho3D::JSONValue::boolValue_
bool boolValue_
Boolean value.
Definition: JSONValue.h:299
Urho3D::Technique::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Technique.cpp:253
Urho3D::BillboardSet::IsRelative
bool IsRelative() const
Return whether billboards are relative to the scene node.
Definition: BillboardSet.h:116
Urho3D::StaticSprite2D::GetUseHotSpot
bool GetUseHotSpot() const
Return whether to use custom-defined hot spot.
Definition: StaticSprite2D.h:104
Urho3D::ScrollView::OnResize
void OnResize(const IntVector2 &newSize, const IntVector2 &delta) override
React to resize.
Definition: ScrollView.cpp:263
Urho3D::Object::GetGlobalVar
const Variant & GetGlobalVar(StringHash key) const
Return global variable based on key.
Definition: Object.cpp:406
Urho3D::View::GetDrawables
void GetDrawables()
Query the octree for drawable objects.
Definition: View.cpp:792
Urho3D::ListView::AddItem
void AddItem(UIElement *item)
Add item to the end of the list.
Definition: ListView.cpp:345
Urho3D::Input::GetMousePosition
IntVector2 GetMousePosition() const
Return mouse position within window. Should only be used with a visible mouse cursor....
Definition: Input.cpp:1401
Urho3D::Context::RemoveEventSender
void RemoveEventSender(Object *sender)
Remove an event sender from all receivers. Called on its destruction.
Definition: Context.cpp:422
Urho3D::List::operator==
bool operator==(const List< T > &rhs) const
Test for equality with another list.
Definition: List.h:242
Urho3D::Controls::IsDown
bool IsDown(unsigned button) const
Check if a button is held down.
Definition: Controls.h:52
Urho3D::Renderer::shadersDirty_
bool shadersDirty_
Shaders need reloading flag.
Definition: Renderer.h:600
Urho3D::Pass::GetVertexShaderDefines
const String & GetVertexShaderDefines() const
Return vertex shader defines.
Definition: Technique.h:120
Urho3D::ParticleEmitter2D::~ParticleEmitter2D
~ParticleEmitter2D() override
Destruct.
Urho3D::Scene::Load
bool Load(Deserializer &source) override
Load from binary data. Removes all existing child nodes and components first. Return true if successf...
Definition: Scene.cpp:114
Urho3D::CollisionPolygon2D::~CollisionPolygon2D
~CollisionPolygon2D() override
Destruct.
Urho3D::LightBatchQueue::light_
Light * light_
Per-pixel light.
Definition: Batch.h:295
Urho3D::Light::color_
Color color_
Color.
Definition: Light.h:349
Urho3D::Object::GetEventHandler
EventHandler * GetEventHandler() const
Return active event handler. Null outside event handling.
Definition: Object.cpp:431
Urho3D::Network::ConfigureNetworkSimulator
void ConfigureNetworkSimulator()
Reconfigure network simulator parameters on all existing connections.
Definition: Network.cpp:1025
Urho3D::CrowdManager::CrowdManager
CrowdManager(Context *context)
Construct.
Definition: CrowdManager.cpp:77
Urho3D::Window::resizable_
bool resizable_
Resizable flag.
Definition: Window.h:143
Urho3D::IntRect::IntRect
IntRect() noexcept
Construct a zero rect.
Definition: Rect.h:276
Urho3D::Matrix3::Column
Vector3 Column(unsigned j) const
Return matrix column.
Definition: Matrix3.h:272
Urho3D::Input::GetScancodeName
String GetScancodeName(Scancode scancode) const
Return name of key from scancode.
Definition: Input.cpp:1329
Urho3D::Node::GetNameHash
StringHash GetNameHash() const
Return name hash.
Definition: Node.h:350
Urho3D::Script::GetExecuteConsoleCommands
bool GetExecuteConsoleCommands() const
Return whether is executing engine console commands as script code.
Definition: Script.h:97
Urho3D::Connection::position_
Vector3 position_
Observer position for interest management.
Definition: Connection.h:323
Urho3D::RenderSurface::GetAutoResolve
bool GetAutoResolve() const
Return multisampling autoresolve mode.
Definition: RenderSurface.cpp:102
Urho3D::Time::GetTimeSinceEpoch
static unsigned GetTimeSinceEpoch()
Get system time as seconds since 1.1.1970.
Definition: Timer.cpp:167
Urho3D::WeakArrayPtr::operator!=
bool operator!=(const WeakArrayPtr< T > &rhs) const
Test for inequality with another weak array pointer.
Definition: ArrayPtr.h:337
Urho3D::Font::fontData_
SharedArrayPtr< unsigned char > fontData_
Font data.
Definition: Font.h:101
Urho3D::DebugHud::SetUseRendererStats
void SetUseRendererStats(bool enable)
Set whether to show 3D geometry primitive/batch count only. Default false.
Definition: DebugHud.cpp:255
Urho3D::ScriptInstance::HandleSceneUpdate
void HandleSceneUpdate(StringHash eventType, VariantMap &eventData)
Handle scene update event.
Definition: ScriptInstance.cpp:838
Urho3D::Terrain::zoneMask_
unsigned zoneMask_
Zone mask.
Definition: Terrain.h:307
Urho3D::RigidBody::getWorldTransform
void getWorldTransform(btTransform &worldTrans) const override
Return initial world transform to Bullet.
Definition: RigidBody.cpp:147
Urho3D::Timer
Low-resolution operating system timer.
Definition: Timer.h:31
Urho3D::LuaScript::GetFunction
LuaFunction * GetFunction(int index)
Return Lua function at the given stack index.
Definition: LuaScript.cpp:425
Urho3D::SourceBatch2D::vertices_
Vector< Vertex2D > vertices_
Vertices.
Definition: Drawable2D.h:62
Urho3D::Scene::GetAsyncLoadingMs
int GetAsyncLoadingMs() const
Return maximum milliseconds per frame to spend on async loading.
Definition: Scene.h:208
Urho3D::TileMapObject2D::GetTileFlipX
bool GetTileFlipX() const
Return tile flip X.
Definition: TileMapDefs2D.h:193
Urho3D::UIComponent::GetTexture
Texture2D * GetTexture() const
Return texture which will be used for rendering UI to.
Definition: UIComponent.cpp:193
Urho3D::Scene::GetSmoothingConstant
float GetSmoothingConstant() const
Return motion smoothing constant.
Definition: Scene.h:202
Urho3D::WindowModeParams::screenParams_
ScreenModeParams screenParams_
Screen mode parameters.
Definition: Graphics.h:135
Urho3D::ParticleEmitter2D::blendMode_
BlendMode blendMode_
Blend mode.
Definition: ParticleEmitter2D.h:149
Urho3D::Camera::GetView
const Matrix3x4 & GetView() const
Return view matrix.
Definition: Camera.cpp:585
Urho3D::ToDegrees
T ToDegrees(const T radians)
Convert radians to degrees.
Definition: MathDefs.h:103
Urho3D::LINEAR_CURVE
@ LINEAR_CURVE
Linear interpolation.
Definition: Spline.h:43
Urho3D::RigidBody2D::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: RigidBody2D.cpp:548
Urho3D::Text3D::GetEffectDepthBias
float GetEffectDepthBias() const
Return effect depth bias.
Definition: Text3D.cpp:453
Urho3D::RibbonTrail::lifetime_
float lifetime_
Lifetime.
Definition: RibbonTrail.h:233
Urho3D::ConstraintPulley2D::otherBodyAnchor_
Vector2 otherBodyAnchor_
Other body anchor.
Definition: ConstraintPulley2D.h:83
Urho3D::LuaScriptInstance::luaState_
lua_State * luaState_
Lua state.
Definition: LuaScriptInstance.h:173
Urho3D::RibbonTrail::previousPosition_
Vector3 previousPosition_
Previous position of tail.
Definition: RibbonTrail.h:215
Urho3D::View::renderTarget_
RenderSurface * renderTarget_
Destination color rendertarget.
Definition: View.h:332
Urho3D::AutoProfileBlock::~AutoProfileBlock
~AutoProfileBlock()
Destruct. End the profiling block.
Definition: Profiler.h:243
Urho3D::View::lastCustomDepthSurface_
RenderSurface * lastCustomDepthSurface_
Last used custom depth render surface.
Definition: View.h:340
Urho3D::Texture::GetLevelsDirty
bool GetLevelsDirty() const
Return whether rendertarget mipmap levels need regenration.
Definition: Texture.h:118
Urho3D::AnimationController::GetTime
float GetTime(const String &name) const
Return animation time position.
Definition: AnimationController.cpp:501
Urho3D::FileSelector::closeButton_
Button * closeButton_
Close button.
Definition: FileSelector.h:171
Urho3D::Matrix4::Row
Vector4 Row(unsigned i) const
Return matrix row.
Definition: Matrix4.h:645
Urho3D::View::viewportTextures_
Texture * viewportTextures_[MAX_VIEWPORT_TEXTURES]
Texture(s) for sampling the viewport contents. Allocated if necessary.
Definition: View.h:336
Urho3D::StaticModelGroup::SetNodeIDsAttr
void SetNodeIDsAttr(const VariantVector &value)
Set node IDs attribute.
Definition: StaticModelGroup.cpp:321
Urho3D::LightBatchQueue
Queue for light related draw calls.
Definition: Batch.h:292
Urho3D::RigidBody::SetKinematic
void SetKinematic(bool enable)
Set rigid body kinematic mode. In kinematic mode forces are not applied to the rigid body.
Definition: RigidBody.cpp:459
Urho3D::FileWatcher::GetDelay
float GetDelay() const
Return the delay in seconds for notifying file changes.
Definition: FileWatcher.h:65
Urho3D::Drawable::GetLodDistance
float GetLodDistance() const
Return LOD scaled distance from camera.
Definition: Drawable.h:263
Urho3D::HashBase
Hash set/map base class.
Definition: HashBase.h:100
Urho3D::View::SetupLightVolumeBatch
void SetupLightVolumeBatch(Batch &batch)
Set up a light volume rendering batch.
Definition: View.cpp:3003
Urho3D::ScrollView::GetHorizontalScrollBar
ScrollBar * GetHorizontalScrollBar() const
Return horizontal scroll bar.
Definition: ScrollView.h:98
Urho3D::DropDownList::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: DropDownList.cpp:71
Urho3D::NavigationMesh::GetAgentHeight
float GetAgentHeight() const
Return navigation agent height.
Definition: NavigationMesh.h:207
Urho3D::Graphics::GetFormat
unsigned GetFormat(CompressedFormat format) const
Return hardware format for a compressed image format, or 0 if unsupported.
Definition: OGLGraphics.cpp:2064
Urho3D::UIElement::GetMaxHeight
int GetMaxHeight() const
Return minimum height.
Definition: UIElement.h:436
Urho3D::FileSelector::cancelButtonText_
Text * cancelButtonText_
Cancel button text.
Definition: FileSelector.h:169
Urho3D::RigidBody2D::RigidBody2D
RigidBody2D(Context *context)
Construct.
Definition: RigidBody2D.cpp:50
Urho3D::PhysicsRaycastResult2D
2D Physics raycast hit.
Definition: PhysicsWorld2D.h:38
Urho3D::CrowdAgent::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: CrowdAgent.cpp:154
Urho3D::View::gBufferPassIndex_
unsigned gBufferPassIndex_
Index of the GBuffer pass.
Definition: View.h:421
Urho3D::ParticleEffect::GetTextureFrame
const TextureFrame * GetTextureFrame(unsigned index) const
Return a texture animation frame, or null if outside range.
Definition: ParticleEffect.cpp:785
Urho3D::Cursor::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Cursor.cpp:102
Urho3D::Node::RemoveComponent
void RemoveComponent(Component *component)
Remove a component from this node.
Definition: Node.cpp:1004
Urho3D::ResourceCache::SearchResourceDirs
File * SearchResourceDirs(const String &name)
Search FileSystem for file.
Definition: ResourceCache.cpp:1101
Urho3D::Node::components_
Vector< SharedPtr< Component > > components_
Components.
Definition: Node.h:697
Urho3D::Input::RecordGesture
bool RecordGesture()
Begin recording a touch gesture. Return true if successful. The E_GESTURERECORDED event (which contai...
Definition: Input.cpp:1214
Urho3D::UIElement::GetBatches
virtual void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor)
Return UI rendering batches.
Definition: UIElement.cpp:343
Urho3D::Light::lightType_
LightType lightType_
Light type.
Definition: Light.h:347
Urho3D::Text::GetNumRows
unsigned GetNumRows() const
Return number of rows.
Definition: Text.h:175
Urho3D::CheckBox::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: CheckBox.cpp:59
Urho3D::SphereOctreeQuery
Sphere octree query.
Definition: OctreeQuery.h:94
Urho3D::RenderPath::GetNumRenderTargets
unsigned GetNumRenderTargets() const
Return number of rendertargets.
Definition: RenderPath.h:236
Urho3D::ValueAnimationInfo::GetAnimation
ValueAnimation * GetAnimation() const
Return animation.
Definition: ValueAnimationInfo.h:66
Urho3D::Spriter::SpriterInstance::GetEntity
Entity * GetEntity() const
Return current entity.
Definition: SpriterInstance2D.h:70
Urho3D::AnimationStateTrack
Animation instance per-track data.
Definition: AnimationState.h:51
Urho3D::IKEffector::SetIKEffectorNode
void SetIKEffectorNode(ik_node_t *effectorNode)
Intended to be used only by IKSolver.
Definition: IKEffector.cpp:325
Urho3D::Variant::GetDouble
double GetDouble() const
Return double or zero on type mismatch. Ints and floats are converted.
Definition: Variant.h:1164
Urho3D::Color::YELLOW
static const Color YELLOW
Opaque yellow color.
Definition: Color.h:281
Urho3D::WorkQueue::queue_
List< WorkItem * > queue_
Work item prioritized queue for worker threads. Pointers are guaranteed to be valid (point to workIte...
Definition: WorkQueue.h:136
Urho3D::UIElement::layoutFlexScale_
Vector2 layoutFlexScale_
Layout flex scale.
Definition: UIElement.h:726
Urho3D::DynamicNavigationMesh::drawObstacles_
bool drawObstacles_
Debug draw Obstacles.
Definition: DynamicNavigationMesh.h:146
Urho3D::DecalSet::maxIndices_
unsigned maxIndices_
Maximum indices.
Definition: DecalSet.h:237
Urho3D::PODVector::MoveRange
void MoveRange(unsigned dest, unsigned src, unsigned count)
Move a range of elements within the vector.
Definition: Vector.h:1165
Urho3D::ScriptInstance::GetScriptMethods
void GetScriptMethods()
Check for supported script methods.
Definition: ScriptInstance.cpp:626
Urho3D::ValueAnimationInfo::lastScaledTime_
float lastScaledTime_
Last scaled time.
Definition: ValueAnimationInfo.h:96
Urho3D::RigidBody::RigidBody
RigidBody(Context *context)
Construct.
Definition: RigidBody.cpp:64
Urho3D::AllocatorBlock::free_
AllocatorNode * free_
First free node.
Definition: Allocator.h:47
Urho3D::ScrollView::IsWheelHandler
bool IsWheelHandler() const override
Return whether the element could handle wheel input.
Definition: ScrollView.h:58
Urho3D::BorderImage::GetMaterial
Material * GetMaterial() const
Get material used for custom rendering.
Definition: BorderImage.cpp:247
Urho3D::Cursor::shape_
String shape_
Current shape definition.
Definition: Cursor.h:138
Urho3D::DebugHud::appStats_
HashMap< String, String > appStats_
Hashmap containing application specific stats.
Definition: DebugHud.h:123
Urho3D::String::NPOS
static const unsigned NPOS
Position for "not found".
Definition: Str.h:509
Urho3D::BorderImage::SetTextureAttr
void SetTextureAttr(const ResourceRef &value)
Set texture attribute.
Definition: BorderImage.cpp:220
Urho3D::Light::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: Light.cpp:120
Urho3D::Text3D::GetRowWidth
int GetRowWidth(unsigned index) const
Return width of row by index.
Definition: Text3D.cpp:483
Urho3D::Geometry::~Geometry
~Geometry() override
Destruct.
Urho3D::Graphics::OnWindowResized
void OnWindowResized()
Window was resized through user interaction. Called by Input subsystem.
Definition: OGLGraphics.cpp:2209
Urho3D::ScreenModeParams::tripleBuffer_
bool tripleBuffer_
Whether the triple bufferization is used.
Definition: Graphics.h:95
Urho3D::ProfilerBlock::EndFrame
void EndFrame()
End profiling frame and update interval and total values.
Definition: Profiler.h:90
Urho3D::UnknownComponent::LoadXML
bool LoadXML(const XMLElement &source) override
Load from XML data. Return true if successful.
Definition: UnknownComponent.cpp:107
Urho3D::ParticleEffect::SetMinParticleSize
void SetMinParticleSize(const Vector2 &size)
Set particle minimum size.
Definition: ParticleEffect.cpp:530
Urho3D::String::SetUTF8FromLatin1
void SetUTF8FromLatin1(const char *str)
Construct UTF8 content from Latin1.
Definition: Str.cpp:733
Urho3D::View3D::ResetScene
void ResetScene()
Reset scene.
Definition: View3D.cpp:156
Urho3D::Graphics::CleanupShaderPrograms
void CleanupShaderPrograms(ShaderVariation *variation)
Clean up shader parameters when a shader variation is released or destroyed.
Definition: OGLGraphics.cpp:2322
Urho3D::SoundSource::GetAttenuation
float GetAttenuation() const
Return attenuation.
Definition: SoundSource.h:99
Urho3D::ParticleEffect2D::GetStartColorVariance
const Color & GetStartColorVariance() const
Return start color variance.
Definition: ParticleEffect2D.h:179
Urho3D::ConvexData::BuildHull
void BuildHull(const PODVector< Vector3 > &vertices)
Build the convex hull from vertices.
Definition: CollisionShape.cpp:282
Urho3D::Vector::ConstructElements
static void ConstructElements(T *dest, unsigned count)
Construct elements using default ctor.
Definition: Vector.h:545
Urho3D::Texture::shadowCompare_
bool shadowCompare_
Shadow compare mode.
Definition: Texture.h:223
Urho3D::RigidBody::SetLinearRestThreshold
void SetLinearRestThreshold(float threshold)
Set linear velocity deactivation threshold.
Definition: RigidBody.cpp:318
Urho3D::IntRect::Max
IntVector2 Max() const
Return right-bottom corner position.
Definition: Rect.h:446
Urho3D::Drawable::SetCastShadows
void SetCastShadows(bool enable)
Set shadowcaster flag.
Definition: Drawable.cpp:223
Urho3D::Console::interpreters_
DropDownList * interpreters_
Interpreter drop down list.
Definition: Console.h:151
Urho3D::ResourceCache::GetResources
void GetResources(PODVector< Resource * > &result, StringHash type) const
Return all loaded resources of a specific type.
Definition: ResourceCache.cpp:720
Urho3D::ParticleEffect::SetConstantForce
void SetConstantForce(const Vector3 &force)
Set constant force acting on particles.
Definition: ParticleEffect.cpp:500
Urho3D::CubeMapLayout
CubeMapLayout
Cubemap single image layout modes.
Definition: GraphicsDefs.h:282
Urho3D::Model::GetSkeleton
Skeleton & GetSkeleton()
Return skeleton.
Definition: Model.h:155
Urho3D::UI::dragElementsConfirmed_
Vector< UIElement * > dragElementsConfirmed_
Confirmed drag elements cache.
Definition: UI.h:435
Urho3D::Camera::GetViewMask
unsigned GetViewMask() const
Return view mask.
Definition: Camera.h:131
Urho3D::Terrain::smoothing_
bool smoothing_
Smoothing enable flag.
Definition: Terrain.h:291
Urho3D::CrowdAgent::queryFilterType_
unsigned queryFilterType_
Agent's query filter type, it is an index to the query filter buffer configured in Detour crowd manag...
Definition: CrowdAgent.h:224
Urho3D::Node::GetUp
Vector3 GetUp() const
Return up direction in parent space. Positive Y axis equals identity rotation.
Definition: Node.h:392
Urho3D::ParticleEmitter::lastTimeStep_
float lastTimeStep_
Last scene timestep.
Definition: ParticleEmitter.h:142
Urho3D::Scene::SetSnapThreshold
void SetSnapThreshold(float threshold)
Set network client motion smoothing snap threshold.
Definition: Scene.cpp:661
Urho3D::DbResult::columns_
StringVector columns_
Column headers from the resultset.
Definition: ODBCResult.h:66
Urho3D::ConstraintRope2D::jointDef_
b2RopeJointDef jointDef_
Box2D joint def.
Definition: ConstraintRope2D.h:64
Urho3D::RenderSurface::renderBuffer_
unsigned renderBuffer_
OpenGL renderbuffer name.
Definition: RenderSurface.h:136
Urho3D::Animation::GetTriggers
const Vector< AnimationTriggerPoint > & GetTriggers() const
Return animation trigger points.
Definition: Animation.h:183
Urho3D::RigidBody2D::ApplyForce
void ApplyForce(const Vector2 &force, const Vector2 &point, bool wake)
Apply force.
Definition: RigidBody2D.cpp:329
Urho3D::ProfilerBlock::children_
PODVector< ProfilerBlock * > children_
Child blocks.
Definition: Profiler.h:150
Urho3D::RenderSurface::OnDeviceLost
void OnDeviceLost()
Mark the GPU resource destroyed on graphics context destruction. Only used on OpenGL.
Definition: OGLRenderSurface.cpp:88
Urho3D::UI::dragElementsCount_
int dragElementsCount_
Number of elements in dragElements_.
Definition: UI.h:429
Urho3D::Matrix4::ToMatrix3
Matrix3 ToMatrix3() const
Return the combined rotation and scaling matrix.
Definition: Matrix4.h:520
Urho3D::Zone::~Zone
~Zone() override
Destruct.
Urho3D::Graphics::deferredSupport_
bool deferredSupport_
Deferred rendering support flag.
Definition: Graphics.h:741
Urho3D::Graphics::SetScreenMode
bool SetScreenMode(int width, int height, const ScreenModeParams &params, bool maximize=false)
Definition: OGLGraphics.cpp:332
Urho3D::UISelectable::SetHoverColor
void SetHoverColor(const Color &color)
Set hover background color. Color with 0 alpha (default) disables.
Definition: UISelectable.cpp:64
Urho3D::Time
Time and frame counter subsystem.
Definition: Timer.h:78
Urho3D::LineEdit::SetTextSelectable
void SetTextSelectable(bool enable)
Set whether selections are allowed, default true.
Definition: LineEdit.cpp:527
Urho3D::SplinePath::GetInterpolationMode
InterpolationMode GetInterpolationMode() const
Get the Interpolation Mode.
Definition: SplinePath.h:76
Urho3D::CrowdManager
Crowd manager scene component. Should be added only to the root scene node.
Definition: CrowdManager.h:59
Urho3D::CollisionEdge2D::ApplyNodeWorldScale
void ApplyNodeWorldScale() override
Apply node world scale.
Definition: CollisionEdge2D.cpp:83
Urho3D::CollisionChain2D::GetVertex
const Vector2 & GetVertex(unsigned index) const
Return vertex.
Definition: CollisionChain2D.h:60
Urho3D::SplinePath::GetControlledNode
Node * GetControlledNode() const
Get the controlled Node.
Definition: SplinePath.h:88
Urho3D::UIElement::GetChildrenWithTagRecursive
void GetChildrenWithTagRecursive(PODVector< UIElement * > &dest, const String &tag) const
Return child elements with a specific tag recursively.
Definition: UIElement.cpp:1730
Urho3D::ParticleEmitter::SetSerializeParticles
void SetSerializeParticles(bool enable)
Set whether particles should be serialized. Default true, set false to reduce scene file size.
Definition: ParticleEmitter.cpp:306
Urho3D::DebugRenderer::DebugRenderer
DebugRenderer(Context *context)
Construct.
Definition: DebugRenderer.cpp:50
Urho3D::Slider::OnDragMove
void OnDragMove(const IntVector2 &position, const IntVector2 &screenPosition, const IntVector2 &deltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse drag motion.
Definition: Slider.cpp:125
Urho3D::Particle::rotationSpeed_
float rotationSpeed_
Rotation speed.
Definition: ParticleEmitter.h:46
Urho3D::ParticleEffect2D::GetFinishParticleSize
float GetFinishParticleSize() const
Return finish particle size.
Definition: ParticleEffect2D.h:197
Urho3D::Pass::blendMode_
BlendMode blendMode_
Blend mode.
Definition: Technique.h:150
Urho3D::Serializer::WriteBoundingBox
bool WriteBoundingBox(const BoundingBox &value)
Write a bounding box.
Definition: Serializer.cpp:174
Urho3D::BatchGroup::BatchGroup
BatchGroup(const Batch &batch)
Construct from a batch.
Definition: Batch.h:143
Urho3D::PhysicsWorld2D::BeginContact
void BeginContact(b2Contact *contact) override
Called when two fixtures begin to touch.
Definition: PhysicsWorld2D.cpp:107
Urho3D::UI::doubleClickInterval_
float doubleClickInterval_
Seconds between clicks to register a double click.
Definition: UI.h:377
Urho3D::Terrain::UpdatePatchLod
void UpdatePatchLod(TerrainPatch *patch)
Update patch based on LOD and neighbor LOD.
Definition: Terrain.cpp:763
Urho3D::WString::Resize
void Resize(unsigned newLength)
Resize the string.
Definition: Str.cpp:1280
Urho3D::Text3D::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: Text3D.cpp:508
Urho3D::Text3D::fontDataLost_
bool fontDataLost_
Font texture data lost flag.
Definition: Text3D.h:216
Urho3D::PropertySet2D::nameToValueMapping_
HashMap< String, String > nameToValueMapping_
Property name to property value mapping.
Definition: TileMapDefs2D.h:120
Urho3D::PListFile
Property list (plist).
Definition: PListFile.h:142
Urho3D::BillboardSet::SetNumBillboards
void SetNumBillboards(unsigned num)
Set number of billboards.
Definition: BillboardSet.cpp:261
Urho3D::UIElement::OnSetEditable
virtual void OnSetEditable()
React to editable status change.
Definition: UIElement.h:198
Urho3D::PackageFile::totalSize_
unsigned totalSize_
Package file total size.
Definition: PackageFile.h:96
Urho3D::Drawable::maxLights_
unsigned maxLights_
Maximum per-pixel lights.
Definition: Drawable.h:381
Urho3D::SpriteSheet2D::DefineSprite
void DefineSprite(const String &name, const IntRect &rectangle, const Vector2 &hotSpot=Vector2(0.5f, 0.5f), const IntVector2 &offset=IntVector2::ZERO)
Define sprite.
Definition: SpriteSheet2D.cpp:97
Urho3D::UI::SetFontHintLevel
void SetFontHintLevel(FontHintLevel level)
Set the hinting level used by FreeType fonts.
Definition: UI.cpp:709
Urho3D::Node::GetParentDerivedComponent
T * GetParentDerivedComponent(bool fullTraversal=false) const
Return first component derived from class in the parent node, or if fully traversing then the first n...
Definition: Node.h:762
Urho3D::PhysicsWorld::broadphase_
UniquePtr< btBroadphaseInterface > broadphase_
Bullet collision broadphase.
Definition: PhysicsWorld.h:308
Urho3D::XMLElement::GetXPathResultSet
const XPathResultSet * GetXPathResultSet() const
Return XPath query result set.
Definition: XMLElement.h:291
Urho3D::RibbonTrail::SetWidth
void SetWidth(float width)
Set width of the tail. Only works for face camera trail type.
Definition: RibbonTrail.cpp:871
Urho3D::CheckBox::CheckBox
CheckBox(Context *context)
Construct.
Definition: CheckBox.cpp:37
Urho3D::PODVector::operator!=
bool operator!=(const PODVector< T > &rhs) const
Test for inequality with another vector.
Definition: Vector.h:796
Urho3D::UI::SendDoubleClickEvent
void SendDoubleClickEvent(UIElement *beginElement, UIElement *endElement, const IntVector2 &firstPos, const IntVector2 &secondPos, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers)
Send a UI double click event.
Definition: UI.cpp:1724
Urho3D::Shader::timeStamp_
unsigned timeStamp_
Source code timestamp.
Definition: Shader.h:79
Urho3D::Graphics::GetStencilWriteMask
unsigned GetStencilWriteMask() const
Return stencil write bitmask.
Definition: Graphics.h:558
Urho3D::Model
3D model resource.
Definition: Model.h:108
Urho3D::AnimationController::GetStartBoneName
const String & GetStartBoneName(const String &name) const
Return animation start bone name, or empty string if no such animation.
Definition: AnimationController.cpp:495
Urho3D::Network::natPunchServerAddress_
SLNet::SystemAddress * natPunchServerAddress_
NAT punchtrough server information.
Definition: Network.h:184
Urho3D::AnimationState::SetLayer
void SetLayer(unsigned char layer)
Set blending layer.
Definition: AnimationState.cpp:364
Urho3D::ObjectAnimation::LoadJSON
bool LoadJSON(const JSONValue &source)
Load from JSON data. Return true if successful.
Definition: ObjectAnimation.cpp:131
Urho3D::AnimationController::SetNodeAnimationStatesAttr
void SetNodeAnimationStatesAttr(const VariantVector &value)
Set node animation states attribute.
Definition: AnimationController.cpp:712
Urho3D::String::endZero
static char endZero
End zero for empty strings.
Definition: Str.h:551
Urho3D::WeakPtr::WeakPtr
WeakPtr(const WeakPtr< U > &rhs) noexcept
Copy-construct from another weak pointer allowing implicit upcasting.
Definition: Ptr.h:298
Urho3D::SharedArrayPtr::ReinterpretCast
void ReinterpretCast(const SharedArrayPtr< U > &rhs)
Perform a reinterpret cast from a shared array pointer of another type.
Definition: ArrayPtr.h:144
Urho3D::Image::components_
unsigned components_
Number of color components.
Definition: Image.h:222
Urho3D::OffMeshConnection::SetBidirectional
void SetBidirectional(bool enabled)
Set bidirectional flag. Default true.
Definition: OffMeshConnection.cpp:95
Urho3D::Renderer::GetDefaultRenderPath
RenderPath * GetDefaultRenderPath() const
Return default renderpath.
Definition: Renderer.cpp:559
Urho3D::Input::SendInputFocusEvent
void SendInputFocusEvent()
Send an input focus or window minimization change event.
Definition: Input.cpp:1737
Urho3D::Audio::deviceID_
unsigned deviceID_
SDL audio device ID.
Definition: Audio.h:131
Urho3D::ConstraintGear2D::jointDef_
b2GearJointDef jointDef_
Box2D joint def.
Definition: ConstraintGear2D.h:64
Urho3D::FontFaceFreeType::oversampling_
int oversampling_
Oversampling level.
Definition: FontFaceFreeType.h:67
Urho3D::Color::FromHCM
void FromHCM(float h, float c, float m)
Calculate and set RGB values. Convenience function used by FromHSV and FromHSL to avoid code duplicat...
Definition: Color.cpp:304
Urho3D::SMOOTH_POSITION
@ SMOOTH_POSITION
Ongoing position smoothing.
Definition: SmoothedTransform.h:37
Urho3D::ConstraintDistance2D
2D distance constraint component.
Definition: ConstraintDistance2D.h:31
Urho3D::RenderPath::IsAdded
bool IsAdded(const String &tag) const
Return true if renderpath or command with given tag exists.
Definition: RenderPath.cpp:395
Urho3D::IndexBuffer::SetSize
bool SetSize(unsigned indexCount, bool largeIndices, bool dynamic=false)
Set size and vertex elements and dynamic mode. Previous data will be lost.
Definition: IndexBuffer.cpp:76
Urho3D::MemoryBuffer::Read
unsigned Read(void *dest, unsigned size) override
Read bytes from the memory area. Return number of bytes actually read.
Definition: MemoryBuffer.cpp:62
Urho3D::Terrain::lodBias_
float lodBias_
LOD bias.
Definition: Terrain.h:313
Urho3D::ConstraintWeld2D::SetDampingRatio
void SetDampingRatio(float dampingRatio)
Set damping ratio.
Definition: ConstraintWeld2D.cpp:82
Urho3D::UIElement::SetLayoutFlexScale
void SetLayoutFlexScale(const Vector2 &scale)
Set layout flex scale.
Definition: UIElement.cpp:1072
Urho3D::CollisionShape::shape_
UniquePtr< btCollisionShape > shape_
Bullet collision shape.
Definition: CollisionShape.h:298
Urho3D::Graphics::pixelShader_
ShaderVariation * pixelShader_
Pixel shader in use.
Definition: Graphics.h:787
Urho3D::CustomGeometry::GetMaterial
Material * GetMaterial(unsigned index=0) const
Return material by geometry index.
Definition: CustomGeometry.cpp:723
Urho3D::Serializer::WriteVLE
bool WriteVLE(unsigned value)
Write a variable-length encoded unsigned integer, which can use 29 bits maximum.
Definition: Serializer.cpp:365
Urho3D::ScriptFile::HasEventHandler
bool HasEventHandler(StringHash eventType) const override
Return whether has subscribed to an event.
Definition: ScriptFile.cpp:273
Urho3D::BillboardSet::Commit
void Commit()
Mark for bounding box and vertex buffer update. Call after modifying the billboards.
Definition: BillboardSet.cpp:346
Urho3D::CScriptDictionary
Script dictionary class.
Definition: Addons.h:194
Urho3D::Model::GetNumMorphs
unsigned GetNumMorphs() const
Return number of vertex morphs.
Definition: Model.h:191
Urho3D::SoundStream::Seek
virtual bool Seek(unsigned sample_number)
Seek to sample number. Return true on success. Need not be implemented by all streams.
Definition: SoundStream.cpp:40
Urho3D::Variant::emptyVariantVector
static const VariantVector emptyVariantVector
Empty variant vector.
Definition: Variant.h:1391
Urho3D::RaycastVehicle::UpdateWheelTransform
void UpdateWheelTransform(int wheel, bool interpolated)
Update transform for particular wheel.
Definition: RaycastVehicle.cpp:410
Urho3D::Renderer::mobileShadowBiasAdd_
float mobileShadowBiasAdd_
Mobile platform shadow depth bias addition.
Definition: Renderer.h:570
Urho3D::AnimatedSprite2D::loopMode_
LoopMode2D loopMode_
Loop mode.
Definition: AnimatedSprite2D.h:136
Urho3D::Component::OnAttributeAnimationRemoved
void OnAttributeAnimationRemoved() override
Handle attribute animation removed.
Definition: Component.cpp:232
Urho3D::Node::GetNetParentAttr
const PODVector< unsigned char > & GetNetParentAttr() const
Return network parent attribute.
Definition: Node.cpp:1524
Urho3D::PhysicsWorld2D::DrawCircle
void DrawCircle(const b2Vec2 &center, float32 radius, const b2Color &color) override
Draw a circle.
Definition: PhysicsWorld2D.cpp:212
Urho3D::ResourceCache::SetSearchPackagesFirst
void SetSearchPackagesFirst(bool value)
Define whether when getting resources should check package files or directories first....
Definition: ResourceCache.h:129
Urho3D::Octree::RemoveManualDrawable
void RemoveManualDrawable(Drawable *drawable)
Remove a manually added drawable.
Definition: Octree.cpp:485
Urho3D::AnimationControl::hash_
StringHash hash_
Animation resource name hash.
Definition: AnimationController.h:58
Urho3D::Pass::vertexShaders_
Vector< SharedPtr< ShaderVariation > > vertexShaders_
Vertex shaders.
Definition: Technique.h:178
Urho3D::HashSet::HashSet
HashSet()
Construct empty.
Definition: HashSet.h:175
Urho3D::Navigable::recursive_
bool recursive_
Recursive flag.
Definition: Navigable.h:51
Urho3D::SimpleNavBuildData::polyMesh_
rcPolyMesh * polyMesh_
Recast poly mesh.
Definition: NavBuildData.h:97
Urho3D::Text::roundStroke_
bool roundStroke_
Text effect stroke rounding flag.
Definition: Text.h:245
Urho3D::RibbonTrail::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle node being assigned.
Definition: RibbonTrail.cpp:420
Urho3D::ShaderParameter::bufferPtr_
ConstantBuffer * bufferPtr_
Constant buffer pointer. Defined only in shader programs.
Definition: ShaderVariation.h:77
Urho3D::Component::OnMarkedDirty
virtual void OnMarkedDirty(Node *node)
Handle scene node transform dirtied.
Definition: Component.cpp:246
Urho3D::RenderSurface::GetReadOnlyView
void * GetReadOnlyView() const
Return Direct3D11 read-only depth-stencil view. May be null if not applicable. Not valid on OpenGL.
Definition: RenderSurface.h:111
Urho3D::UI::debugVertexBuffer_
SharedPtr< VertexBuffer > debugVertexBuffer_
UI debug geometry vertex buffer.
Definition: UI.h:371
Urho3D::BillboardSet::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: BillboardSet.cpp:110
Urho3D::ConstraintMotor2D::SetMaxForce
void SetMaxForce(float maxForce)
Set max force.
Definition: ConstraintMotor2D.cpp:89
Urho3D::Vector::Vector
Vector(const T *data, unsigned size)
Construct with initial data.
Definition: Vector.h:71
Urho3D::Component::OnSceneSet
virtual void OnSceneSet(Scene *scene)
Handle scene being assigned. This may happen several times during the component's lifetime....
Definition: Component.cpp:242
Urho3D::ParticleEmitter::SetEmitting
void SetEmitting(bool enable)
Set whether should be emitting. If the state was changed, also resets the emission period timer.
Definition: ParticleEmitter.cpp:293
Urho3D::HashSet::FreeNode
void FreeNode(Node *node)
Free a node.
Definition: HashSet.h:619
Urho3D::UIElement::enableAnchor_
bool enableAnchor_
Use min/max anchor & min/max offset for position & size instead of setting explicitly.
Definition: UIElement.h:787
Urho3D::PListValue::type_
PListValueType type_
Type.
Definition: PListFile.h:128
Urho3D::StaticModelGroup::nodeIDsDirty_
bool nodeIDsDirty_
Whether nodes have been manipulated by the API and node ID attribute should be refreshed.
Definition: StaticModelGroup.h:96
Urho3D::SoundSource::GetSoundAttr
ResourceRef GetSoundAttr() const
Return sound attribute.
Definition: SoundSource.cpp:498
Urho3D::Vector< asIScriptContext * >
Urho3D::Sprite2D::SaveToResourceRef
static ResourceRef SaveToResourceRef(Sprite2D *sprite)
Save sprite to ResourceRef.
Definition: Sprite2D.cpp:190
Urho3D::Connection::identity_
VariantMap identity_
Identity map.
Definition: Connection.h:254
Urho3D::UIBatch::Merge
bool Merge(const UIBatch &batch)
Merge with another batch.
Definition: UIBatch.cpp:405
Urho3D::Animatable::attributeAnimationInfos_
HashMap< String, SharedPtr< AttributeAnimationInfo > > attributeAnimationInfos_
Attribute animation infos.
Definition: Animatable.h:155
Urho3D::Spriter::SpatialTimelineKey
Spatial timeline key.
Definition: SpriterData2D.h:262
Urho3D::TerrainPatch::GetEastPatch
TerrainPatch * GetEastPatch() const
Return east neighbor patch.
Definition: TerrainPatch.h:98
Urho3D::XMLElement::SetString
bool SetString(const String &name, const String &value)
Set a string attribute.
Definition: XMLElement.cpp:407
Urho3D::XMLElement::NotNull
bool NotNull() const
Return whether refers to an element or an XPath node.
Definition: XMLElement.cpp:568
Urho3D::Model::boundingBox_
BoundingBox boundingBox_
Bounding box.
Definition: Model.h:206
Urho3D::Drawable::worldBoundingBoxDirty_
bool worldBoundingBoxDirty_
Bounding box dirty flag.
Definition: Drawable.h:337
Urho3D::Scene::PreloadResourcesJSON
void PreloadResourcesJSON(const JSONValue &value)
Preload resources from a JSON scene or object prefab file.
Definition: Scene.cpp:1447
Urho3D::NavBuildData::heightField_
rcHeightfield * heightField_
Recast heightfield.
Definition: NavBuildData.h:80
Urho3D::Renderer::ResizeInstancingBuffer
bool ResizeInstancingBuffer(unsigned numInstances)
Ensure sufficient size of the instancing vertex buffer. Return true if successful.
Definition: Renderer.cpp:1346
Urho3D::Renderer2D::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: Renderer2D.cpp:129
Urho3D::Audio::soundSources_
PODVector< SoundSource * > soundSources_
Sound sources.
Definition: Audio.h:149
Urho3D::View::GetScene
Scene * GetScene() const
Return scene.
Definition: View.h:136
Urho3D::Constraint2D::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: Constraint2D.cpp:74
Urho3D::Material::SetScene
void SetScene(Scene *scene)
Associate the material with a scene to ensure that shader parameter animation happens in sync with sc...
Definition: Material.cpp:1115
Urho3D::WorkQueue::completing_
bool completing_
Completing work in the main thread flag.
Definition: WorkQueue.h:146
Urho3D::VectorBuffer::GetModifiableData
unsigned char * GetModifiableData()
Return non-const data.
Definition: VectorBuffer.h:65
Urho3D::TerrainPatch::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: TerrainPatch.cpp:273
Urho3D::String::EMPTY
static const String EMPTY
Empty string.
Definition: Str.h:513
Urho3D::Vector4::operator[]
float operator[](unsigned index) const
Return const value by index.
Definition: Vector4.h:165
Urho3D::Renderer::SetVSMShadowParameters
void SetVSMShadowParameters(float minVariance, float lightBleedingReduction)
Set shadow parameters when VSM is used, they help to reduce light bleeding. LightBleeding must be in ...
Definition: Renderer.cpp:419
Urho3D::DirtyBits::IsSet
bool IsSet(unsigned index) const
Return if bit is set.
Definition: ReplicationState.h:99
Urho3D::Ceil
T Ceil(T x)
Round value up.
Definition: MathDefs.h:228
Urho3D::WeakArrayPtr::StaticCast
void StaticCast(const WeakArrayPtr< U > &rhs)
Perform a static cast from a weak array pointer of another type.
Definition: ArrayPtr.h:349
Urho3D::LogicComponent::~LogicComponent
~LogicComponent() override
Destruct.
Urho3D::Texture::GetBorderColor
const Color & GetBorderColor() const
Return border color.
Definition: Texture.h:103
Urho3D::UIElement::IsEnabled
bool IsEnabled() const
Return whether reacts to input.
Definition: UIElement.h:511
Urho3D::Connection::outgoingBuffer_
HashMap< int, VectorBuffer > outgoingBuffer_
Outgoing packet buffer which can contain multiple messages.
Definition: Connection.h:349
Urho3D::ScriptFile
Script file resource.
Definition: ScriptFile.h:46
Urho3D::ShaderProgram::globalParameterSources
static const void * globalParameterSources[MAX_SHADER_PARAMETER_GROUPS]
Remembered global shader parameter sources for constant buffer mode.
Definition: OGLShaderProgram.h:114
Urho3D::Font::GetTotalGlyphOffset
IntVector2 GetTotalGlyphOffset(float pointSize) const
Return the total effective offset for a point size.
Definition: Font.cpp:181
Urho3D::Localization::LoadJSONFile
void LoadJSONFile(const String &name, const String &language=String::EMPTY)
Load strings from JSONFile. The file should be UTF8 without BOM.
Definition: Localization.cpp:155
Urho3D::SoundStream::sixteenBit_
bool sixteenBit_
Sixteen bit flag.
Definition: SoundStream.h:74
Urho3D::Graphics::BeginFrame
bool BeginFrame()
Begin frame rendering. Return true if device available and can render.
Definition: OGLGraphics.cpp:587
Urho3D::Application::Setup
virtual void Setup()
Setup before engine initialization. This is a chance to eg. modify the engine parameters....
Definition: Application.h:44
Urho3D::Spriter::MapInstruction
Map instruction.
Definition: SpriterData2D.h:132
Urho3D::FontFaceFreeType::ascender_
float ascender_
Ascender.
Definition: FontFaceFreeType.h:69
Urho3D::Constraint::GetLowLimit
const Vector2 & GetLowLimit() const
Return low limit.
Definition: Constraint.h:134
Urho3D::Matrix3::Matrix3
Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) noexcept
Construct from values.
Definition: Matrix3.h:52
Urho3D::AnimationKeyFrame::rotation_
Quaternion rotation_
Bone rotation.
Definition: Animation.h:60
Urho3D::IKEffector::SetIKSolver
void SetIKSolver(IKSolver *solver)
Intended to be used only by IKSolver.
Definition: IKEffector.cpp:343
Urho3D::JSONValue::Push
void Push(const JSONValue &value)
Add JSON value at end.
Definition: JSONValue.cpp:202
Urho3D::PhysicsWorld::draw3dText
void draw3dText(const btVector3 &location, const char *textString) override
Draw physics debug 3D text. Not implemented.
Definition: PhysicsWorld.cpp:252
Urho3D::Animatable::GetAttributeAnimationInfo
AttributeAnimationInfo * GetAttributeAnimationInfo(const String &name) const
Return attribute animation info.
Definition: Animatable.cpp:538
Urho3D::Image::SetPixelInt
void SetPixelInt(int x, int y, unsigned uintColor)
Set a 2D pixel with an integer color. R component is in the 8 lowest bits.
Definition: Image.cpp:931
Urho3D::PhysicsWorld::GetMaxNetworkAngularVelocity
float GetMaxNetworkAngularVelocity() const
Return maximum angular velocity for network replication.
Definition: PhysicsWorld.h:239
Urho3D::OggVorbisSoundStream
Ogg Vorbis sound stream.
Definition: OggVorbisSoundStream.h:34
Urho3D::AsyncProgress::file_
SharedPtr< File > file_
File for binary mode.
Definition: Scene.h:60
Urho3D::String::Erase
void Erase(unsigned pos, unsigned length=1)
Erase a substring.
Definition: Str.cpp:392
Urho3D::JoystickState::GetAxisPosition
float GetAxisPosition(unsigned index) const
Return axis position.
Definition: Input.h:103
Urho3D::CollisionCircle2D::center_
Vector2 center_
Center.
Definition: CollisionCircle2D.h:67
Urho3D::CollisionShape::GetMargin
float GetMargin() const
Return collision margin.
Definition: CollisionShape.h:233
Urho3D::CrowdAgent::GetRadius
float GetRadius() const
Get the agent's radius.
Definition: CrowdAgent.h:157
Urho3D::Material::GetTextureUnitName
static String GetTextureUnitName(TextureUnit unit)
Return name for texture unit.
Definition: Material.cpp:1232
Urho3D::Geometry::rawVertexSize_
unsigned rawVertexSize_
Raw vertex data override size.
Definition: Geometry.h:139
Urho3D::Drawable::distance_
float distance_
Current distance to camera.
Definition: Drawable.h:363
Urho3D::UIElement::RemoveChild
void RemoveChild(UIElement *element, unsigned index=0)
Remove a child element. Starting search at specified index if provided.
Definition: UIElement.cpp:1343
Urho3D::CompareMode
CompareMode
Depth or stencil compare mode.
Definition: GraphicsDefs.h:85
Urho3D::GraphicsImpl::allConstantBuffers_
ConstantBufferMap allConstantBuffers_
Constant buffer search map.
Definition: OGLGraphicsImpl.h:142
Urho3D::UISelectable::GetSelectionColor
const Color & GetSelectionColor() const
Return selection background color.
Definition: UISelectable.h:53
Urho3D::CrowdObstacleAvoidanceParams::adaptiveRings
unsigned char adaptiveRings
adaptive
Definition: CrowdManager.h:54
Urho3D::ParticleEmitter2D
2D particle emitter component.
Definition: ParticleEmitter2D.h:76
Urho3D::ProgressBar::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ProgressBar.cpp:59
Urho3D::Renderer::ResetBuffers
void ResetBuffers()
Remove all occlusion and screen buffers.
Definition: Renderer.cpp:1905
Urho3D::Window::SetModalFrameColor
void SetModalFrameColor(const Color &color)
Set modal frame color.
Definition: Window.cpp:305
Urho3D::ResourceRefList::ResourceRefList
ResourceRefList(StringHash type)
Construct with type only.
Definition: Variant.h:143
Urho3D::StaticSprite2D::SetFlipY
void SetFlipY(bool flipY)
Set flip Y.
Definition: StaticSprite2D.cpp:147
Urho3D::Renderer::specularLighting_
bool specularLighting_
Specular lighting flag.
Definition: Renderer.h:588
Urho3D::Rect::Data
const float * Data() const
Return float data.
Definition: Rect.h:232
Urho3D::Drawable::GetLightMask
unsigned GetLightMask() const
Return light mask.
Definition: Drawable.h:198
Urho3D::Engine::SetTimeStepSmoothing
void SetTimeStepSmoothing(int frames)
Set how many frames to average for timestep smoothing. Default is 2. 1 disables smoothing.
Definition: Engine.cpp:558
Urho3D::ScrollView::GetScrollPanel
BorderImage * GetScrollPanel() const
Return scroll panel.
Definition: ScrollView.h:104
Urho3D::Particle2D::tangentialAcceleration_
float tangentialAcceleration_
Tangential acceleration.
Definition: ParticleEmitter2D.h:62
Urho3D::ParticleEffect2D::rotatePerSecondVariance_
float rotatePerSecondVariance_
Rotate per second variance.
Definition: ParticleEffect2D.h:318
Urho3D::CrowdManager::navigationMesh_
WeakPtr< NavigationMesh > navigationMesh_
NavigationMesh for which the crowd was created.
Definition: CrowdManager.h:185
Urho3D::Material::pixelShaderDefines_
String pixelShaderDefines_
Pixel shader defines.
Definition: Material.h:295
Urho3D::IntVector2::LEFT
static const IntVector2 LEFT
(-1,0) vector.
Definition: Vector2.h:163
Urho3D::ScrollBar::GetForwardButton
Button * GetForwardButton() const
Return forward button element.
Definition: ScrollBar.h:90
Urho3D::Graphics::SetVertexAttribDivisor
void SetVertexAttribDivisor(unsigned location, unsigned divisor)
Set vertex attrib divisor. No-op if unsupported. Used only on OpenGL.
Definition: OGLGraphics.cpp:3366
Urho3D::ConvexData
Convex hull geometry data.
Definition: CollisionShape.h:104
Urho3D::Renderer::numShadowCameras_
unsigned numShadowCameras_
Number of temporary shadow cameras in use.
Definition: Renderer.h:576
Urho3D::Node::networkUpdate_
bool networkUpdate_
Network update queued flag.
Definition: Node.h:679
Urho3D::HashSet::Head
Node * Head() const
Return the head node.
Definition: HashSet.h:520
Urho3D::Constraint::SetOtherAxis
void SetOtherAxis(const Vector3 &axis)
Set constraint rotation relative to the other body by specifying the axis.
Definition: Constraint.cpp:239
Urho3D::Obstacle::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Render debug information.
Definition: Obstacle.cpp:150
Urho3D::NavigationGeometryInfo::transform_
Matrix3x4 transform_
Transform relative to the navigation mesh root node.
Definition: NavigationMesh.h:66
Urho3D::Terrain::SetShadowDistance
void SetShadowDistance(float distance)
Set shadow draw distance for patches.
Definition: Terrain.cpp:392
Urho3D::TileMap2D::TileMap2D
TileMap2D(Context *context)
Construct.
Definition: TileMap2D.cpp:42
Urho3D::Variant::Variant
Variant(RefCounted *value)
Construct from a RefCounted pointer. The object will be stored internally in a WeakPtr so that its ex...
Definition: Variant.h:493
Urho3D::BillboardSet::SetMinAngle
void SetMinAngle(float angle)
Set minimal angle between billboard normal and look-at direction.
Definition: BillboardSet.cpp:334
Urho3D::RenderSurface::updateMode_
RenderSurfaceUpdateMode updateMode_
Update mode for viewports.
Definition: RenderSurface.h:154
Urho3D::Window::SetMovable
void SetMovable(bool enable)
Set whether can be moved.
Definition: Window.cpp:252
Urho3D::UIBatch
UI rendering draw call.
Definition: UIBatch.h:42
Urho3D::RenderPathCommand::enabled_
bool enabled_
Enabled flag.
Definition: RenderPath.h:176
Urho3D::Sound::compressedLength_
float compressedLength_
Compressed sound length.
Definition: Sound.h:134
Urho3D::Matrix4::Rotation
Quaternion Rotation() const
Return the rotation part.
Definition: Matrix4.h:558
Urho3D::DecalVertex::blendIndices_
unsigned char blendIndices_[4]
Blend indices.
Definition: DecalSet.h:72
Urho3D::Image::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Image.cpp:261
Urho3D::Matrix3x4::ToString
String ToString() const
Return as string.
Definition: Matrix3x4.cpp:83
Urho3D::Animatable::SetAttributeAnimationWrapMode
void SetAttributeAnimationWrapMode(const String &name, WrapMode wrapMode)
Set attribute animation wrap mode.
Definition: Animatable.cpp:392
Urho3D::Skeleton::ClearBones
void ClearBones()
Clear bones.
Definition: Skeleton.cpp:123
Urho3D::RefCounted
Base class for intrusively reference-counted objects. These are noncopyable and non-assignable.
Definition: RefCounted.h:59
Urho3D::IM_SPLINE
@ IM_SPLINE
Cardinal spline interpolation, default tension value is 0.5f. For more information please refer to ht...
Definition: ValueAnimation.h:44
Urho3D::DecalVertex::normal_
Vector3 normal_
Normal.
Definition: DecalSet.h:64
Urho3D::Resource::SaveFile
virtual bool SaveFile(const String &fileName) const
Save resource to file.
Definition: Resource.cpp:93
Urho3D::AM_NET
@ AM_NET
Attribute used for network replication.
Definition: Attribute.h:41
Urho3D::Application::engineParameters_
VariantMap engineParameters_
Engine parameters map.
Definition: Application.h:64
Urho3D::CollisionBox2D::center_
Vector2 center_
Center.
Definition: CollisionBox2D.h:74
Urho3D::MutexLock::mutex_
Mutex & mutex_
Mutex reference.
Definition: Mutex.h:71
Urho3D::List::Node::Next
Node * Next() const
Return next node.
Definition: List.h:51
Urho3D::Light::SetRange
void SetRange(float range)
Set range.
Definition: Light.cpp:326
Urho3D::DecalSet::GetMaxIndices
unsigned GetMaxIndices() const
Return maximum number of decal vertex indices.
Definition: DecalSet.h:161
Urho3D::RigidBody::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: RigidBody.cpp:94
Urho3D::ProfilerBlock::frameCount_
unsigned frameCount_
Calls on the previous frame.
Definition: Profiler.h:156
Urho3D::IKEffector::SetRotationDecay
void SetRotationDecay(float decay)
A factor with which to control the target rotation influence of the next segments down the chain.
Definition: IKEffector.cpp:206
Urho3D::TextureFrame::uv_
Rect uv_
UV coordinates.
Definition: ParticleEffect.h:96
Urho3D::TileMapLayer2D::GetObject
TileMapObject2D * GetObject(unsigned index) const
Return tile map object (for object group only).
Definition: TileMapLayer2D.cpp:311
Urho3D::PODVector::Reserve
void Reserve(unsigned newCapacity)
Set new capacity.
Definition: Vector.h:1066
Urho3D::NavAreaStub::bounds_
BoundingBox bounds_
Area bounding box.
Definition: NavBuildData.h:48
Urho3D::LuaScriptEventInvoker::HandleLuaScriptEvent
void HandleLuaScriptEvent(StringHash eventType, VariantMap &eventData)
Handle script event in Lua script.
Definition: LuaScriptEventInvoker.cpp:58
Urho3D::PhysicsWorld2D::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: PhysicsWorld2D.cpp:705
Urho3D::IKSolver::GetAlgorithm
Algorithm GetAlgorithm() const
Returns the active algorithm.
Definition: IKSolver.cpp:108
Urho3D::ShaderPrecache::StoreShaders
void StoreShaders(ShaderVariation *vs, ShaderVariation *ps)
Collect a shader combination. Called by Graphics when shaders have been set.
Definition: ShaderPrecache.cpp:78
Urho3D::AnimationStateTrack::AnimationStateTrack
AnimationStateTrack()
Construct with defaults.
Definition: AnimationState.cpp:36
Urho3D::Script::ExceptionCallback
void ExceptionCallback(asIScriptContext *context)
Handle a script exception.
Definition: Script.cpp:256
Urho3D::Ray::Project
Vector3 Project(const Vector3 &point) const
Project a point on the ray.
Definition: Ray.h:69
Urho3D::BillboardSet::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: BillboardSet.cpp:225
Urho3D::Context::GetNetworkAttributes
const Vector< AttributeInfo > * GetNetworkAttributes(StringHash type) const
Return network replication attribute descriptions for an object type, or null if none defined.
Definition: Context.h:177
Urho3D::HashNodeBase::HashNodeBase
HashNodeBase()
Construct.
Definition: HashBase.h:42
Urho3D::Graphics::GetDepthConstantBias
float GetDepthConstantBias() const
Return depth constant bias.
Definition: Graphics.h:513
Urho3D::ParticleEffect2D::GetDuration
float GetDuration() const
Return duration.
Definition: ParticleEffect2D.h:203
Urho3D::Node::PrepareNetworkUpdate
void PrepareNetworkUpdate()
Prepare network update by comparing attributes and marking replication states dirty as necessary.
Definition: Node.cpp:1685
Urho3D::ShaderProgram::ClearGlobalParameterSource
static void ClearGlobalParameterSource(ShaderParameterGroup group)
Clear a global parameter source when constant buffers change.
Definition: OGLShaderProgram.cpp:415
Urho3D::PhysicsWorld::CleanupGeometryCache
void CleanupGeometryCache()
Clean up the geometry cache.
Definition: PhysicsWorld.cpp:771
Urho3D::Matrix4::Scale
Vector3 Scale() const
Return the scaling part.
Definition: Matrix4.h:561
Urho3D::Window::dragBeginCursor_
IntVector2 dragBeginCursor_
Mouse position at drag begin.
Definition: Window.h:153
Urho3D::Renderer::PrepareViewRender
void PrepareViewRender()
Prepare for rendering of a new view.
Definition: Renderer.cpp:1526
Urho3D::Input::LoadGestures
unsigned LoadGestures(Deserializer &source)
Load touch gestures from a file. Return number of loaded gestures, or 0 on failure.
Definition: Input.cpp:1238
Urho3D::Viewport::Viewport
Viewport(Context *context)
Construct with defaults.
Definition: Viewport.cpp:39
Urho3D::TileMap2D::rootNode_
SharedPtr< Node > rootNode_
Root node for tile map layer.
Definition: TileMap2D.h:83
Urho3D::FileSystem::GetUserDocumentsDir
String GetUserDocumentsDir() const
Return the user documents directory.
Definition: FileSystem.cpp:723
Urho3D::Model::indexBuffers_
Vector< SharedPtr< IndexBuffer > > indexBuffers_
Index buffers.
Definition: Model.h:212
Urho3D::DebugHud::memoryText_
SharedPtr< Text > memoryText_
Memory stats text.
Definition: DebugHud.h:121
Urho3D::TileMapObject2D::GetTileSprite
Sprite2D * GetTileSprite() const
Return tile sprite.
Definition: TileMapDefs2D.cpp:203
Urho3D::XPathQuery::XPathQuery
XPathQuery()
Construct empty.
Urho3D::TileMapObject2D
Tile map object.
Definition: TileMapDefs2D.h:165
Urho3D::Technique::GetPassIndex
static unsigned GetPassIndex(const String &passName)
Return a pass type index by name. Allocate new if not used yet.
Definition: Technique.cpp:529
Urho3D::DebugTriangle::color_
unsigned color_
Color.
Definition: DebugRenderer.h:87
Urho3D::ListView::GetSelections
const PODVector< unsigned > & GetSelections() const
Return all selected indices.
Definition: ListView.h:127
Urho3D::PhysicsWorld::UpdateCollisions
void UpdateCollisions()
Refresh collisions only without updating dynamics.
Definition: PhysicsWorld.cpp:308
Urho3D::Vector::Buffer
T * Buffer() const
Return the buffer with right type.
Definition: Vector.h:541
Urho3D::Image::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Image.cpp:266
Urho3D::Connection::OnSceneLoadFailed
void OnSceneLoadFailed()
Handle scene load failure on the server or client.
Definition: Connection.cpp:1574
Urho3D::OffMeshConnection::endPoint_
WeakPtr< Node > endPoint_
Endpoint node.
Definition: OffMeshConnection.h:78
Urho3D::View3D
UI element which renders a 3D scene.
Definition: View3D.h:37
Urho3D::Node::GetNumNetworkComponents
unsigned GetNumNetworkComponents() const
Return number of non-local components.
Definition: Node.cpp:1335
Urho3D::CheckBox::checked_
bool checked_
Current checked state.
Definition: CheckBox.h:68
Urho3D::Renderer::GetOccluderSizeThreshold
float GetOccluderSizeThreshold() const
Return occluder screen size threshold.
Definition: Renderer.h:328
Urho3D::JSONValue::GetObject
const JSONObject & GetObject() const
Return JSON object value.
Definition: JSONValue.h:208
Urho3D::Serializable::SetAttribute
bool SetAttribute(unsigned index, const Variant &value)
Set attribute by index. Return true if successfully set.
Definition: Serializable.cpp:588
Urho3D::AnimationController::SetNetAnimationsAttr
void SetNetAnimationsAttr(const PODVector< unsigned char > &value)
Set animations attribute for network replication.
Definition: AnimationController.cpp:612
Urho3D::Terrain::GetNeighborPatch
TerrainPatch * GetNeighborPatch(int x, int z) const
Return patch by patch coordinates including neighbor terrains.
Definition: Terrain.cpp:541
Urho3D::Drawable2D::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: Drawable2D.cpp:125
Urho3D::Particle::colorIndex_
unsigned colorIndex_
Current color animation index.
Definition: ParticleEmitter.h:48
Urho3D::DynamicNavigationMesh::~DynamicNavigationMesh
~DynamicNavigationMesh() override
Destructor.
Definition: DynamicNavigationMesh.cpp:223
Urho3D::HashBase::HashBase
HashBase()
Construct.
Definition: HashBase.h:109
Urho3D::Model::GetGeometryCenters
const PODVector< Vector3 > & GetGeometryCenters() const
Return geometry center points.
Definition: Model.h:173
Urho3D::Renderer2D::RemoveDrawable
void RemoveDrawable(Drawable2D *drawable)
Remove Drawable2D.
Definition: Renderer2D.cpp:235
Urho3D::Connection::Ban
void Ban()
Ban this connections IP address.
Definition: Connection.cpp:520
Urho3D::Menu::LoadXML
bool LoadXML(const XMLElement &source, XMLFile *styleFile) override
Load from XML data with style. Return true if successful.
Definition: Menu.cpp:127
Urho3D::LinkedList::Erase
bool Erase(T *element)
Erase an element. Return true if successful.
Definition: LinkedList.h:119
Urho3D::Button::repeatTimer_
float repeatTimer_
Repeat timer.
Definition: Button.h:104
Urho3D::Terrain::east_
WeakPtr< Terrain > east_
East neighbor terrain.
Definition: Terrain.h:265
Urho3D::UIElement::SetHorizontalAlignment
void SetHorizontalAlignment(HorizontalAlignment align)
Set horizontal alignment.
Definition: UIElement.cpp:676
Urho3D::Image::PrecalculateLevels
void PrecalculateLevels()
Precalculate the mip levels. Used by asynchronous texture loading.
Definition: Image.cpp:2289
Urho3D::UIElement::SetVar
void SetVar(StringHash key, const Variant &value)
Set a user variable.
Definition: UIElement.cpp:1439
Urho3D::Graphics::hardwareShadowSupport_
bool hardwareShadowSupport_
Hardware shadow map depth compare support flag.
Definition: Graphics.h:753
Urho3D::UIElement::indent_
int indent_
Horizontal indentation.
Definition: UIElement.h:734
Urho3D::CrowdManager::GetCrowd
dtCrowd * GetCrowd() const
Get the internal detour crowd component.
Definition: CrowdManager.h:172
Urho3D::LuaScriptEventInvoker::LuaScriptEventInvoker
LuaScriptEventInvoker(Context *context)
Construct.
Definition: LuaScriptEventInvoker.cpp:34
Urho3D::NavigationMesh::GetNavigationDataAttr
virtual PODVector< unsigned char > GetNavigationDataAttr() const
Return navigation data attribute.
Definition: NavigationMesh.cpp:927
Urho3D::AnimatedSprite2D::SetAnimationAttr
void SetAnimationAttr(const String &name)
Set animation by name.
Definition: AnimatedSprite2D.cpp:227
Urho3D::TileMapLayer2D::nodes_
Vector< SharedPtr< Node > > nodes_
Tile node or image nodes.
Definition: TileMapLayer2D.h:127
Urho3D::DecalSet::indexBuffer_
SharedPtr< IndexBuffer > indexBuffer_
Index buffer.
Definition: DecalSet.h:223
Urho3D::Resource::SetAsyncLoadState
void SetAsyncLoadState(AsyncLoadState newState)
Set the asynchronous loading state. Called by ResourceCache. Resources in the middle of asynchronous ...
Definition: Resource.cpp:115
Urho3D::Clamp
T Clamp(T value, T min, T max)
Clamp a number to a range.
Definition: MathDefs.h:120
Urho3D::Button::OnKey
void OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers) override
React to a key press.
Definition: Button.cpp:147
Urho3D::RigidBody::SetAngularRestThreshold
void SetAngularRestThreshold(float threshold)
Set angular velocity deactivation threshold.
Definition: RigidBody.cpp:356
Urho3D::ParticleEffect::GetMinParticleSize
const Vector2 & GetMinParticleSize() const
Return particle minimum size.
Definition: ParticleEffect.h:281
Urho3D::Text3D::SetFontSize
bool SetFontSize(float size)
Set font size only while retaining the existing font. Return true if successful.
Definition: Text3D.cpp:212
Urho3D::LineEdit::SetMaxLength
void SetMaxLength(unsigned length)
Set maximum text length. 0 for unlimited.
Definition: LineEdit.cpp:511
Urho3D::Renderer::defaultLightRamp_
SharedPtr< Texture2D > defaultLightRamp_
Default range attenuation texture.
Definition: Renderer.h:492
Urho3D::Drawable::GetMaxLights
unsigned GetMaxLights() const
Return maximum number of per-pixel lights.
Definition: Drawable.h:207
Urho3D::CharLocation::size_
Vector2 size_
Size.
Definition: Text.h:52
Urho3D::StaticSprite2D::GetFlipY
bool GetFlipY() const
Return flip Y.
Definition: StaticSprite2D.h:92
Urho3D::FlagSet::Enum
E Enum
Enum type.
Definition: FlagSet.h:50
Urho3D::String::buffer_
char * buffer_
String buffer, point to &endZero if buffer is not allocated.
Definition: Str.h:548
Urho3D::TileMap2D::info_
TileMapInfo2D info_
Tile map information.
Definition: TileMap2D.h:81
Urho3D::ConstraintWeld2D::GetAnchor
const Vector2 & GetAnchor() const
Return anchor.
Definition: ConstraintWeld2D.h:51
Urho3D::ScrollView::ScrollSmooth
void ScrollSmooth(float timeStep)
Handle the scroll smoothing.
Definition: ScrollView.cpp:624
Urho3D::Font::ReleaseFaces
void ReleaseFaces()
Release font faces and recreate them next time when requested. Called when font textures lost or glob...
Definition: Font.cpp:187
Urho3D::PackageEntry::offset_
unsigned offset_
Offset from the beginning.
Definition: PackageFile.h:34
Urho3D::View::ExecuteRenderPathCommands
void ExecuteRenderPathCommands()
Execute render commands.
Definition: View.cpp:1450
Urho3D::Camera::SetProjectionOffset
void SetProjectionOffset(const Vector2 &offset)
Set projection offset. It needs to be calculated as (offset in pixels) / (viewport dimensions).
Definition: Camera.cpp:209
Urho3D::TerrainPatch::SetBoundingBox
void SetBoundingBox(const BoundingBox &box)
Set local-space bounding box.
Definition: TerrainPatch.cpp:232
Urho3D::Matrix3::Transpose
Matrix3 Transpose() const
Return transposed.
Definition: Matrix3.h:213
Urho3D::Viewport::GetView
View * GetView() const
Return the internal rendering structure. May be null if the viewport has not been rendered yet.
Definition: Viewport.cpp:132
Urho3D::ConstraintPrismatic2D::GetAnchor
const Vector2 & GetAnchor() const
Return anchor.
Definition: ConstraintPrismatic2D.h:61
Urho3D::Matrix3x4::RotationMatrix
Matrix3 RotationMatrix() const
Return the rotation matrix with scaling removed.
Definition: Matrix3x4.h:591
Urho3D::HashMap::Iterator::operator*
KeyValue & operator*() const
Dereference the pair.
Definition: HashMap.h:152
Urho3D::TmxFile2D::info_
TileMapInfo2D info_
Tile map information.
Definition: TmxFile2D.h:218
Urho3D::PhysicsWorld2D::GetDrawAabb
bool GetDrawAabb() const
Return draw aabb.
Definition: PhysicsWorld2D.h:171
Urho3D::Skeleton::GetNumBones
unsigned GetNumBones() const
Return number of bones.
Definition: Skeleton.h:114
Urho3D::Vector4::Vector4
Vector4(const float *data) noexcept
Construct from a float array.
Definition: Vector4.h:65
Urho3D::Font::GetFontType
FontType GetFontType() const
Return font type.
Definition: Font.h:73
Urho3D::ConstraintGear2D::SetOwnerConstraint
void SetOwnerConstraint(Constraint2D *constraint)
Set owner constraint.
Definition: ConstraintGear2D.cpp:53
Urho3D::RaycastVehicle::PostUpdate
void PostUpdate(float timeStep) override
Perform variable step post-update.
Definition: RaycastVehicle.cpp:303
Urho3D::Drawable2D
Base class for 2D visible components.
Definition: Drawable2D.h:69
Urho3D::LineEdit::OnDragDropFinish
bool OnDragDropFinish(UIElement *source) override
React to drag and drop finish. Return true to signal that the drop was accepted.
Definition: LineEdit.cpp:178
Urho3D::ObjectAnimation
Object animation class, an object animation include one or more attribute animations and theirs wrap ...
Definition: ObjectAnimation.h:37
Urho3D::Vector::DoEraseElements
Iterator DoEraseElements(unsigned pos, unsigned count)
Erase elements from the vector.
Definition: Vector.h:664
Urho3D::Sprite::Sprite
Sprite(Context *context)
Construct.
Definition: Sprite.cpp:40
Urho3D::RibbonTrail::sorted_
bool sorted_
Tails sorted flag.
Definition: RibbonTrail.h:182
Urho3D::Octant::Initialize
void Initialize(const BoundingBox &box)
Initialize bounding box.
Definition: Octree.cpp:221
Urho3D::VariantValue::VariantValue
VariantValue()
Construct uninitialized.
Definition: Variant.h:314
Urho3D::Window::dragBeginSize_
IntVector2 dragBeginSize_
Original size at drag begin.
Definition: Window.h:157
Urho3D::String::MIN_CAPACITY
static const unsigned MIN_CAPACITY
Initial dynamic allocation size.
Definition: Str.h:511
Urho3D::Node::HasTag
bool HasTag(const String &tag) const
Return whether has a specific tag.
Definition: Node.cpp:1378
Urho3D::VertexElement
Vertex element description for arbitrary vertex declarations.
Definition: GraphicsDefs.h:183
Urho3D::CrowdManager::FindPath
void FindPath(PODVector< Vector3 > &dest, const Vector3 &start, const Vector3 &end, int queryFilterType)
Find a path between world space points using the crowd initialized query extent (based on maxAgentRad...
Definition: CrowdManager.cpp:405
Urho3D::Scene::NodeRemoved
void NodeRemoved(Node *node)
Node removed. Remove from ID map.
Definition: Scene.cpp:979
Urho3D::ResourceWithMetadata::RemoveAllMetadata
void RemoveAllMetadata()
Remove all metadata variables.
Definition: Resource.cpp:146
Urho3D::ParticleEffect::GetDampingForce
float GetDampingForce() const
Return particle velocity damping force.
Definition: ParticleEffect.h:266
Urho3D::UI::GetDragBeginDistance
int GetDragBeginDistance() const
Return UI drag start event distance threshold in pixels.
Definition: UI.h:182
Urho3D::UIElement::SetTraversalMode
void SetTraversalMode(TraversalMode traversalMode)
Set traversal mode for rendering. The default traversal mode is TM_BREADTH_FIRST for non-root element...
Definition: UIElement.cpp:1449
Urho3D::Terrain::patches_
Vector< WeakPtr< TerrainPatch > > patches_
Terrain patches.
Definition: Terrain.h:255
Urho3D::Graphics::SetShaderCacheDir
void SetShaderCacheDir(const String &path)
Set shader cache directory, Direct3D only. This can either be an absolute path or a path within the r...
Definition: Graphics.cpp:378
Urho3D::AnimatedModel::SetModel
void SetModel(Model *model, bool createBones=true)
Set model.
Definition: AnimatedModel.cpp:332
Urho3D::AnimationControl::setTimeRev_
unsigned char setTimeRev_
Set time command revision.
Definition: AnimationController.h:76
Urho3D::NavigationMesh::FindPath
void FindPath(PODVector< Vector3 > &dest, const Vector3 &start, const Vector3 &end, const Vector3 &extents=Vector3::ONE, const dtQueryFilter *filter=nullptr)
Find a path between world space points. Return non-empty list of points if successful....
Definition: NavigationMesh.cpp:653
Urho3D::ConstraintMotor2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintMotor2D.cpp:46
Urho3D::CollisionShape::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: CollisionShape.cpp:503
Urho3D::Plane::ToVector4
Vector4 ToVector4() const
Return as a vector.
Definition: Plane.h:115
Urho3D::RenderPath::ToggleEnabled
void ToggleEnabled(const String &tag)
Toggle enabled state of commands and rendertargets by tag.
Definition: RenderPath.cpp:412
Urho3D::Deserializer::ReadStringVector
StringVector ReadStringVector()
Read a string vector.
Definition: Deserializer.cpp:406
Urho3D::JSONValue
JSON value class.
Definition: JSONValue.h:74
Urho3D::XMLElement::SetMatrix3
bool SetMatrix3(const String &name, const Matrix3 &value)
Set a Matrix3 attribute.
Definition: XMLElement.cpp:548
Urho3D::TM_DEPTH_FIRST
@ TM_DEPTH_FIRST
Traverse through each child and its children immediately after in sequence.
Definition: UIElement.h:101
Urho3D::Rect::Clip
void Clip(const Rect &rect)
Clip with another rect.
Definition: Rect.cpp:88
Urho3D::Drawable::GetMinZ
float GetMinZ() const
Return the minimum view-space depth.
Definition: Drawable.h:284
Urho3D::EventReceiverGroup::Remove
void Remove(Object *object)
Remove receiver. Leave holes during send, which requires later cleanup.
Definition: Context.cpp:86
Urho3D::WeakArrayPtr::WeakArrayPtr
WeakArrayPtr(const WeakArrayPtr< T > &rhs)
Copy-construct from another weak array pointer.
Definition: ArrayPtr.h:242
Urho3D::Network::AttemptNATPunchtrough
void AttemptNATPunchtrough(const String &guid, Scene *scene, const VariantMap &identity=Variant::emptyVariantMap)
Attempt to connect to NAT server.
Definition: Network.cpp:492
Urho3D::Material::SetTexture
void SetTexture(TextureUnit unit, Texture *texture)
Set texture.
Definition: Material.cpp:1032
Urho3D::DropDownList::GetSelection
unsigned GetSelection() const
Return selection index, or M_MAX_UNSIGNED if none selected.
Definition: DropDownList.cpp:213
Urho3D::NavBuildData::indices_
PODVector< int > indices_
Triangle indices from geometries.
Definition: NavBuildData.h:66
Urho3D::RenderTargetInfo::size_
Vector2 size_
Absolute size or multiplier.
Definition: RenderPath.h:80
Urho3D::ConstraintPulley2D::SetOtherBodyGroundAnchor
void SetOtherBodyGroundAnchor(const Vector2 &groundAnchor)
Set other body ground anchor point.
Definition: ConstraintPulley2D.cpp:75
Urho3D::LineEdit::textSelectable_
bool textSelectable_
Text selectable flag.
Definition: LineEdit.h:154
Urho3D::Geometry::GetNumVertexBuffers
unsigned GetNumVertexBuffers() const
Return number of vertex buffers.
Definition: Geometry.h:74
Urho3D::CollisionShape2D::GetMass
float GetMass() const
Return mass.
Definition: CollisionShape2D.cpp:255
Urho3D::VertexElement::semantic_
VertexElementSemantic semantic_
Semantic of element.
Definition: GraphicsDefs.h:214
Urho3D::Color::Color
Color(float r, float g, float b) noexcept
Construct from RGB values and set alpha fully opaque.
Definition: Color.h:75
Urho3D::NavigationMesh::areas_
Vector< WeakPtr< NavArea > > areas_
NavAreas for this NavMesh.
Definition: NavigationMesh.h:354
Urho3D::JSONValue::GetNumberTypeFromName
static JSONNumberType GetNumberTypeFromName(const String &typeName)
Return a number type from name; NaN if unrecognized.
Definition: JSONValue.cpp:643
Urho3D::XMLElement::GetAttributeUpper
String GetAttributeUpper(const String &name) const
Return attribute in lowercase, or empty if missing.
Definition: XMLElement.cpp:726
Urho3D::Camera::fillMode_
FillMode fillMode_
Fill mode.
Definition: Camera.h:266
Urho3D::TileMapLayer2D::imageLayer_
const TmxImageLayer2D * imageLayer_
Image layer.
Definition: TileMapLayer2D.h:121
Urho3D::Camera::SetClipPlaneAttr
void SetClipPlaneAttr(const Vector4 &value)
Set clipping plane attribute.
Definition: Camera.cpp:621
Urho3D::Graphics::GetBlendMode
BlendMode GetBlendMode() const
Return blending mode.
Definition: Graphics.h:501
Urho3D::WorkItem::aux_
void * aux_
Auxiliary data pointer.
Definition: WorkQueue.h:55
Urho3D::AnimationController::SetWeight
bool SetWeight(const String &name, float weight)
Set animation weight. Return true on success.
Definition: AnimationController.cpp:359
Urho3D::Font::GetScaledGlyphOffset
const Vector2 & GetScaledGlyphOffset() const
Return point size scaled position adjustment for glyphs.
Definition: Font.h:82
Urho3D::Polyhedron::Polyhedron
Polyhedron(const Vector< PODVector< Vector3 > > &faces)
Construct from a list of faces.
Definition: Polyhedron.h:52
Urho3D::UIComponent::SetViewportIndex
void SetViewportIndex(unsigned int index)
Set index of viewport to be used for screen coordinate translation.
Definition: UIComponent.cpp:241
Urho3D::Localization::languages_
Vector< String > languages_
Language names.
Definition: Localization.h:71
Urho3D::Viewport::GetScene
Scene * GetScene() const
Return scene.
Definition: Viewport.cpp:117
Urho3D::EventHandler::eventType_
StringHash eventType_
Event type.
Definition: Object.h:291
Urho3D::RenderSurface::CreateRenderBuffer
bool CreateRenderBuffer(unsigned width, unsigned height, unsigned format, int multiSample)
Create renderbuffer that cannot be sampled as a texture. Only used on OpenGL.
Definition: OGLRenderSurface.cpp:52
Urho3D::Sound::compressed_
bool compressed_
Compressed flag.
Definition: Sound.h:132
Urho3D::VertexBuffer::GetBufferHash
unsigned long long GetBufferHash(unsigned streamIndex)
Return buffer hash for building vertex declarations. Used internally.
Definition: VertexBuffer.h:112
Urho3D::Sprite::GetImageRect
const IntRect & GetImageRect() const
Return image rectangle.
Definition: Sprite.h:98
Urho3D::Node::AddTags
void AddTags(const String &tags, char separator=';')
Add tags with the specified separator (; by default).
Definition: Node.cpp:378
Urho3D::Texture2DArray::layerMemoryUse_
PODVector< unsigned > layerMemoryUse_
Memory use per layer.
Definition: Texture2DArray.h:90
Urho3D::ParticleEffect2D::finishColor_
Color finishColor_
Finish color.
Definition: ParticleEffect2D.h:290
Urho3D::HttpRequest::Read
unsigned Read(void *dest, unsigned size) override
Read response data from the HTTP connection and return number of bytes actually read....
Definition: HttpRequest.cpp:209
Urho3D::GraphicsImpl::enabledVertexAttributes_
unsigned enabledVertexAttributes_
Enabled vertex attributes bitmask.
Definition: OGLGraphicsImpl.h:118
Urho3D::SoundSource::SetPositionAttr
void SetPositionAttr(int value)
Set sound position attribute.
Definition: SoundSource.cpp:492
Urho3D::Graphics::sRGBWriteSupport_
bool sRGBWriteSupport_
sRGB conversion on write support flag.
Definition: Graphics.h:759
Urho3D::SoundSource::SetSoundAttr
void SetSoundAttr(const ResourceRef &value)
Set sound attribute.
Definition: SoundSource.cpp:466
Urho3D::ParticleEffect2D::speedVariance_
float speedVariance_
Speed variance.
Definition: ParticleEffect2D.h:266
Urho3D::Zone::heightFog_
bool heightFog_
Height fog mode flag.
Definition: Zone.h:140
Urho3D::ShaderPrecache::usedPtrCombinations_
HashSet< Pair< ShaderVariation *, ShaderVariation * > > usedPtrCombinations_
Already encountered shader combinations, pointer version for fast queries.
Definition: ShaderPrecache.h:58
Urho3D::Console::IsVisible
bool IsVisible() const
Return whether is visible.
Definition: Console.cpp:290
Urho3D::String::Replace
void Replace(char replaceThis, char replaceWith, bool caseSensitive=true)
Replace all occurrences of a character.
Definition: Str.cpp:230
Urho3D::Audio::~Audio
~Audio() override
Destruct. Terminate the audio thread and free the audio buffer.
Definition: Audio.cpp:69
Urho3D::Component::AddReplicationState
void AddReplicationState(ComponentReplicationState *state)
Add a replication state that is tracking this component.
Definition: Component.cpp:160
Urho3D::BillboardSet::scaled_
bool scaled_
Scale affects billboard scale flag.
Definition: BillboardSet.h:164
Urho3D::HttpRequest::writePosition_
unsigned writePosition_
Read buffer write cursor.
Definition: HttpRequest.h:105
Urho3D::IKSolver::TARGET_ROTATIONS
@ TARGET_ROTATIONS
When enabled, the effector will try to match the target's rotation as well as the effectors position....
Definition: IKSolver.h:85
Urho3D::Input::SaveGesture
bool SaveGesture(Serializer &dest, unsigned gestureID)
Save a specific in-memory touch gesture to a file. Return true if successful.
Definition: Input.cpp:1232
Urho3D::Animatable::OnAttributeAnimationRemoved
virtual void OnAttributeAnimationRemoved()=0
Handle attribute animation removed.
Urho3D::Drawable::SetZoneMask
void SetZoneMask(unsigned mask)
Set zone mask. Is and'ed with zone's zone mask to see if the object should belong to the zone.
Definition: Drawable.cpp:209
Urho3D::ScrollView::scrollSnapEpsilon_
float scrollSnapEpsilon_
Scroll snap epsilon.
Definition: ScrollView.h:179
Urho3D::Graphics::GetInstancingSupport
bool GetInstancingSupport() const
Return whether hardware instancing is supported.
Definition: Graphics.h:417
Urho3D::Log::timeStamp_
bool timeStamp_
Timestamp log messages flag.
Definition: Log.h:126
Urho3D::RenderPathCommand::GetShaderParameter
const Variant & GetShaderParameter(const String &name) const
Return shader parameter.
Definition: RenderPath.cpp:293
Urho3D::ShaderParameter
Shader parameter definition.
Definition: ShaderVariation.h:38
Urho3D::Drawable::ProcessRayQuery
virtual void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results)
Process octree raycast. May be called from a worker thread.
Definition: Drawable.cpp:118
Urho3D::Tile2D::gid_
unsigned gid_
Gid.
Definition: TileMapDefs2D.h:157
Urho3D::Drawable2D::OnDrawOrderChanged
virtual void OnDrawOrderChanged()=0
Handle draw order changed.
Urho3D::ValueAnimation::IsValid
bool IsValid() const
Return animation is valid.
Definition: ValueAnimation.cpp:334
Urho3D::Console::historyRows_
unsigned historyRows_
Command history maximum rows.
Definition: Console.h:168
Urho3D::Connection::SetPosition
void SetPosition(const Vector3 &position)
Set the observer position for interest management, to be sent to the server.
Definition: Connection.cpp:230
Urho3D::ConstraintPulley2D::ConstraintPulley2D
ConstraintPulley2D(Context *context)
Construct.
Definition: ConstraintPulley2D.cpp:37
Urho3D::SoundStream::frequency_
unsigned frequency_
Default frequency.
Definition: SoundStream.h:70
Urho3D::PListFile::GetRoot
const PListValueMap & GetRoot() const
Return root.
Definition: PListFile.h:158
Urho3D::Scene::UnregisterAllVars
void UnregisterAllVars()
Clear all registered node user variable hash reverse mappings.
Definition: Scene.cpp:701
Urho3D::ScrollView::GetScrollBarsAutoVisible
bool GetScrollBarsAutoVisible() const
Return whether scrollbars are automatically shown/hidden.
Definition: ScrollView.h:107
Urho3D::Serializable::IsTemporary
bool IsTemporary() const
Return whether is temporary.
Definition: Serializable.h:125
Urho3D::TmxFile2D::SetSpriteTextureEdgeOffset
void SetSpriteTextureEdgeOffset(float offset)
Set texture edge offset for all sprites, in pixels.
Definition: TmxFile2D.cpp:590
Urho3D::Renderer2D::indexBuffer_
SharedPtr< IndexBuffer > indexBuffer_
Index buffer.
Definition: Renderer2D.h:117
Urho3D::CollisionChain2D::SetVerticesAttr
void SetVerticesAttr(const PODVector< unsigned char > &value)
Set vertices attribute.
Definition: CollisionChain2D.cpp:95
Urho3D::CollisionBox2D::RecreateFixture
void RecreateFixture()
Recreate fixture.
Definition: CollisionBox2D.cpp:110
Urho3D::Material::shadowCullMode_
CullMode shadowCullMode_
Culling mode for shadow rendering.
Definition: Material.h:299
Urho3D::XMLElement::AppendChild
bool AppendChild(XMLElement element, bool asCopy=false)
Append element. If asCopy is set to true then original element is copied and appended,...
Definition: XMLElement.cpp:127
Urho3D::CollisionEdge2D::SetVertices
void SetVertices(const Vector2 &vertex1, const Vector2 &vertex2)
Set vertices.
Definition: CollisionEdge2D.cpp:71
Urho3D::NetworkState::previousValues_
Vector< Variant > previousValues_
Previous network attribute values.
Definition: ReplicationState.h:128
Urho3D::FileSelector::GetTitle
const String & GetTitle() const
Return window title.
Definition: FileSelector.cpp:256
Urho3D::PhysicsWorld2D::scene_
WeakPtr< Scene > scene_
Extra weak pointer to scene to allow for cleanup in case the world is destroyed before other componen...
Definition: PhysicsWorld2D.h:229
Urho3D::UIElement::GetOpacity
float GetOpacity() const
Return opacity.
Definition: UIElement.h:484
Urho3D::Model::morphRangeCounts_
PODVector< unsigned > morphRangeCounts_
Vertex buffer morph range vertex count.
Definition: Model.h:224
Urho3D::Vector::Push
void Push(const Vector< T > &vector)
Add another vector at the end.
Definition: Vector.h:276
Urho3D::Object::GetContext
Context * GetContext() const
Return execution context.
Definition: Object.h:144
Urho3D::Quaternion::Normalized
Quaternion Normalized() const
Return normalized to unit length.
Definition: Quaternion.h:339
Urho3D::RibbonTrail::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: RibbonTrail.cpp:128
Urho3D::Matrix2::ToString
String ToString() const
Return as string.
Definition: Matrix2.cpp:53
Urho3D::RaycastVehicle::FORWARD_UP_RIGHT
static const IntVector3 FORWARD_UP_RIGHT
(2, 1, 0) coordinate system.
Definition: RaycastVehicle.h:182
Urho3D::AsyncProgress::totalNodes_
unsigned totalNodes_
Total root-level nodes.
Definition: Scene.h:83
Urho3D::FontGlyph::offsetY_
float offsetY_
Glyph Y offset from origin.
Definition: FontFace.h:54
Urho3D::IndexBuffer::GetUsedVertexRange
bool GetUsedVertexRange(unsigned start, unsigned count, unsigned &minVertex, unsigned &vertexCount)
Return used vertex range from index range.
Definition: IndexBuffer.cpp:92
Urho3D::Bone::collisionMask_
BoneCollisionShapeFlags collisionMask_
Supported collision types.
Definition: Skeleton.h:76
Urho3D::Matrix3::Matrix3
Matrix3(const float *data) noexcept
Construct from a float array.
Definition: Matrix3.h:68
Urho3D::Variant::~Variant
~Variant()
Destruct.
Definition: Variant.h:554
Urho3D::Node::SetPosition2D
void SetPosition2D(const Vector2 &position)
Set position in parent space (for Urho2D).
Definition: Node.h:136
Urho3D::CollisionPolygon2D
2D polygon collision component.
Definition: CollisionPolygon2D.h:31
Urho3D::Material::SetTechnique
void SetTechnique(unsigned index, Technique *tech, MaterialQuality qualityLevel=QUALITY_LOW, float lodDistance=0.0f)
Set technique.
Definition: Material.cpp:926
Urho3D::Font::absoluteOffset_
IntVector2 absoluteOffset_
Absolute position adjustment for glyphs.
Definition: Font.h:105
Urho3D::ConstraintType
ConstraintType
Supported constraint types.
Definition: Constraint.h:36
Urho3D::Text::GetCharPosition
Vector2 GetCharPosition(unsigned index)
Return position of character by index relative to the text element origin.
Definition: Text.cpp:419
Urho3D::Input::SetMouseModeAbsolute
void SetMouseModeAbsolute(SDL_bool enable)
Set SDL mouse mode absolute.
Definition: Input.cpp:829
Urho3D::Renderer::shadersChangedFrameNumber_
unsigned shadersChangedFrameNumber_
Frame number on which shaders last changed.
Definition: Renderer.h:582
Urho3D::MutexLock::~MutexLock
~MutexLock()
Destruct. Release the mutex.
Definition: Mutex.cpp:112
Urho3D::CursorShapeInfo::CursorShapeInfo
CursorShapeInfo()
Construct with defaults.
Definition: Cursor.h:58
Urho3D::NamedPipe::GetName
const String & GetName() const override
Return the pipe name.
Definition: NamedPipe.h:58
Urho3D::VertexBuffer::GetVertexSize
unsigned GetVertexSize() const
Return vertex size in bytes.
Definition: VertexBuffer.h:79
Urho3D::HashMap::Insert
Iterator Insert(const Pair< T, U > &pair)
Insert a pair. Return an iterator to it.
Definition: HashMap.h:370
Urho3D::Text3D::GetOpacity
float GetOpacity() const
Return opacity.
Definition: Text3D.cpp:503
Urho3D::Connection::GetPacketsInPerSec
int GetPacketsInPerSec() const
Return packets received per second.
Definition: Connection.cpp:1111
Urho3D::Component::CleanupConnection
void CleanupConnection(Connection *connection)
Clean up all references to a network connection that is about to be removed.
Definition: Component.cpp:214
Urho3D::IntRect::Left
int Left() const
Return left coordinate.
Definition: Rect.h:449
Urho3D::CompressedLevel
Compressed image mip level.
Definition: Image.h:55
Urho3D::Scene::SaveJSON
bool SaveJSON(Serializer &dest, const String &indentation="\t") const
Save to a JSON file. Return true if successful.
Definition: Scene.cpp:285
Urho3D::Serializer::WriteVariantVector
bool WriteVariantVector(const VariantVector &value)
Write a variant vector.
Definition: Serializer.cpp:335
Urho3D::Menu::SetPopupOffset
void SetPopupOffset(const IntVector2 &offset)
Set popup element offset.
Definition: Menu.cpp:281
Urho3D::XMLFile::GetRoot
XMLElement GetRoot(const String &name=String::EMPTY)
Return the root element, with optionally specified name. Return null element if not found.
Definition: XMLFile.cpp:171
Urho3D::XMLElement::SetInt64
bool SetInt64(const String &name, long long value)
Set a long long integer attribute.
Definition: XMLElement.cpp:377
Urho3D::LuaScriptInstance::OnSetAttribute
void OnSetAttribute(const AttributeInfo &attr, const Variant &src) override
Handle attribute write access.
Definition: LuaScriptInstance.cpp:95
Urho3D::IndexBuffer::discardLock_
bool discardLock_
Discard lock flag. Used by OpenGL only.
Definition: IndexBuffer.h:117
Urho3D::Zone::fogHeight_
float fogHeight_
Fog height distance.
Definition: Zone.h:160
Urho3D::View::GetRenderSurfaceFromTexture
RenderSurface * GetRenderSurfaceFromTexture(Texture *texture, CubeMapFace face=FACE_POSITIVE_X)
Helper function to get the render surface from a texture. 2D textures will always return the first fa...
Definition: View.cpp:3155
Urho3D::Texture2DArray::SetLayers
void SetLayers(unsigned layers)
Set the number of layers in the texture. To be used before SetData.
Definition: Texture2DArray.cpp:146
Urho3D::Text::GetFont
Font * GetFont() const
Return font.
Definition: Text.h:130
Urho3D::LightType
LightType
Light types.
Definition: Light.h:39
Urho3D::Node
Scene node that may contain components and child nodes.
Definition: Node.h:75
Urho3D::SharedArrayPtr::Reset
void Reset()
Reset to null and release the array reference.
Definition: ArrayPtr.h:132
Urho3D::Object::blockEvents_
bool blockEvents_
Block object from sending and receiving any events.
Definition: Object.h:193
Urho3D::List::Front
T & Front()
Return first element.
Definition: List.h:406
Urho3D::Resource::BeginLoad
virtual bool BeginLoad(Deserializer &source)
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Resource.cpp:69
Urho3D::Renderer::shadowMapFilter_
ShadowMapFilter shadowMapFilter_
Function pointer of shadow map filter.
Definition: Renderer.h:512
Urho3D::Geometry::GetVertexCount
unsigned GetVertexCount() const
Return number of used vertices.
Definition: Geometry.h:95
Urho3D::View3D::rttFormat_
unsigned rttFormat_
Render texture format.
Definition: View3D.h:97
Urho3D::Material::SetOcclusion
void SetOcclusion(bool enable)
Set whether to use in occlusion rendering. Default true.
Definition: Material.cpp:1110
Urho3D::Technique::HasPass
bool HasPass(unsigned passIndex) const
Return whether has a pass.
Definition: Technique.h:225
Urho3D::Spriter::SpriterInstance::entity_
Entity * entity_
Current entity.
Definition: SpriterInstance2D.h:97
Urho3D::Renderer::GetNumViewports
unsigned GetNumViewports() const
Return number of backbuffer viewports.
Definition: Renderer.h:256
Urho3D::ParticleEffect::rotationMax_
float rotationMax_
Particle rotation angle maximum.
Definition: ParticleEffect.h:409
Urho3D::Component::OnAttributeAnimationAdded
void OnAttributeAnimationAdded() override
Handle attribute animation added.
Definition: Component.cpp:226
Urho3D::Connection::GetControls
const Controls & GetControls() const
Return the client controls of this connection.
Definition: Connection.h:183
Urho3D::Texture::GetAddressMode
TextureAddressMode GetAddressMode(TextureCoordinate coord) const
Return addressing mode by texture coordinate.
Definition: Texture.h:94
Urho3D::Light::GetColor
const Color & GetColor() const
Return color.
Definition: Light.h:223
Urho3D::LinkedList::LinkedList
LinkedList()
Construct empty.
Definition: LinkedList.h:53
Urho3D::Light::GetLightType
LightType GetLightType() const
Return light type.
Definition: Light.h:217
Urho3D::IntVector3::ZERO
static const IntVector3 ZERO
Zero vector.
Definition: Vector3.h:166
Urho3D::SoundSource::soundType_
String soundType_
SoundSource type, determines the master gain group.
Definition: SoundSource.h:132
Urho3D::MessageBox::GetMessage
const String & GetMessage() const
Return message text. Return empty string if there is no message text element.
Definition: MessageBox.cpp:131
Urho3D::RigidBody2D::ApplyAngularImpulse
void ApplyAngularImpulse(float impulse, bool wake)
Apply angular impulse.
Definition: RigidBody2D.cpp:359
Urho3D::ValueAnimation::SetKeyFrame
bool SetKeyFrame(float time, const Variant &value)
Set key frame.
Definition: ValueAnimation.cpp:274
Urho3D::ResourceWithMetadata::metadata_
VariantMap metadata_
Animation metadata variables.
Definition: Resource.h:145
Urho3D::RaycastVehicle::SetInAirRPM
void SetInAirRPM(float rpm)
Set revolution per minute value for when wheel doesn't touch ground. If set to 0 (or not set),...
Definition: RaycastVehicle.cpp:692
Urho3D::PhysicsWorld2D::SetGravity
void SetGravity(const Vector2 &gravity)
Set gravity.
Definition: PhysicsWorld2D.cpp:408
Urho3D::CollisionCircle2D::SetRadius
void SetRadius(float radius)
Set radius.
Definition: CollisionCircle2D.cpp:58
Urho3D::UI
UI subsystem. Manages the graphical user interface.
Definition: UI.h:60
Urho3D::AnimatedSprite2D::UpdateSourceBatches
void UpdateSourceBatches() override
Handle update vertices.
Definition: AnimatedSprite2D.cpp:233
Urho3D::Resource::GetName
const String & GetName() const
Return name.
Definition: Resource.h:86
Urho3D::StaticModelGroup::worldTransforms_
PODVector< Matrix3x4 > worldTransforms_
World transforms of valid (existing and visible) instances.
Definition: StaticModelGroup.h:88
Urho3D::Sprite2D::Sprite2D
Sprite2D(Context *context)
Construct.
Definition: Sprite2D.cpp:38
Urho3D::ConstraintRevolute2D::SetMotorSpeed
void SetMotorSpeed(float motorSpeed)
Set motor speed.
Definition: ConstraintRevolute2D.cpp:131
Urho3D::TileMap2D::tmxFile_
SharedPtr< TmxFile2D > tmxFile_
Tmx file.
Definition: TileMap2D.h:79
Urho3D::PhysicsWorld2D::GetSubStepping
bool GetSubStepping() const
Return sub stepping.
Definition: PhysicsWorld2D.cpp:695
Urho3D::Window::GetFixedWidthResizing
bool GetFixedWidthResizing() const
Return whether is resizing width is fixed.
Definition: Window.h:107
Urho3D::FontGlyph::x_
short x_
X position in texture.
Definition: FontFace.h:40
Urho3D::PListValue::GetFloat
float GetFloat() const
Return float.
Definition: PListFile.cpp:202
Urho3D::StaticSprite2D::SetDrawRect
void SetDrawRect(const Rect &rect)
Set draw rectangle.
Definition: StaticSprite2D.cpp:98
Urho3D::ListView::FindItem
unsigned FindItem(UIElement *item) const
Return index of item, or M_MAX_UNSIGNED If not found.
Definition: ListView.cpp:845
Urho3D::Serializer::WriteLine
bool WriteLine(const String &value)
Write a text line. Char codes 13 & 10 will be automatically appended.
Definition: Serializer.cpp:399
Urho3D::Camera::aspectRatio_
float aspectRatio_
Aspect ratio.
Definition: Camera.h:256
Urho3D::Object::HasEventHandlers
bool HasEventHandlers() const
Return whether has subscribed to any event.
Definition: Object.h:163
Urho3D::UIElement::OnAttributeAnimationAdded
void OnAttributeAnimationAdded() override
Handle attribute animation added.
Definition: UIElement.cpp:1878
Urho3D::Matrix3x4::Row
Vector4 Row(unsigned i) const
Return matrix row.
Definition: Matrix3x4.h:663
Urho3D::ScriptFile::Execute
bool Execute(const String &declaration, const VariantVector &parameters=Variant::emptyVariantVector, Variant *functionReturn=nullptr, bool unprepare=true)
Query for a function by declaration and execute if found.
Definition: ScriptFile.cpp:293
Urho3D::Lerp
T Lerp(T lhs, T rhs, U t)
Linear interpolation between two values.
Definition: MathDefs.h:75
Urho3D::RigidBody2D::SetAngularDamping
void SetAngularDamping(float angularDamping)
Set angular damping.
Definition: RigidBody2D.cpp:202
Urho3D::Scene::Save
bool Save(Serializer &dest) const override
Save to binary data. Return true if successful.
Definition: Scene.cpp:141
Urho3D::SceneResolver::AddNode
void AddNode(unsigned oldID, Node *node)
Remember a created node.
Definition: SceneResolver.cpp:45
Urho3D::PackageFile::GetName
const String & GetName() const
Return the package file name.
Definition: PackageFile.h:65
Urho3D::AnimatedModel::animationDirty_
bool animationDirty_
Animation dirty flag.
Definition: AnimatedModel.h:245
Urho3D::BoundingBox::BoundingBox
BoundingBox(const Vector3 &min, const Vector3 &max) noexcept
Construct from minimum and maximum vectors.
Definition: BoundingBox.h:68
Urho3D::LuaScriptInstance::HandleUpdate
void HandleUpdate(StringHash eventType, VariantMap &eventData)
Handle the logic update event.
Definition: LuaScriptInstance.cpp:656
Urho3D::CrowdManager::GetNavigationMesh
NavigationMesh * GetNavigationMesh() const
Get the Navigation mesh assigned to the crowd.
Definition: CrowdManager.h:129
Urho3D::Particle2D
2D particle.
Definition: ParticleEmitter2D.h:34
Urho3D::ConstraintMouse2D::SetMaxForce
void SetMaxForce(float maxForce)
Set max force.
Definition: ConstraintMouse2D.cpp:72
Urho3D::CrowdManager::MoveAlongSurface
Vector3 MoveAlongSurface(const Vector3 &start, const Vector3 &end, int queryFilterType, int maxVisited=3)
Try to move along the surface from one point to another using the crowd initialized query extent (bas...
Definition: CrowdManager.cpp:398
Urho3D::Database::connections_
Vector< SharedPtr< DbConnection > > connections_
Active database connections.
Definition: Database.h:71
Urho3D::PhysicsWorld2D::DrawPoint
void DrawPoint(const b2Vec2 &p, float32 size, const b2Color &color) override
Draw a point.
Definition: PhysicsWorld2D.cpp:233
Urho3D::NavigationMesh::padding_
Vector3 padding_
Bounding box padding.
Definition: NavigationMesh.h:338
Urho3D::Renderer::GetDepthStencil
RenderSurface * GetDepthStencil(int width, int height, int multiSample, bool autoResolve)
Allocate a depth-stencil surface that does not need to be readable. Should only be called during actu...
Definition: Renderer.cpp:1089
Urho3D::XPathResultSet::GetXPathNodeSet
pugi::xpath_node_set * GetXPathNodeSet() const
Return pugixml xpath_node_set.
Definition: XMLElement.h:344
Urho3D::ScriptInstance::GetScriptFile
ScriptFile * GetScriptFile() const
Return script file.
Definition: ScriptInstance.h:121
Urho3D::Input::suppressNextMouseMove_
bool suppressNextMouseMove_
Next mouse move suppress flag.
Definition: Input.h:426
Urho3D::Light::SetShadowIntensity
void SetShadowIntensity(float intensity)
Set light intensity in shadow between 0.0 - 1.0. 0.0 (the default) gives fully dark shadows.
Definition: Light.cpp:392
Urho3D::Graphics::GetScissorRect
const IntRect & GetScissorRect() const
Return scissor rectangle coordinates.
Definition: Graphics.h:537
Urho3D::WString::length_
unsigned length_
String length.
Definition: Str.h:623
Urho3D::Slider::UpdateSlider
void UpdateSlider()
Update slider knob position & size.
Definition: Slider.cpp:227
Urho3D::SharedPtr::ptr_
T * ptr_
Pointer to the object.
Definition: Ptr.h:243
Urho3D::UI::UI
UI(Context *context)
Construct.
Definition: UI.cpp:92
Urho3D::Viewport::GetCamera
Camera * GetCamera() const
Return viewport camera.
Definition: Viewport.cpp:122
Urho3D::Model::vertexBuffers_
Vector< SharedPtr< VertexBuffer > > vertexBuffers_
Vertex buffers.
Definition: Model.h:210
Urho3D::PhysicsWorld2D::SetAllowSleeping
void SetAllowSleeping(bool enable)
Set allow sleeping.
Definition: PhysicsWorld2D.cpp:388
Urho3D::ResourceCache::Exists
bool Exists(const String &name) const
Return whether a file exists in the resource directories or package files. Does not check manually ad...
Definition: ResourceCache.cpp:732
Urho3D::ScreenModeParams::refreshRate_
int refreshRate_
Refresh rate. 0 to pick automatically.
Definition: Graphics.h:101
Urho3D::ListView::InsertItem
void InsertItem(unsigned index, UIElement *item, UIElement *parentItem=nullptr)
Insert item at a specific index. In hierarchy mode, the optional parameter will be used to determine ...
Definition: ListView.cpp:350
Urho3D::PhysicsWorld::PhysicsWorld
PhysicsWorld(Context *context)
Construct.
Definition: PhysicsWorld.cpp:147
Urho3D::Pass::ReleaseShaders
void ReleaseShaders()
Reset shader pointers.
Definition: Technique.cpp:171
Urho3D::DecalSet::vertexBuffer_
SharedPtr< VertexBuffer > vertexBuffer_
Vertex buffer.
Definition: DecalSet.h:221
Urho3D::Network::rakPeerClient_
SLNet::RakPeerInterface * rakPeerClient_
SLikeNet peer instance for client connection.
Definition: Network.h:152
Urho3D::PODVector::Push
void Push(const PODVector< T > &vector)
Add another vector at the end.
Definition: Vector.h:851
Urho3D::Text3D::GetWidth
int GetWidth() const
Return text width.
Definition: Text3D.cpp:458
Urho3D::MaterialShaderParameter::value_
Variant value_
Value.
Definition: Material.h:52
Urho3D::Pair::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Pair.h:71
Urho3D::Vector3::ReNormalized
Vector3 ReNormalized(float minLength, float maxLength, const Vector3 &defaultValue=Vector3::ZERO, float eps=M_LARGE_EPSILON) const
Return normalized vector with length in given range.
Definition: Vector3.h:445
Urho3D::BoundingBox::Projected
Rect Projected(const Matrix4 &projection) const
Return projected by a 4x4 projection matrix.
Definition: BoundingBox.cpp:170
Urho3D::Color::r_
float r_
Red value.
Definition: Color.h:256
Urho3D::Sound::LoadRaw
bool LoadRaw(Deserializer &source)
Load raw sound data.
Definition: Sound.cpp:216
Urho3D::AnimatedModel::boneBoundingBox_
BoundingBox boneBoundingBox_
Bounding box calculated from bones.
Definition: AnimatedModel.h:229
Urho3D::ProgressBar::GetOrientation
Orientation GetOrientation() const
Return orientation type.
Definition: ProgressBar.h:63
Urho3D::UpdateEvent
UpdateEvent
Definition: LogicComponent.h:33
Urho3D::RenderTargetInfo::name_
String name_
Name.
Definition: RenderPath.h:74
Urho3D::ScriptInstance::GetScriptObject
asIScriptObject * GetScriptObject() const
Return script object.
Definition: ScriptInstance.h:124
Urho3D::TmxImageLayer2D::GetSource
const String & GetSource() const
Return source.
Definition: TmxFile2D.h:142
Urho3D::Font
Font resource.
Definition: Font.h:48
Urho3D::OffMeshConnection::SetRadius
void SetRadius(float radius)
Set radius.
Definition: OffMeshConnection.cpp:89
Urho3D::Material::occlusion_
bool occlusion_
Render occlusion flag.
Definition: Material.h:315
Urho3D::Constraint2D::GetJointDef
virtual b2JointDef * GetJointDef()
Return joint def.
Definition: Constraint2D.h:85
Urho3D::CollisionShape2D::ApplyNodeWorldScale
virtual void ApplyNodeWorldScale()=0
Apply Node world scale.
Urho3D::TmxTileLayer2D::Load
bool Load(const XMLElement &element, const TileMapInfo2D &info)
Load from XML element.
Definition: TmxFile2D.cpp:97
Urho3D::Image::nextSibling_
SharedPtr< Image > nextSibling_
Next texture array or cube map image.
Definition: Image.h:238
Urho3D::VariantAttributeAccessorImpl
Template implementation of the variant attribute accessor.
Definition: Serializable.h:153
Urho3D::TmxImageLayer2D::source_
String source_
Source.
Definition: TmxFile2D.h:151
Urho3D::CollisionShape2D::~CollisionShape2D
~CollisionShape2D() override
Destruct.
Definition: CollisionShape2D.cpp:46
Urho3D::UIElement::HasTag
bool HasTag(const String &tag) const
Return whether element is tagged by a specific tag.
Definition: UIElement.cpp:1701
Urho3D::FileSystem::SystemRun
int SystemRun(const String &fileName, const Vector< String > &arguments)
Run a specific program, block until it exits and return the exit code. Will fail if any allowed paths...
Definition: FileSystem.cpp:384
Urho3D::BiasParameters
Depth bias parameters. Used both by lights (for shadow mapping) and materials.
Definition: Light.h:56
Urho3D::Drawable::worldBoundingBox_
BoundingBox worldBoundingBox_
World-space bounding box.
Definition: Drawable.h:329
Urho3D::View::GetZone
Zone * GetZone(Drawable *drawable)
Return the drawable's zone, or camera zone if it has override mode enabled.
Definition: View.h:282
Urho3D::RenderPath::IsEnabled
bool IsEnabled(const String &tag) const
Return true of any of render targets or commands with specified tag are enabled.
Definition: RenderPath.cpp:378
Urho3D::SoundSource3D::nearDistance_
float nearDistance_
Near distance.
Definition: SoundSource3D.h:82
Urho3D::Material::lineAntiAlias_
bool lineAntiAlias_
Line antialiasing flag.
Definition: Material.h:313
Urho3D::LogicComponent::Update
virtual void Update(float timeStep)
Called on scene update, variable timestep.
Definition: LogicComponent.cpp:51
Urho3D::XMLElement::SetMatrix4
bool SetMatrix4(const String &name, const Matrix4 &value)
Set a Matrix4 attribute.
Definition: XMLElement.cpp:558
Urho3D::Connection::ProcessNode
void ProcessNode(unsigned nodeID)
Process a node for sending a network update. Recurses to process depended on node(s) first.
Definition: Connection.cpp:1199
Urho3D::Terrain::SetNorthNeighbor
void SetNorthNeighbor(Terrain *north)
Set north (positive Z) neighbor terrain for seamless LOD changes across terrains.
Definition: Terrain.cpp:264
Urho3D::Component::DrawDebugGeometry
virtual void DrawDebugGeometry(DebugRenderer *debug, bool depthTest)
Visualize the component as debug geometry.
Definition: Component.cpp:116
Urho3D::DynamicNavigationMesh::SetMaxLayers
void SetMaxLayers(unsigned maxLayers)
Set the maximum number of layers that navigation construction can create.
Definition: DynamicNavigationMesh.cpp:747
Urho3D::JoystickState::joystick_
SDL_Joystick * joystick_
SDL joystick.
Definition: Input.h:109
Urho3D::Localization::LoadSingleLanguageJSON
void LoadSingleLanguageJSON(const JSONValue &source, const String &language=String::EMPTY)
Load strings from JSONValue for specific language.
Definition: Localization.cpp:217
Urho3D::RigidBody2D::SetBullet
void SetBullet(bool bullet)
Set bullet mode.
Definition: RigidBody2D.cpp:253
Urho3D::Connection::nodesToProcess_
HashSet< unsigned > nodesToProcess_
Node ID's to process during a replication update.
Definition: Connection.h:311
Urho3D::Skeleton::Load
bool Load(Deserializer &source)
Read from a stream. Return true if successful.
Definition: Skeleton.cpp:40
Urho3D::Constraint::position_
Vector3 position_
Constraint position.
Definition: Constraint.h:181
Urho3D::CollisionChain2D::chainShape_
b2ChainShape chainShape_
Chain shape.
Definition: CollisionChain2D.h:75
Urho3D::Plane::d_
float d_
Plane constant.
Definition: Plane.h:122
Urho3D::IsInf
bool IsInf(T value)
Check whether a floating point value is positive or negative infinity.
Definition: MathDefs.h:116
Urho3D::WorkQueue::HandleBeginFrame
void HandleBeginFrame(StringHash eventType, VariantMap &eventData)
Handle frame start event. Purge completed work from the main thread queue, and perform work if no thr...
Definition: WorkQueue.cpp:401
Urho3D::Camera::GetProjectionOffset
const Vector2 & GetProjectionOffset() const
Return projection offset.
Definition: Camera.h:173
Urho3D::HashMap::Iterator::Iterator
Iterator()=default
Construct.
Urho3D::RigidBody2D::bodyDef_
b2BodyDef bodyDef_
Box2D body define.
Definition: RigidBody2D.h:173
Urho3D::Animation::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Animation.cpp:122
Urho3D::Drawable2D::orderInLayer_
int orderInLayer_
Order in layer.
Definition: Drawable2D.h:114
Urho3D::RenderPathCommand::metadata_
String metadata_
Command/pass metadata.
Definition: RenderPath.h:148
Urho3D::Drawable::SetMaxLights
void SetMaxLights(unsigned num)
Set maximum number of per-pixel lights. Default 0 is unlimited.
Definition: Drawable.cpp:217
Urho3D::TmxLayer2D::width_
int width_
Width.
Definition: TmxFile2D.h:81
Urho3D::ScreenModeParams::vsync_
bool vsync_
Whether the vertical synchronization is used.
Definition: Graphics.h:93
Urho3D::SplinePath::controlPoints_
Vector< WeakPtr< Node > > controlPoints_
Control Points for the SplinePath.
Definition: SplinePath.h:140
Urho3D::Console::GetNumBufferedRows
unsigned GetNumBufferedRows() const
Return number of buffered rows.
Definition: Console.cpp:295
Urho3D::PackageEntry::size_
unsigned size_
File size.
Definition: PackageFile.h:36
Urho3D::ShaderVariation::ParseParameters
void ParseParameters(unsigned char *bufData, unsigned bufSize)
Inspect the constant parameters and input layout (if applicable) from the shader bytecode.
Definition: OGLShaderVariation.cpp:201
Urho3D::BillboardSet::minAngle_
float minAngle_
Minimal angle between billboard normal and look-at direction.
Definition: BillboardSet.h:172
Urho3D::Node::WorldToLocal2D
Vector2 WorldToLocal2D(const Vector2 &vector) const
Convert a world space position or rotation to local space (for Urho2D).
Definition: Node.cpp:1216
Urho3D::Engine::timeStepSmoothing_
unsigned timeStepSmoothing_
How many frames to average for the smoothed timestep.
Definition: Engine.h:136
Urho3D::Script::scriptFileContexts_
Vector< asIScriptContext * > scriptFileContexts_
Script function/method execution contexts.
Definition: Script.h:137
Urho3D::CustomVariantValueImpl::Assign
bool Assign(const CustomVariantValue &rhs) override
Assign value.
Definition: Variant.h:242
Urho3D::Animation::~Animation
~Animation() override
Destruct.
Urho3D::UIElement::CalculateLayout
void CalculateLayout(PODVector< int > &positions, PODVector< int > &sizes, const PODVector< int > &minSizes, const PODVector< int > &maxSizes, const PODVector< float > &flexScales, int targetSize, int begin, int end, int spacing)
Calculate child widths/positions in the layout.
Definition: UIElement.cpp:2094
Urho3D::Node::SetParent
void SetParent(Node *parent)
Assign to a new parent scene node. Retains the world transform.
Definition: Node.cpp:1125
Urho3D::Model::morphRangeStarts_
PODVector< unsigned > morphRangeStarts_
Vertex buffer morph range start.
Definition: Model.h:222
Urho3D::Vector2::y_
float y_
Y coordinate.
Definition: Vector2.h:376
Urho3D::BillboardSet::SetFixedScreenSize
void SetFixedScreenSize(bool enable)
Set whether billboards have fixed size on screen (measured in pixels) regardless of distance to camer...
Definition: BillboardSet.cpp:308
Urho3D::SpriteSheet2D::loadJSONFile_
SharedPtr< JSONFile > loadJSONFile_
JSON file used while loading.
Definition: SpriteSheet2D.h:92
Urho3D::JSONValue::emptyObject
static const JSONObject emptyObject
Empty JSON object.
Definition: JSONValue.h:278
Urho3D::AsyncProgress::loadedResources_
unsigned loadedResources_
Loaded resources.
Definition: Scene.h:77
Urho3D::VertexBuffer::SetShadowed
void SetShadowed(bool enable)
Enable shadowing in CPU memory. Shadowing is forced on if the graphics subsystem does not exist.
Definition: VertexBuffer.cpp:52
Urho3D::Zone::IsInside
bool IsInside(const Vector3 &point) const
Check whether a point is inside.
Definition: Zone.cpp:211
Urho3D::BorderImage::GetBlendMode
BlendMode GetBlendMode() const
Return blend mode.
Definition: BorderImage.h:94
Urho3D::ShaderVariation::defines_
String defines_
Defines to use in compiling.
Definition: ShaderVariation.h:172
Urho3D::Node::GetNumComponents
unsigned GetNumComponents() const
Return number of components.
Definition: Node.h:537
Urho3D::Node::HasComponent
bool HasComponent(StringHash type) const
Return whether has a specific component.
Definition: Node.cpp:1363
Urho3D::Console::CopySelectedRows
void CopySelectedRows() const
Copy selected rows to system clipboard.
Definition: Console.cpp:300
Urho3D::Text::selectionStart_
unsigned selectionStart_
Selection start.
Definition: Text.h:235
Urho3D::JSONValue::operator=
JSONValue & operator=(bool rhs)
Assign from a boolean.
Definition: JSONValue.cpp:59
Urho3D::IndexBuffer::indexSize_
unsigned indexSize_
Index size.
Definition: IndexBuffer.h:103
Urho3D::AutoProfileBlock::profiler_
Profiler * profiler_
Profiler.
Definition: Profiler.h:251
Urho3D::TileMap2D::TileIndexToPosition
Vector2 TileIndexToPosition(int x, int y) const
Convert tile index to position.
Definition: TileMap2D.cpp:167
Urho3D::Light::GetShadowBias
const BiasParameters & GetShadowBias() const
Return shadow depth bias parameters.
Definition: Light.h:268
Urho3D::ConstraintGear2D::GetOtherConstraint
Constraint2D * GetOtherConstraint() const
Return other constraint.
Definition: ConstraintGear2D.h:54
Urho3D::Quaternion::YawAngle
float YawAngle() const
Return yaw angle in degrees.
Definition: Quaternion.cpp:209
Urho3D::StaticModel::SetBoundingBox
void SetBoundingBox(const BoundingBox &box)
Set local-space bounding box.
Definition: StaticModel.cpp:359
Urho3D::Text::SetEffectShadowOffset
void SetEffectShadowOffset(const IntVector2 &offset)
Set shadow offset.
Definition: Text.cpp:389
Urho3D::NodeReplicationState::dirtyVars_
HashSet< StringHash > dirtyVars_
Dirty user vars.
Definition: ReplicationState.h:165
Urho3D::Matrix4::SetRotation
void SetRotation(const Matrix3 &rotation)
Set rotation elements from a 3x3 matrix.
Definition: Matrix4.h:490
Urho3D::CustomGeometry::GetLodGeometry
Geometry * GetLodGeometry(unsigned batchIndex, unsigned level) override
Return the geometry for a specific LOD level.
Definition: CustomGeometry.cpp:138
Urho3D::OffMeshConnection::GetRadius
float GetRadius() const
Return radius.
Definition: OffMeshConnection.h:63
Urho3D::RaycastVehicle::ResetSuspension
void ResetSuspension()
Reset all suspension.
Definition: RaycastVehicle.cpp:404
Urho3D::Graphics::GetOrientations
const String & GetOrientations() const
Return allowed screen orientations.
Definition: Graphics.h:396
Urho3D::UIBatch::SetDefaultColor
void SetDefaultColor()
Restore UI element's default color.
Definition: UIBatch.cpp:64
Urho3D::SphereOctreeQuery::SphereOctreeQuery
SphereOctreeQuery(PODVector< Drawable * > &result, const Sphere &sphere, unsigned char drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
Construct with sphere and query parameters.
Definition: OctreeQuery.h:98
Urho3D::ScriptFile::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ScriptFile.cpp:109
Urho3D::ListView::AddSelection
void AddSelection(unsigned index)
Add item to the selection, multiselect mode only.
Definition: ListView.cpp:588
Urho3D::UI::RenderToTextureData::debugDrawBatches_
PODVector< UIBatch > debugDrawBatches_
UI rendering batches for debug draw.
Definition: UI.h:261
Urho3D::Model::GetVertexBuffers
const Vector< SharedPtr< VertexBuffer > > & GetVertexBuffers() const
Return vertex buffers.
Definition: Model.h:158
Urho3D::TrailPoint::TrailPoint
TrailPoint()=default
Construct a zero-initialized TrailPoint.
Urho3D::StaticModel::IsInsideLocal
bool IsInsideLocal(const Vector3 &point) const
Determines if the given local space point is within the model geometry.
Definition: StaticModel.cpp:338
Urho3D::Component::GetComponent
Component * GetComponent(StringHash type) const
Return component in the same scene node by type. If there are several, returns the first.
Definition: Component.cpp:265
Urho3D::RigidBody::ApplyWorldTransform
void ApplyWorldTransform(const Vector3 &newWorldPosition, const Quaternion &newWorldRotation)
Apply new world transform after a simulation step. Called internally.
Definition: RigidBody.cpp:711
Urho3D::Material::loadJSONFile_
SharedPtr< JSONFile > loadJSONFile_
JSON file used while loading.
Definition: Material.h:325
Urho3D::Text::printText_
PODVector< unsigned > printText_
Text modified into printed form.
Definition: Text.h:255
Urho3D::Vector::Vector
Vector(unsigned size, const T &value)
Construct with initial size and default value.
Definition: Vector.h:63
Urho3D::SoundSource3D::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: SoundSource3D.cpp:73
Urho3D::Vector2::LengthSquared
float LengthSquared() const
Return squared length.
Definition: Vector2.h:304
Urho3D::IKSolver::USE_ORIGINAL_POSE
@ USE_ORIGINAL_POSE
Choose between using the original pose or the active pose as a basis for a solution.
Definition: IKSolver.h:148
Urho3D::ConstraintWheel2D::axis_
Vector2 axis_
Axis.
Definition: ConstraintWheel2D.h:88
Urho3D::Matrix3::SetScale
void SetScale(const Vector3 &scale)
Set scaling elements.
Definition: Matrix3.h:177
Urho3D::StaticModel::IsInside
bool IsInside(const Vector3 &point) const
Determines if the given world space point is within the model geometry.
Definition: StaticModel.cpp:329
Urho3D::Node::GetComponent
Component * GetComponent(StringHash type, bool recursive=false) const
Return component by type. If there are several, returns the first.
Definition: Node.cpp:1401
Urho3D::Variant::GetInt
int GetInt() const
Return int or zero on type mismatch. Floats and doubles are converted.
Definition: Variant.h:1087
Urho3D::Text::effectColor_
Color effectColor_
Effect color.
Definition: Text.h:247
Urho3D::Geometry::SetLodDistance
void SetLodDistance(float distance)
Set the LOD distance.
Definition: Geometry.cpp:148
Urho3D::CollisionCircle2D::~CollisionCircle2D
~CollisionCircle2D() override
Destruct.
Urho3D::Node::SetPositionSilent
void SetPositionSilent(const Vector3 &position)
Set position in parent space silently without marking the node & child nodes dirty....
Definition: Node.h:625
Urho3D::ConstraintFriction2D::SetAnchor
void SetAnchor(const Vector2 &anchor)
Set anchor.
Definition: ConstraintFriction2D.cpp:57
Urho3D::Variant::Variant
Variant(int value)
Construct from integer.
Definition: Variant.h:331
Urho3D::Node::GetScale2D
Vector2 GetScale2D() const
Return scale in parent space (for Urho2D).
Definition: Node.h:401
Urho3D::Matrix3x4::Column
Vector3 Column(unsigned j) const
Return matrix column.
Definition: Matrix3x4.h:666
Urho3D::MessageBox::HandleMessageAcknowledged
void HandleMessageAcknowledged(StringHash eventType, VariantMap &eventData)
Handle events that dismiss the message box.
Definition: MessageBox.cpp:136
Urho3D::Sound::GetRepeat
signed char * GetRepeat() const
Return loop start.
Definition: Sound.h:76
Urho3D::TileMap2D::DrawDebugGeometry
void DrawDebugGeometry()
Add debug geometry to the debug renderer.
Definition: TileMap2D.cpp:103
Urho3D::Matrix2::Transpose
Matrix2 Transpose() const
Return transpose.
Definition: Matrix2.h:163
Urho3D::TmxLayer2D::height_
int height_
Height.
Definition: TmxFile2D.h:83
Urho3D::UIElement::SetFixedSize
void SetFixedSize(const IntVector2 &size)
Set fixed size.
Definition: UIElement.cpp:647
Urho3D::Button::repeatDelay_
float repeatDelay_
Repeat delay.
Definition: Button.h:100
Urho3D::DynamicNavigationMesh::GetMaxObstacles
unsigned GetMaxObstacles() const
Return the maximum number of obstacles allowed.
Definition: DynamicNavigationMesh.h:91
Urho3D::CrowdManager::SetObstacleAvoidanceParams
void SetObstacleAvoidanceParams(unsigned obstacleAvoidanceType, const CrowdObstacleAvoidanceParams &params)
Set the params for the specified obstacle avoidance type.
Definition: CrowdManager.cpp:379
Urho3D::Spline::knots_
VariantVector knots_
Knots on the spline.
Definition: Spline.h:123
Urho3D::Scene::taggedNodes_
HashMap< StringHash, PODVector< Node * > > taggedNodes_
Cached tagged nodes by tag.
Definition: Scene.h:292
Urho3D::Matrix3::SignedScale
Vector3 SignedScale(const Matrix3 &rotation) const
Return the scaling part with the sign. Reference rotation matrix is required to avoid ambiguity.
Definition: Matrix3.h:203
Urho3D::Renderer::spotLightGeometry_
SharedPtr< Geometry > spotLightGeometry_
Spot light volume geometry.
Definition: Renderer.h:484
Urho3D::TileMapLayer2D::TileMapLayer2D
TileMapLayer2D(Context *context)
Construct.
Definition: TileMapLayer2D.cpp:39
Urho3D::Graphics::gpuObjectMutex_
Mutex gpuObjectMutex_
Mutex for accessing the GPU objects vector from several threads.
Definition: Graphics.h:708
Urho3D::UI::GetDoubleClickInterval
float GetDoubleClickInterval() const
Return UI element double click interval in seconds.
Definition: UI.h:173
Urho3D::Model::GetMorphRangeStart
unsigned GetMorphRangeStart(unsigned bufferIndex) const
Return vertex buffer morph range start.
Definition: Model.cpp:773
Urho3D::TileMapLayer2D::GetTmxLayer
const TmxLayer2D * GetTmxLayer() const
Return tmx layer.
Definition: TileMapLayer2D.h:70
Urho3D::Geometry::GetIndexBuffer
IndexBuffer * GetIndexBuffer() const
Return the index buffer.
Definition: Geometry.h:80
Urho3D::DelayedWorldTransform2D::worldPosition_
Vector3 worldPosition_
New world position.
Definition: PhysicsWorld2D.h:64
Urho3D::Quaternion::Quaternion
Quaternion(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis) noexcept
Construct from orthonormal axes.
Definition: Quaternion.h:126
Urho3D::TechniqueEntry::qualityLevel_
MaterialQuality qualityLevel_
Quality level.
Definition: Material.h:70
Urho3D::Renderer::GetMobileNormalOffsetMul
float GetMobileNormalOffsetMul() const
Return shadow normal offset multiplier for mobile platforms.
Definition: Renderer.h:340
Urho3D::StaticModelGroup::RemoveAllInstanceNodes
void RemoveAllInstanceNodes()
Remove all instance scene nodes.
Definition: StaticModelGroup.cpp:303
Urho3D::NavigationMesh::GetDistanceToWall
float GetDistanceToWall(const Vector3 &point, float radius, const Vector3 &extents=Vector3::ONE, const dtQueryFilter *filter=nullptr, Vector3 *hitPos=nullptr, Vector3 *hitNormal=nullptr)
Return distance to wall from a point. Maximum search radius must be specified.
Definition: NavigationMesh.cpp:782
Urho3D::Text3D::GetCharPosition
Vector2 GetCharPosition(unsigned index)
Return position of character by index relative to the text element origin.
Definition: Text3D.cpp:488
Urho3D::Log::Close
void Close()
Close the log file.
Definition: Log.cpp:106
Urho3D::Light::GetFullscreenQuadTransform
static Matrix3x4 GetFullscreenQuadTransform(Camera *camera)
Return a transform for deferred fullscreen quad (directional light) rendering.
Definition: Light.cpp:644
Urho3D::DynamicNavigationMesh::RemoveTile
void RemoveTile(const IntVector2 &tile) override
Remove tile from navigation mesh.
Definition: DynamicNavigationMesh.cpp:561
Urho3D::Rect::ToString
String ToString() const
Return as string.
Definition: Rect.cpp:74
Urho3D::Pair
Pair template class.
Definition: Pair.h:31
Urho3D::Sphere::Sphere
Sphere(const Vector3 &center, float radius) noexcept
Construct from center and radius.
Definition: Sphere.h:49
Urho3D::Ray::InsideGeometry
bool InsideGeometry(const void *vertexData, unsigned vertexSize, unsigned vertexStart, unsigned vertexCount) const
Return whether ray is inside non-indexed geometry.
Definition: Ray.cpp:371
Urho3D::Localization
Localization subsystem. Stores all the strings in all languages.
Definition: Localization.h:32
Urho3D::HashSet::CompareNodes
static bool CompareNodes(Node *&lhs, Node *&rhs)
Compare two nodes.
Definition: HashSet.h:638
Urho3D::PackageEntry
File entry within the package file.
Definition: PackageFile.h:31
Urho3D::HttpRequest::GetError
String GetError() const
Return error. Only non-empty in the error state.
Definition: HttpRequest.cpp:281
Urho3D::Context::GetGlobalVars
const VariantMap & GetGlobalVars() const
Return all global variables.
Definition: Context.h:140
Urho3D::XMLElement::SetRect
bool SetRect(const String &name, const Rect &value)
Set a Rect attribute.
Definition: XMLElement.cpp:397
Urho3D::DBAPI
DBAPI
Supported database API.
Definition: Database.h:34
Urho3D::LinkedListNode
Singly-linked list node base class.
Definition: LinkedList.h:36
Urho3D::OggVorbisSoundStream::GetData
unsigned GetData(signed char *dest, unsigned numBytes) override
Produce sound data into destination. Return number of bytes produced. Called by SoundSource from the ...
Definition: OggVorbisSoundStream.cpp:72
Urho3D::UI::HandleTextInput
void HandleTextInput(StringHash eventType, VariantMap &eventData)
Handle text input event.
Definition: UI.cpp:2030
Urho3D::Spline::GetInterpolationMode
InterpolationMode GetInterpolationMode() const
Return the interpolation mode.
Definition: Spline.h:77
Urho3D::View3D::SetView
void SetView(Scene *scene, Camera *camera, bool ownScene=true)
Define the scene and camera to use in rendering. When ownScene is true the View3D will take ownership...
Definition: View3D.cpp:97
Urho3D::UI::GetElementAt
UIElement * GetElementAt(const IntVector2 &position, bool enabledOnly=true)
Return UI element at global screen coordinates. By default returns only input-enabled elements.
Definition: UI.cpp:815
Urho3D::InstanceData
Data for one geometry instance.
Definition: Batch.h:112
Urho3D::Renderer::graphics_
WeakPtr< Graphics > graphics_
Graphics subsystem.
Definition: Renderer.h:474
Urho3D::Texture2D::GetRenderSurface
RenderSurface * GetRenderSurface() const
Return render surface.
Definition: Texture2D.h:77
Urho3D::ConstraintFriction2D::anchor_
Vector2 anchor_
Anchor.
Definition: ConstraintFriction2D.h:66
Urho3D::String::Replaced
String Replaced(char replaceThis, char replaceWith, bool caseSensitive=true) const
Return a string with all occurrences of a character replaced.
Definition: Str.cpp:294
Urho3D::UIElement::GetChild
UIElement * GetChild(unsigned index) const
Return child element by index.
Definition: UIElement.cpp:1631
Urho3D::Object::GetGlobalVars
const VariantMap & GetGlobalVars() const
Return all global variables.
Definition: Object.cpp:411
Urho3D::HashSet::Back
const T & Back() const
Return last key.
Definition: HashSet.h:516
Urho3D::Color::MaxRGB
float MaxRGB() const
Return the largest value of the RGB components.
Definition: Color.cpp:197
Urho3D::PhysicsWorld2D::SetSubStepping
void SetSubStepping(bool enable)
Set sub stepping.
Definition: PhysicsWorld2D.cpp:403
Urho3D::SharedPtr::operator=
SharedPtr< T > & operator=(const SharedPtr< T > &rhs)
Assign from another shared pointer.
Definition: Ptr.h:86
Urho3D::ResourceCache::GetNumBackgroundLoadResources
unsigned GetNumBackgroundLoadResources() const
Return number of pending background-loaded resources.
Definition: ResourceCache.cpp:711
Urho3D::Matrix3::ToString
String ToString() const
Return as string.
Definition: Matrix3.cpp:65
Urho3D::StringFactory
String factory class that manages the string constants the script engine uses.
Definition: Addons.h:310
Urho3D::Vector2::LEFT
static const Vector2 LEFT
(-1,0) vector.
Definition: Vector2.h:381
Urho3D::IndexBuffer::UnmapBuffer
void UnmapBuffer()
Unmap the GPU buffer. Not used on OpenGL.
Definition: OGLIndexBuffer.cpp:271
Urho3D::DynamicNavigationMesh
Definition: DynamicNavigationMesh.h:41
Urho3D::Viewport::renderPath_
SharedPtr< RenderPath > renderPath_
Rendering path.
Definition: Viewport.h:109
Urho3D::Cursor::GetUseSystemShapes
bool GetUseSystemShapes() const
Return whether is using system default shapes.
Definition: Cursor.h:124
Urho3D::DebugHud::profilerInterval_
unsigned profilerInterval_
Profiler accumulation interval.
Definition: DebugHud.h:129
Urho3D::Engine::ParseParameters
static VariantMap ParseParameters(const Vector< String > &arguments)
Parse the engine startup parameters map from command line arguments.
Definition: Engine.cpp:797
Urho3D::Script::defaultScriptFile_
WeakPtr< ScriptFile > defaultScriptFile_
Immediate execution script file.
Definition: Script.h:133
Urho3D::Particle::velocity_
Vector3 velocity_
Velocity.
Definition: ParticleEmitter.h:36
Urho3D::Image::GetNumCompressedLevels
unsigned GetNumCompressedLevels() const
Return number of compressed mip levels. Returns 0 if the image is has not been loaded from a source f...
Definition: Image.h:180
Urho3D::Graphics::SetViewport
void SetViewport(const IntRect &rect)
Set viewport.
Definition: OGLGraphics.cpp:1721
Urho3D::Animation::triggers_
Vector< AnimationTriggerPoint > triggers_
Animation trigger points.
Definition: Animation.h:201
Urho3D::ParticleEffect2D::startParticleSizeVariance_
float startParticleSizeVariance_
Start particle size variance.
Definition: ParticleEffect2D.h:298
Urho3D::ValueAnimationInfo::target_
WeakPtr< Object > target_
Target object.
Definition: ValueAnimationInfo.h:86
Urho3D::CustomVariantValue::Clone
virtual void Clone(void *dest) const
Placement clone.
Definition: Variant.h:197
Urho3D::Variant::GetVector3
const Vector3 & GetVector3() const
Return Vector3 or zero on type mismatch.
Definition: Variant.h:1182
Urho3D::ParticleEmitter2D::effect_
SharedPtr< ParticleEffect2D > effect_
Particle effect.
Definition: ParticleEmitter2D.h:145
Urho3D::LM_FREE
@ LM_FREE
No layout operations will be performed.
Definition: UIElement.h:88
Urho3D::Node::GetChildrenWithTagRecursive
void GetChildrenWithTagRecursive(PODVector< Node * > &dest, const String &tag) const
Return child nodes with a specific tag recursively.
Definition: Node.cpp:2169
Urho3D::Material::GetTechnique
Technique * GetTechnique(unsigned index) const
Return technique by index.
Definition: Material.cpp:1186
Urho3D::TerrainPatch::occlusionGeometry_
SharedPtr< Geometry > occlusionGeometry_
Geometry that is used for occlusion.
Definition: TerrainPatch.h:122
Urho3D::ParticleEffect::SetMaxRotationSpeed
void SetMaxRotationSpeed(float speed)
Set particle maximum rotation speed.
Definition: ParticleEffect.cpp:575
Urho3D::Octant::RemoveDrawable
void RemoveDrawable(Drawable *drawable, bool resetOctant=true)
Remove a drawable object from this octant.
Definition: Octree.h:65
Urho3D::Decal::timeToLive_
float timeToLive_
Maximum time to live in seconds (0 = infinite).
Definition: DecalSet.h:93
Urho3D::Image::IsSRGB
bool IsSRGB() const
Whether this texture is in sRGB, only relevant for DDS.
Definition: Image.h:143
Urho3D::Graphics::Raise
void Raise() const
Raises window if it was minimized.
Definition: Graphics.cpp:353
Urho3D::Slider::dragSlider_
bool dragSlider_
Internal flag of whether the slider is being dragged.
Definition: Slider.h:110
Urho3D::Batch::sortKey_
unsigned long long sortKey_
State sorting key.
Definition: Batch.h:78
Urho3D::VectorBuffer::GetBuffer
const PODVector< unsigned char > & GetBuffer() const
Return the buffer.
Definition: VectorBuffer.h:68
Urho3D::ParticleEmitter::HandleEffectReloadFinished
void HandleEffectReloadFinished(StringHash eventType, VariantMap &eventData)
Handle live reload of the particle effect.
Definition: ParticleEmitter.cpp:613
Urho3D::RenderSurface::parentTexture_
Texture * parentTexture_
Parent texture.
Definition: RenderSurface.h:127
Urho3D::Light::GetShadowFocus
const FocusParameters & GetShadowFocus() const
Return shadow map focus parameters.
Definition: Light.h:274
Urho3D::Frustum::Define
void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4 &transform=Matrix3x4::IDENTITY)
Define with projection parameters and a transform matrix.
Definition: Frustum.cpp:75
Urho3D::CollisionShape::SetLodLevel
void SetLodLevel(unsigned lodLevel)
Set model LOD level.
Definition: CollisionShape.cpp:810
Urho3D::Thread::IsStarted
bool IsStarted() const
Return whether thread exists.
Definition: Thread.h:61
Urho3D::Texture::levels_
unsigned levels_
Current mip levels.
Definition: Texture.h:213
Urho3D::CollisionPolygon2D::polygonShape_
b2PolygonShape polygonShape_
Polygon shape.
Definition: CollisionPolygon2D.h:71
Urho3D::CrowdManager::SetQueryFilterTypesAttr
void SetQueryFilterTypesAttr(const VariantVector &value)
Set all the query filter types configured in the crowd based on the corresponding attribute.
Definition: CrowdManager.cpp:280
Urho3D::Component::networkUpdate_
bool networkUpdate_
Network update queued flag.
Definition: Component.h:142
Urho3D::Text::DecodeToUnicode
void DecodeToUnicode()
UTF8 to Unicode.
Definition: Text.cpp:286
Urho3D::LineEdit::SetEchoCharacter
void SetEchoCharacter(unsigned c)
Set echo character for password entry and such. 0 (default) shows the actual text.
Definition: LineEdit.cpp:516
Urho3D::AnimatedSprite2D::GetLoopMode
LoopMode2D GetLoopMode() const
Return loop mode.
Definition: AnimatedSprite2D.h:90
Urho3D::NavBuildData::offMeshAreas_
PODVector< unsigned char > offMeshAreas_
Offmesh connection areas.
Definition: NavBuildData.h:74
Urho3D::ParticleEffect2D::GetSprite
Sprite2D * GetSprite() const
Return sprite.
Definition: ParticleEffect2D.h:137
Urho3D::RenderTargetInfo::cubemap_
bool cubemap_
Cube map flag.
Definition: RenderPath.h:90
Urho3D::Font::GetFace
FontFace * GetFace(float pointSize)
Return font face. Pack and render to a texture if not rendered yet. Return null on error.
Definition: Font.cpp:139
Urho3D::Database::poolSize_
unsigned poolSize_
Database connection pool size. Default to 0 when using ODBC 3.0 or later as ODBC 3....
Definition: Database.h:69
Urho3D::RenderSurface::SetNumViewports
void SetNumViewports(unsigned num)
Set number of viewports.
Definition: RenderSurface.cpp:42
Urho3D::ComponentReplicationState::nodeState_
NodeReplicationState * nodeState_
Parent node replication state.
Definition: ReplicationState.h:148
Urho3D::ShaderParameterAnimationInfo::~ShaderParameterAnimationInfo
~ShaderParameterAnimationInfo() override
Destruct.
Urho3D::ConstraintDistance2D::~ConstraintDistance2D
~ConstraintDistance2D() override
Destruct.
Urho3D::SplinePath::elapsedTime_
float elapsedTime_
Amount of time that has elapsed while moving.
Definition: SplinePath.h:130
Urho3D::GraphicsImpl::instancingVertexAttributes_
unsigned instancingVertexAttributes_
Vertex attribute instancing bitmask for keeping track of divisors.
Definition: OGLGraphicsImpl.h:122
Urho3D::Graphics::position_
IntVector2 position_
Window position.
Definition: Graphics.h:729
Urho3D::LuaFunction::PushLuaTable
void PushLuaTable(const char *tableName)
Push Lua table to stack. When the specified table is not found then a nil is pushed instead.
Definition: LuaFunction.cpp:151
Urho3D::Variant::Variant
Variant(double value)
Construct from a double.
Definition: Variant.h:373
Urho3D::AnimationController
Component that drives an AnimatedModel's animations.
Definition: AnimationController.h:84
Urho3D::Console::autoComplete_
Vector< String > autoComplete_
Definition: Console.h:182
Urho3D::Graphics::GetDummyColorFormat
unsigned GetDummyColorFormat() const
Return dummy color texture format for shadow maps. Is "NULL" (consume no video memory) if supported.
Definition: Graphics.h:408
Urho3D::Graphics::SetShaders
void SetShaders(ShaderVariation *vs, ShaderVariation *ps)
Set shaders.
Definition: OGLGraphics.cpp:1012
Urho3D::IKSolver::IKSolver
IKSolver(Context *context)
Construct an IK root component.
Definition: IKSolver.cpp:48
Urho3D::Texture2D::SetSize
bool SetSize(int width, int height, unsigned format, TextureUsage usage=TEXTURE_STATIC, int multiSample=1, bool autoResolve=true)
Set size, format, usage and multisampling parameters for rendertargets. Zero size will follow applica...
Definition: Texture2D.cpp:112
Urho3D::ValueAnimation::GetOwner
void * GetOwner() const
Return owner.
Definition: ValueAnimation.h:111
Urho3D::XMLElement::node_
pugi::xml_node_struct * node_
Pugixml node.
Definition: XMLElement.h:309
Urho3D::Console::history_
Vector< String > history_
Command history.
Definition: Console.h:160
Urho3D::ParticleEmitter
Particle emitter component.
Definition: ParticleEmitter.h:54
Urho3D::Light::SetShadowFocus
void SetShadowFocus(const FocusParameters &parameters)
Set shadow map focusing parameters.
Definition: Light.cpp:379
Urho3D::NavigationMesh::detailSampleDistance_
float detailSampleDistance_
Detail sampling distance.
Definition: NavigationMesh.h:334
Urho3D::RefCounted::ReleaseRef
void ReleaseRef()
Decrement reference count and delete self if no more references. Can also be called outside of a Shar...
Definition: RefCounted.cpp:60
Urho3D::ParticleEmitter2D::UpdateSourceBatches
void UpdateSourceBatches() override
Update source batches.
Definition: ParticleEmitter2D.cpp:209
Urho3D::PhysicsWorld2D::contacts_
VectorBuffer contacts_
Temporary buffer with contact data.
Definition: PhysicsWorld2D.h:282
Urho3D::DynamicNavigationMesh::tileCache_
dtTileCache * tileCache_
Detour tile cache instance that works with the nav mesh.
Definition: DynamicNavigationMesh.h:134
Urho3D::ConstraintMouse2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ConstraintMouse2D.cpp:45
Urho3D::Vector2::ReNormalized
Vector2 ReNormalized(float minLength, float maxLength, const Vector2 &defaultValue=Vector2::ZERO, float eps=M_LARGE_EPSILON) const
Return normalized vector with length in given range.
Definition: Vector2.h:356
Urho3D::ScriptFile::CreateObject
asIScriptObject * CreateObject(const String &className, bool useInterface=false)
Create a script object. Optionally search for the first class in the module that implements the speci...
Definition: ScriptFile.cpp:524
Urho3D::LuaScriptInstance::GetScriptFileAttr
ResourceRef GetScriptFileAttr() const
Return script file attribute.
Definition: LuaScriptInstance.cpp:764
Urho3D::UI::rootModalElement_
SharedPtr< UIElement > rootModalElement_
UI root modal element.
Definition: UI.h:355
Urho3D::FM_RESETFOCUS
@ FM_RESETFOCUS
Resets focus when clicked.
Definition: UIElement.h:77
Urho3D::RibbonTrail::SetStartScale
void SetStartScale(float startScale)
Set vertex blended color for start of trail.
Definition: RibbonTrail.cpp:331
Urho3D::TechniqueEntry::~TechniqueEntry
~TechniqueEntry() noexcept=default
Destruct.
Urho3D::FM_FOCUSABLE
@ FM_FOCUSABLE
Is focusable.
Definition: UIElement.h:79
Urho3D::Variant::Variant
Variant(const Vector4 &value)
Construct from a Vector4.
Definition: Variant.h:391
Urho3D::Geometry::Geometry
Geometry(Context *context)
Construct with one empty vertex buffer.
Definition: Geometry.cpp:37
Urho3D::FontFace::GetRowHeight
float GetRowHeight() const
Return row height.
Definition: FontFace.h:91
Urho3D::PackageEntry::checksum_
unsigned checksum_
File checksum.
Definition: PackageFile.h:38
Urho3D::Geometry::rawVertexData_
SharedArrayPtr< unsigned char > rawVertexData_
Raw vertex data override.
Definition: Geometry.h:135
Urho3D::TileMap2D::GetInfo
const TileMapInfo2D & GetInfo() const
Return information.
Definition: TileMap2D.h:59
Urho3D::ParticleEffect2D::SetSpeedVariance
void SetSpeedVariance(float speedVariance)
Set speed variance.
Definition: ParticleEffect2D.cpp:314
Urho3D::Localization::~Localization
~Localization() override
Destruct. Free all resources.
Urho3D::AnimationController::SetSpeed
bool SetSpeed(const String &name, float speed)
Set animation speed. Return true on success.
Definition: AnimationController.cpp:346
Urho3D::String::length_
unsigned length_
String length.
Definition: Str.h:544
Urho3D::WorkQueue::SetNonThreadedWorkMs
void SetNonThreadedWorkMs(int ms)
Set how many milliseconds maximum per frame to spend on low-priority work, when there are no worker t...
Definition: WorkQueue.h:101
Urho3D::Drawable::SetOccludee
void SetOccludee(bool enable)
Set occludee flag.
Definition: Drawable.cpp:235
Urho3D::Text3D::SetFontAttr
void SetFontAttr(const ResourceRef &value)
Set font attribute.
Definition: Text3D.cpp:545
Urho3D::HashSet::Node::Node
Node(const T &key)
Construct with key.
Definition: HashSet.h:45
Urho3D::ParticleEffect::GetSizeAdd
float GetSizeAdd() const
Return particle size additive modifier.
Definition: ParticleEffect.h:311
Urho3D::AnimationState::ApplyToNodes
void ApplyToNodes()
Apply animation to a scene node hierarchy.
Definition: AnimationState.cpp:470
Urho3D::Renderer::QueueViewport
void QueueViewport(RenderSurface *renderTarget, Viewport *viewport)
Queue a viewport for rendering. Null surface means backbuffer.
Definition: Renderer.cpp:803
Urho3D::Shader::psVariations_
HashMap< StringHash, SharedPtr< ShaderVariation > > psVariations_
Pixel shader variations.
Definition: Shader.h:77
Urho3D::JSONValue::GetFloat
float GetFloat(float defaultValue=0.0f) const
Return float value.
Definition: JSONValue.h:198
Urho3D::NavigationMesh::GetEdgeMaxError
float GetEdgeMaxError() const
Return edge max error.
Definition: NavigationMesh.h:228
Urho3D::Vector3::Vector3
Vector3(const Vector2 &vector, float z) noexcept
Construct from a two-dimensional vector and the Z coordinate.
Definition: Vector3.h:199
Urho3D::Graphics::constantDepthBias_
float constantDepthBias_
Depth constant bias.
Definition: Graphics.h:811
Urho3D::CustomVariantValue::CustomVariantValue
CustomVariantValue()
Construct empty.
Definition: Variant.h:179
Urho3D::Node::Translate2D
void Translate2D(const Vector2 &delta, TransformSpace space=TS_LOCAL)
Move the scene node in the chosen transform space (for Urho2D).
Definition: Node.h:243
Urho3D::ListView::clearSelectionOnDefocus_
bool clearSelectionOnDefocus_
Clear selection on defocus flag.
Definition: ListView.h:182
Urho3D::DebugHud
Displays rendering stats and profiling information.
Definition: DebugHud.h:45
Urho3D::Time::elapsedTime_
Timer elapsedTime_
Elapsed time since program start.
Definition: Timer.h:121
Urho3D::StaticSprite2D::GetCustomMaterial
Material * GetCustomMaterial() const
Return custom material.
Definition: StaticSprite2D.cpp:243
Urho3D::DropDownList::resizePopup_
bool resizePopup_
Resize popup flag.
Definition: DropDownList.h:110
Urho3D::CustomGeometryVertex::position_
Vector3 position_
Position.
Definition: CustomGeometry.h:34
Urho3D::Context::RemoveAttribute
void RemoveAttribute(StringHash objectType, const char *name)
Remove object attribute.
Definition: Context.cpp:222
Urho3D::Camera::GetFaceCameraRotation
Quaternion GetFaceCameraRotation(const Vector3 &position, const Quaternion &rotation, FaceCameraMode mode, float minAngle=0.0f)
Return a world rotation for facing a camera on certain axes based on the existing world rotation.
Definition: Camera.cpp:521
Urho3D::TextureCube::Create
bool Create() override
Create the GPU texture.
Definition: OGLTextureCube.cpp:433
Urho3D::IndexBuffer::GetShadowData
unsigned char * GetShadowData() const
Return CPU memory shadow data.
Definition: IndexBuffer.h:83
Urho3D::Color::GREEN
static const Color GREEN
Opaque green color.
Definition: Color.h:273
Urho3D::BufferedSoundStream::bufferMutex_
Mutex bufferMutex_
Mutex for buffer data.
Definition: BufferedSoundStream.h:66
Urho3D::Text3D::SetTextEffect
void SetTextEffect(TextEffect textEffect)
Set text effect.
Definition: Text3D.cpp:275
Urho3D::CollisionBox2D::SetAngle
void SetAngle(float angle)
Set angle.
Definition: CollisionBox2D.cpp:94
Urho3D::UIElement::GetFocusMode
FocusMode GetFocusMode() const
Return focus mode.
Definition: UIElement.h:538
Urho3D::LineEdit::OnDragDropTest
bool OnDragDropTest(UIElement *source) override
React to drag and drop test. Return true to signal that the drop is acceptable.
Definition: LineEdit.cpp:165
Urho3D::Input::ResetInputAccumulation
void ResetInputAccumulation()
Reset input accumulation.
Definition: Input.cpp:1568
Urho3D::UI::DragData::dragBeginSumPos
IntVector2 dragBeginSumPos
Drag start position.
Definition: UI.h:243
Urho3D::List::Iterator::operator++
Iterator & operator++()
Preincrement the pointer.
Definition: List.h:70
Urho3D::Plane::Project
Vector3 Project(const Vector3 &point) const
Project a point on the plane.
Definition: Plane.h:97
Urho3D::Object::GetCategory
const String & GetCategory() const
Return object category. Categories are (optionally) registered along with the object factory....
Definition: Object.cpp:449
Urho3D::Menu::SetPopup
void SetPopup(UIElement *popup)
Set popup element to show on selection.
Definition: Menu.cpp:259
Urho3D::Quaternion::IsInf
bool IsInf() const
Return whether any element is Inf.
Definition: Quaternion.h:422
Urho3D::SoundSource3D::SetFarDistance
void SetFarDistance(float distance)
Set far distance. Outside this range sound will be completely attenuated.
Definition: SoundSource3D.cpp:119
Urho3D::Animation::Clone
SharedPtr< Animation > Clone(const String &cloneName=String::EMPTY) const
Clone the animation.
Definition: Animation.cpp:374
Urho3D::String::Empty
bool Empty() const
Return whether the string is empty.
Definition: Str.h:434
Urho3D::ValueAnimation::eventFrames_
Vector< VAnimEventFrame > eventFrames_
Event frames.
Definition: ValueAnimation.h:171
Urho3D::HashMap::Values
Vector< U > Values() const
Return all the values.
Definition: HashMap.h:594
Urho3D::Component::GetScene
Scene * GetScene() const
Return the scene the node belongs to.
Definition: Component.cpp:155
Urho3D::FontFaceFreeType::Load
bool Load(const unsigned char *fontData, unsigned fontDataSize, float pointSize) override
Load font face.
Definition: FontFaceFreeType.cpp:94
Urho3D::UIElement::position_
IntVector2 position_
Position.
Definition: UIElement.h:738
Urho3D::Billboard::enabled_
bool enabled_
Enabled flag.
Definition: BillboardSet.h:53
Urho3D::WeakPtr::WeakPtr
WeakPtr(const WeakPtr< T > &rhs) noexcept
Copy-construct from another weak pointer.
Definition: Ptr.h:281
Urho3D::ConstraintPrismatic2D::GetJointDef
b2JointDef * GetJointDef() override
Return joint def.
Definition: ConstraintPrismatic2D.cpp:174
Urho3D::AnimationState::looped_
bool looped_
Looped flag.
Definition: AnimationState.h:169
Urho3D::UI::batches_
PODVector< UIBatch > batches_
UI rendering batches.
Definition: UI.h:361
Urho3D::RenderPath::RenderPath
RenderPath()
Construct.
Urho3D::AnimatedModel::AddAnimationState
AnimationState * AddAnimationState(Animation *animation)
Add an animation.
Definition: AnimatedModel.cpp:443
Urho3D::Particle2D::rotationDelta_
float rotationDelta_
Rotation delta.
Definition: ParticleEmitter2D.h:48
Urho3D::ScreenModeParams::operator!=
bool operator!=(const ScreenModeParams &rhs) const
Compare for inequality with another parameter set.
Definition: Graphics.h:124
Urho3D::RigidBody::GetCcdMotionThreshold
float GetCcdMotionThreshold() const
Return continuous collision detection motion-per-simulation-step threshold.
Definition: RigidBody.cpp:693
Urho3D::Connection::logStatistics_
bool logStatistics_
Show statistics flag.
Definition: Connection.h:335
Urho3D::Image::FlipVertical
bool FlipVertical()
Flip image vertically. Return true if successful.
Definition: Image.cpp:1098
Urho3D::SharedArrayPtr::ptr_
T * ptr_
Pointer to the array.
Definition: ArrayPtr.h:209
Urho3D::Window::modalFrameColor_
Color modalFrameColor_
Modal frame color, used when modal flag is set.
Definition: Window.h:165
Urho3D::ValueAnimation::SetValueType
void SetValueType(VariantType valueType)
Set value type.
Definition: ValueAnimation.cpp:226
Urho3D::Texture2DArray::GetRenderSurface
RenderSurface * GetRenderSurface() const
Return render surface.
Definition: Texture2DArray.h:75
Urho3D::Terrain::GetNormal
Vector3 GetNormal(const Vector3 &worldPosition) const
Return normal at world coordinates.
Definition: Terrain.cpp:589
Urho3D::HashMap::KeyValue::operator=
KeyValue & operator=(const KeyValue &rhs)=delete
Prevent assignment.
Urho3D::Quaternion
Rotation represented as a four-dimensional normalized vector.
Definition: Quaternion.h:35
Urho3D::WeakPtr::Lock
SharedPtr< T > Lock() const
Convert to a shared pointer. If expired, return a null shared pointer.
Definition: Ptr.h:391
Urho3D::RaycastVehicle::GetWheelPosition
Vector3 GetWheelPosition(int wheel)
Get wheel position relative to RigidBody.
Definition: RaycastVehicle.cpp:416
Urho3D::Renderer::colorShadowMaps_
HashMap< int, SharedPtr< Texture2D > > colorShadowMaps_
Shadow map dummy color buffers by resolution.
Definition: Renderer.h:506
Urho3D::StaticModelGroup::OnNodeSetEnabled
void OnNodeSetEnabled(Node *node) override
Handle scene node enabled status changing.
Definition: StaticModelGroup.cpp:363
Urho3D::UniquePtr::operator!=
bool operator!=(const UniquePtr< U > &rhs) const
Test for inequality with another unique pointer.
Definition: Ptr.h:626
Urho3D::Console::GetFocusOnShow
bool GetFocusOnShow() const
Return whether automatically focuses the line edit when showing.
Definition: Console.h:120
Urho3D::AnimationController::animations_
Vector< AnimationControl > animations_
Animation control structures.
Definition: AnimationController.h:206
Urho3D::EventHandlerImpl
Template implementation of the event handler invoke helper (stores a function pointer of specific cla...
Definition: Object.h:297
Urho3D::RenderPathCommand::SetOutputFace
void SetOutputFace(unsigned index, CubeMapFace face)
Set output rendertarget face index for cube maps.
Definition: RenderPath.cpp:274
Urho3D::LightBatchQueue::volumeBatches_
PODVector< Batch > volumeBatches_
Light volume draw calls.
Definition: Batch.h:309
Urho3D::Text::SetEffectDepthBias
void SetEffectDepthBias(float bias)
Set text effect Z bias. Zero by default, adjusted only in 3D mode.
Definition: Text.cpp:409
Urho3D::Font::fontDataSize_
unsigned fontDataSize_
Size of font data.
Definition: Font.h:103
Urho3D::RigidBody2D::GetUseFixtureMass
bool GetUseFixtureMass() const
Return whether to calculate mass and inertia from collision shapes automatically.
Definition: RigidBody2D.h:132
Urho3D::Material::GetPixelShaderDefines
const String & GetPixelShaderDefines() const
Return additional pixel shader defines.
Definition: Material.h:208
Urho3D::Camera::projNearClip_
float projNearClip_
Cached actual near clip distance.
Definition: Camera.h:244
Urho3D::Sphere::radius_
float radius_
Sphere radius.
Definition: Sphere.h:204
Urho3D::WeakPtr::operator->
T * operator->() const
Point to the object.
Definition: Ptr.h:406
Urho3D::Viewport::ScreenToWorldPoint
Vector3 ScreenToWorldPoint(int x, int y, float depth) const
Convert screen coordinates and depth to a world space point.
Definition: Viewport.cpp:190
Urho3D::DD_TARGET
@ DD_TARGET
Drag and drop target flag.
Definition: UIElement.h:111
Urho3D::Texture2DArray::~Texture2DArray
~Texture2DArray() override
Destruct.
Definition: Texture2DArray.cpp:56
Urho3D::HiresTimer
High-resolution operating system timer used in profiling.
Definition: Timer.h:48
Urho3D::Material::SetCullMode
void SetCullMode(CullMode mode)
Set culling mode.
Definition: Material.cpp:1074
Urho3D::Renderer::maxShadowMaps_
int maxShadowMaps_
Maximum number of shadow maps per resolution.
Definition: Renderer.h:556
Urho3D::RayOctreeQuery::drawableFlags_
unsigned char drawableFlags_
Drawable flags to include.
Definition: OctreeQuery.h:248
Urho3D::AnimationControl::setTimeTtl_
float setTimeTtl_
Set time command time-to-live.
Definition: AnimationController.h:68
Urho3D::TerrainPatch::DrawOcclusion
bool DrawOcclusion(OcclusionBuffer *buffer) override
Draw to occlusion buffer. Return true if did not run out of triangles.
Definition: TerrainPatch.cpp:180
Urho3D::ScrollView::autoDisableChildren_
bool autoDisableChildren_
Used to determine if child elements should be disabled while touch scrolling, to prevent their trigge...
Definition: ScrollView.h:185
Urho3D::RibbonTrail::SetUpdateInvisible
void SetUpdateInvisible(bool enable)
Set whether to update when trail emitter are not visible.
Definition: RibbonTrail.cpp:883
Urho3D::Font::faces_
HashMap< int, SharedPtr< FontFace > > faces_
Created faces.
Definition: Font.h:99
Urho3D::RigidBody::GetRestitution
float GetRestitution() const
Return restitution coefficient.
Definition: RigidBody.cpp:678
Urho3D::Geometry::GetPrimitiveType
PrimitiveType GetPrimitiveType() const
Return primitive type.
Definition: Geometry.h:83
Urho3D::Connection::ConfigureNetworkSimulator
void ConfigureNetworkSimulator(int latencyMs, float packetLoss)
Set network simulation parameters. Called by Network.
Definition: Connection.cpp:1176
Urho3D::Graphics::Release
void Release(bool clearGPUObjects, bool closeWindow)
Release/clear GPU objects and optionally close the window. Used only on OpenGL.
Definition: OGLGraphics.cpp:2351
Urho3D::LinkedList::Empty
bool Empty() const
Return whether is empty.
Definition: LinkedList.h:187
Urho3D::XPathResultSet::operator=
XPathResultSet & operator=(const XPathResultSet &rhs)
Assignment operator.
Definition: XMLElement.cpp:1029
Urho3D::ScriptFile::functions_
HashMap< String, asIScriptFunction * > functions_
Search cache for functions.
Definition: ScriptFile.h:144
Urho3D::Sprite::IsWithinScissor
bool IsWithinScissor(const IntRect &currentScissor) override
Return whether is visible and inside a scissor rectangle and should be rendered.
Definition: Sprite.cpp:83
Urho3D::Camera::viewOverrideFlags_
ViewOverrideFlags viewOverrideFlags_
View override flags.
Definition: Camera.h:264
Urho3D::List::Head
Node * Head() const
Return the head node.
Definition: List.h:425
Urho3D::VertexBuffer::UpdateOffsets
void UpdateOffsets()
Update offsets of vertex elements.
Definition: VertexBuffer.cpp:92
Urho3D::Terrain::maxLights_
unsigned maxLights_
Maximum lights.
Definition: Terrain.h:315
Urho3D::AreaAllocator::Reset
void Reset(int width, int height, int maxWidth=0, int maxHeight=0, bool fastMode=true)
Reset to given width and height and remove all previous allocations.
Definition: AreaAllocator.cpp:47
Urho3D::CustomGeometry::MakeCircleGraph
void MakeCircleGraph(const Vector< Pair< float, Urho3D::SharedPtr< Urho3D::Material > > > &parts, int radius=1, int iterations=300)
Produces a circle graph given a vector of paired (weights and materials)
Definition: CustomGeometry.cpp:249
Urho3D::Zone::SetFogEnd
void SetFogEnd(float end)
Set fog end distance.
Definition: Zone.cpp:127
Urho3D::Graphics::GetGL3Support
static bool GetGL3Support()
Return whether is using an OpenGL 3 context. Return always false on Direct3D9 & Direct3D11.
Definition: OGLGraphics.cpp:2119
Urho3D::Renderer2D
2D renderer component.
Definition: Renderer2D.h:68
Urho3D::Text::SetSelection
void SetSelection(unsigned start, unsigned length=M_MAX_UNSIGNED)
Set selection. When length is not provided, select until the text ends.
Definition: Text.cpp:371
Urho3D::LuaScript::ExecuteRawFile
bool ExecuteRawFile(const String &fileName)
Load and execute script file on file system (i.e. not from resource cache). Return true if successful...
Definition: LuaScript.cpp:298
Urho3D::Renderer::GetShadowMap
Texture2D * GetShadowMap(Light *light, Camera *camera, unsigned viewWidth, unsigned viewHeight)
Allocate a shadow map. If shadow map reuse is disabled, a different map is returned each time.
Definition: Renderer.cpp:836
Urho3D::ColorFrame::ColorFrame
ColorFrame()
Construct with default values.
Definition: ParticleEffect.h:47
Urho3D::Geometry::SetVertexBuffer
bool SetVertexBuffer(unsigned index, VertexBuffer *buffer)
Set a vertex buffer by index.
Definition: Geometry.cpp:67
Urho3D::CascadeParameters::fadeStart_
float fadeStart_
The point relative to the total shadow range where shadow fade begins (0.0 - 1.0).
Definition: Light.h:113
Urho3D::UIElement::SetEnabledRecursive
void SetEnabledRecursive(bool enable)
Set enabled state on self and child elements. Unlike SetDeepEnabled this does not remember the elemen...
Definition: UIElement.cpp:909
Urho3D::Allocator
Allocator template class. Allocates objects of a specific class.
Definition: Allocator.h:71
Urho3D::NavigationMesh::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: NavigationMesh.cpp:134
Urho3D::DropDownList::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: DropDownList.cpp:236
Urho3D::Viewport::SetCamera
void SetCamera(Camera *camera)
Set viewport camera.
Definition: Viewport.cpp:74
Urho3D::UI::GetEffectiveRootElementSize
IntVector2 GetEffectiveRootElementSize(bool applyScale=true) const
Return effective size of the root element, according to UI scale and resolution / custom size.
Definition: UI.cpp:2171
Urho3D::HashMap::Sort
void Sort()
Sort pairs. After sorting the map can be iterated in order until new elements are inserted.
Definition: HashMap.h:479
Urho3D::Audio::GetMasterGain
float GetMasterGain(const String &type) const
Return master gain for a specific sound source type. Unknown sound types will return full gain (1).
Definition: Audio.cpp:206
Urho3D::Button::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Button.cpp:53
Urho3D::File::readBufferSize_
unsigned readBufferSize_
Bytes in the current read buffer.
Definition: File.h:137
Urho3D::Input::GetScancodeFromKey
Scancode GetScancodeFromKey(Key key) const
Return scancode from keycode.
Definition: Input.cpp:1319
Urho3D::WindowModeParams
Window mode parameters.
Definition: Graphics.h:128
Urho3D::SoundSource3D::CalculateAttenuation
void CalculateAttenuation()
Calculate attenuation and panning based on current position and listener position.
Definition: SoundSource3D.cpp:149
Urho3D::Ray::Ray
Ray(const Vector3 &origin, const Vector3 &direction) noexcept
Construct from origin and direction. The direction will be normalized.
Definition: Ray.h:44
Urho3D::RenderSurface::~RenderSurface
~RenderSurface() override
Destruct.
Definition: RenderSurface.cpp:37
Urho3D::Quaternion::LengthSquared
float LengthSquared() const
Return squared length.
Definition: Quaternion.h:384
Urho3D::DebugHud::eventProfilerText_
SharedPtr< Text > eventProfilerText_
Event profiling information text.
Definition: DebugHud.h:119
Urho3D::TileMapLayer2D
Tile map component.
Definition: TileMapLayer2D.h:44
Urho3D::PhysicsWorld::SetUpdateEnabled
void SetUpdateEnabled(bool enable)
Enable or disable automatic physics simulation during scene update. Enabled by default.
Definition: PhysicsWorld.cpp:341
Urho3D::ScriptEventListener
Interface class for allowing script objects or functions to subscribe to events.
Definition: ScriptEventListener.h:52
Urho3D::Scene::smoothingConstant_
float smoothingConstant_
Motion smoothing constant.
Definition: Scene.h:330
Urho3D::FileSystem::SystemCommand
int SystemCommand(const String &commandLine, bool redirectStdOutToLog=false)
Run a program using the command interpreter, block until it exits and return the exit code....
Definition: FileSystem.cpp:373
Urho3D::FileSelector::GetCloseButton
Button * GetCloseButton() const
Return close button.
Definition: FileSelector.h:108
Urho3D::PhysicsWorld::reportErrorWarning
void reportErrorWarning(const char *warningString) override
Log warning from the physics engine.
Definition: PhysicsWorld.cpp:242
Urho3D::Texture2DArray::Release
void Release() override
Release the texture.
Definition: OGLTexture2DArray.cpp:76
Urho3D::Console::SetNumHistoryRows
void SetNumHistoryRows(unsigned rows)
Set command history maximum size, 0 disables history.
Definition: Console.cpp:239
Urho3D::UIElement::SetStyle
bool SetStyle(const String &styleName, XMLFile *file=nullptr)
Set style from an XML file. Find the style element by name. If the style file is not explicitly provi...
Definition: UIElement.cpp:994
Urho3D::PhysicsWorld2D::PreSolve
void PreSolve(b2Contact *contact, const b2Manifold *oldManifold) override
Called when contact is updated.
Definition: PhysicsWorld2D.cpp:134
Urho3D::RibbonTrail::Commit
void Commit()
Mark for bounding box and vertex buffer update. Call after modifying the trails.
Definition: RibbonTrail.cpp:889
Urho3D::PhysicsWorld2D::SetAutoClearForces
void SetAutoClearForces(bool enable)
Set auto clear forces.
Definition: PhysicsWorld2D.cpp:415
Urho3D::UI::RenderToTextureData::texture_
SharedPtr< Texture2D > texture_
Texture that UIElement will be rendered into.
Definition: UI.h:253
Urho3D::ObjectAnimation::attributeAnimationInfos_
HashMap< String, SharedPtr< ValueAnimationInfo > > attributeAnimationInfos_
Name to attribute animation info mapping.
Definition: ObjectAnimation.h:90
Urho3D::Light::fov_
float fov_
Spotlight field of view.
Definition: Light.h:377
Urho3D::ParticleEffect2D::ReadColor
Color ReadColor(const XMLElement &element, const String &name) const
Read Color.
Definition: ParticleEffect2D.cpp:530
Urho3D::FileSelector::UpdateElements
void UpdateElements()
Update elements to layout properly. Call this after manually adjusting the sub-elements.
Definition: FileSelector.cpp:246
Urho3D::XMLFile::GetDocument
pugi::xml_document * GetDocument() const
Return the pugixml document.
Definition: XMLFile.h:71
Urho3D::Constraint2D::ReleaseJoint
void ReleaseJoint()
Release joint.
Definition: Constraint2D.cpp:101
Urho3D::UnknownComponent::GetXMLAttributes
const Vector< String > & GetXMLAttributes() const
Return the XML format attributes. Empty when loaded with binary serialization.
Definition: UnknownComponent.h:68
Urho3D::Scene::updateEnabled_
bool updateEnabled_
Update enabled flag.
Definition: Scene.h:334
Urho3D::Serializer::WriteColor
bool WriteColor(const Color &value)
Write a color.
Definition: Serializer.cpp:169
Urho3D::Vector::Capacity
unsigned Capacity() const
Return capacity of vector.
Definition: Vector.h:535
Urho3D::Graphics::GetShaderCacheDir
const String & GetShaderCacheDir() const
Return shader cache directory, Direct3D only.
Definition: Graphics.h:564
Urho3D::Image::LoadColorLUT
bool LoadColorLUT(Deserializer &source)
Load as color LUT. Return true if successful.
Definition: Image.cpp:980
Urho3D::Light::SetLength
void SetLength(float length)
Set tube area light length. Works only with PBR shaders.
Definition: Light.cpp:302
Urho3D::Texture::addressModes_
TextureAddressMode addressModes_[MAX_COORDS]
Addressing mode.
Definition: Texture.h:227
Urho3D::RenderTargetInfo::autoResolve_
bool autoResolve_
Multisampling autoresolve flag.
Definition: RenderPath.h:86
Urho3D::SoundSource3D::innerAngle_
float innerAngle_
Inner angle for directional attenuation.
Definition: SoundSource3D.h:86
Urho3D::CollisionShape::SetCustomTriangleMesh
void SetCustomTriangleMesh(CustomGeometry *custom, const Vector3 &scale=Vector3::ONE, const Vector3 &position=Vector3::ZERO, const Quaternion &rotation=Quaternion::IDENTITY)
Set as a triangle mesh from CustomGeometry.
Definition: CollisionShape.cpp:677
Urho3D::PackageFile::GetTotalDataSize
unsigned GetTotalDataSize() const
Return total data size from all the file entries in the package file.
Definition: PackageFile.h:77
Urho3D::RenderPathCommand::pixelShaderDefines_
String pixelShaderDefines_
Pixel shader defines.
Definition: RenderPath.h:156
Urho3D::View3D::viewport_
SharedPtr< Viewport > viewport_
Viewport.
Definition: View3D.h:89
Urho3D::RibbonTrail::SetAnimationLodBias
void SetAnimationLodBias(float bias)
Set animation LOD bias.
Definition: RibbonTrail.cpp:877
Urho3D::Quaternion::w_
float w_
W coordinate.
Definition: Quaternion.h:461
Urho3D::AnimatedModel::MarkMorphsDirty
void MarkMorphsDirty()
Mark morphs to require an update.
Definition: AnimatedModel.cpp:1100
Urho3D::HashSet::operator==
bool operator==(const HashSet< T > &rhs) const
Test for equality with another hash set.
Definition: HashSet.h:253
Urho3D::IndexBuffer::IsLocked
bool IsLocked() const
Return whether is currently locked.
Definition: IndexBuffer.h:71
Urho3D::LineEdit::LineEdit
LineEdit(Context *context)
Construct.
Definition: LineEdit.cpp:43
Urho3D::XMLElement::GetIntVector3
IntVector3 GetIntVector3(const String &name) const
Return an IntVector3 attribute, or default if missing.
Definition: XMLElement.cpp:832
Urho3D::ConstraintDistance2D::SetDampingRatio
void SetDampingRatio(float dampingRatio)
Set damping ratio.
Definition: ConstraintDistance2D.cpp:97
Urho3D::JSONValue::stringValue_
String * stringValue_
String value.
Definition: JSONValue.h:303
Urho3D::Terrain::SetMaterialAttr
void SetMaterialAttr(const ResourceRef &value)
Set material attribute.
Definition: Terrain.cpp:791
Urho3D::CustomGeometry::elementMask_
VertexMaskFlags elementMask_
Element mask used so far.
Definition: CustomGeometry.h:172
Urho3D::Color::FromHSV
void FromHSV(float h, float s, float v, float a=1.0f)
Set RGBA values from specified HSV values and alpha.
Definition: Color.cpp:109
Urho3D::Terrain::SetHeightMapInternal
bool SetHeightMapInternal(Image *image, bool recreateNow)
Set heightmap image and optionally recreate the geometry immediately. Return true if successful.
Definition: Terrain.cpp:1416
Urho3D::WorkQueue::ReturnToPool
void ReturnToPool(SharedPtr< WorkItem > &item)
Return a work item to the pool.
Definition: WorkQueue.cpp:380
Urho3D::Localization::Get
String Get(const String &id)
Return a string in the current language. Returns String::EMPTY if id is empty. Returns id if translat...
Definition: Localization.cpp:130
Urho3D::UI::GetFontHintLevel
FontHintLevel GetFontHintLevel() const
Return the current FreeType font hinting level.
Definition: UI.h:206
Urho3D::TechniqueEntry
Material's technique list entry.
Definition: Material.h:56
Urho3D::WeakArrayPtr::WeakRefs
int WeakRefs() const
Return the array's weak reference count.
Definition: ArrayPtr.h:382
Urho3D::PhysicsWorld::GetGravity
Vector3 GetGravity() const
Return gravity.
Definition: PhysicsWorld.cpp:703
Urho3D::EventHandlerImpl::EventHandlerImpl
EventHandlerImpl(T *receiver, HandlerFunctionPtr function, void *userData=nullptr)
Construct with receiver and function pointers and userdata.
Definition: Object.h:303
Urho3D::Animation::GetNumTriggers
unsigned GetNumTriggers() const
Return number of animation trigger points.
Definition: Animation.h:186
Urho3D::ValueAnimation::UpdateSplineTangents
void UpdateSplineTangents() const
Update spline tangents.
Definition: ValueAnimation.cpp:489
Urho3D::Node::GetPosition2D
Vector2 GetPosition2D() const
Return position in parent space (for Urho2D).
Definition: Node.h:380
Urho3D::Vector3::Angle
float Angle(const Vector3 &rhs) const
Returns the angle between this vector and another vector in degrees.
Definition: Vector3.h:414
Urho3D::Camera::SetOrthoSize
void SetOrthoSize(float orthoSize)
Set orthographic mode view uniform size.
Definition: Camera.cpp:138
Urho3D::Camera::SetFov
void SetFov(float fov)
Set vertical field of view in degrees.
Definition: Camera.cpp:130
Urho3D::Constraint2D::otherBodyNodeID_
unsigned otherBodyNodeID_
Other body node ID for serialization.
Definition: Constraint2D.h:102
Urho3D::CrowdManager::SetObstacleAvoidanceTypesAttr
void SetObstacleAvoidanceTypesAttr(const VariantVector &value)
Set all the obstacle avoidance types configured in the crowd based on the corresponding attribute.
Definition: CrowdManager.cpp:349
Urho3D::RibbonTrail::points_
PODVector< TrailPoint > points_
Tails.
Definition: RibbonTrail.h:180
Urho3D::WeakArrayPtr::operator[]
T & operator[](const int index)
Subscript the array.
Definition: ArrayPtr.h:326
Urho3D::SoundSource::SetSoundType
void SetSoundType(const String &type)
Set sound type, determines the master gain group.
Definition: SoundSource.cpp:272
Urho3D::RigidBody::SetGravityOverride
void SetGravityOverride(const Vector3 &gravity)
Set gravity override. If zero, uses physics world's gravity.
Definition: RigidBody.cpp:449
Urho3D::Image::GetCompressedLevel
CompressedLevel GetCompressedLevel(unsigned index) const
Return a compressed mip level.
Definition: Image.cpp:1966
Urho3D::FontFace::IsDataLost
bool IsDataLost() const
Return true when one of the texture has a data loss.
Definition: FontFace.cpp:87
Urho3D::View::hasScenePasses_
bool hasScenePasses_
Has scene passes flag. If no scene passes, view can be defined without a valid scene or camera to onl...
Definition: View.h:380
Urho3D::ResourceCache::GetPreferredResourceDir
String GetPreferredResourceDir(const String &path) const
Return either the path itself or its parent, based on which of them has recognized resource subdirect...
Definition: ResourceCache.cpp:805
Urho3D::Vector2::DOWN
static const Vector2 DOWN
(0,-1) vector.
Definition: Vector2.h:387
Urho3D::SplinePath::speed_
float speed_
The Speed of movement along the Spline.
Definition: SplinePath.h:128
Urho3D::JSONNT_NAN
@ JSONNT_NAN
Not a number.
Definition: JSONValue.h:53
Urho3D::ScriptInstance::storedAttributes_
HashMap< String, Variant > storedAttributes_
Storage for attributes while script object is being hot-reloaded.
Definition: ScriptInstance.h:208
Urho3D::NavigationMesh::SetRegionMinSize
void SetRegionMinSize(float size)
Set region minimum size.
Definition: NavigationMesh.cpp:276
Urho3D::Pass::GetName
const String & GetName() const
Return pass name.
Definition: Technique.h:84
Urho3D::ShaderProgram::GetUsedVertexAttributes
unsigned GetUsedVertexAttributes() const
Return attribute location use bitmask.
Definition: OGLShaderProgram.h:74
Urho3D::Graphics::GetHighDPI
bool GetHighDPI() const
Return whether window is high DPI.
Definition: Graphics.h:369
Urho3D::OggVorbisSoundStream::OggVorbisSoundStream
OggVorbisSoundStream(const Sound *sound)
Construct from an Ogg Vorbis compressed sound.
Definition: OggVorbisSoundStream.cpp:35
Urho3D::Script::SetExecuteConsoleCommands
void SetExecuteConsoleCommands(bool enable)
Set whether to execute engine console commands as script code.
Definition: Script.cpp:223
Urho3D::Particle2D::velocity_
Vector2 velocity_
Velocity.
Definition: ParticleEmitter2D.h:58
Urho3D::IKSolver::DestroyTree
void DestroyTree()
Destroys the solver's tree.
Definition: IKSolver.cpp:264
Urho3D::CA_STATE_OFFMESH
@ CA_STATE_OFFMESH
The agent is traversing an off-mesh connection.
Definition: CrowdAgent.h:55
Urho3D::Drawable::OnSceneSet
void OnSceneSet(Scene *scene) override
Handle scene being assigned.
Definition: Drawable.cpp:366
Urho3D::SpriteSheet2D::EndLoadFromXMLFile
bool EndLoadFromXMLFile()
End load from XML file.
Definition: SpriteSheet2D.cpp:225
Urho3D::Connection::GetAddressOrGUID
const SLNet::AddressOrGUID & GetAddressOrGUID() const
Return the RakNet address/guid.
Definition: Connection.h:173
Urho3D::JSONValue::GetVariant
Variant GetVariant() const
Return a variant.
Definition: JSONValue.cpp:400
Urho3D::Console::autoCompletePosition_
unsigned autoCompletePosition_
Command auto complete current position.
Definition: Console.h:184
Urho3D::UIElement::GetIndent
int GetIndent() const
Return horizontal indentation.
Definition: UIElement.h:622
Urho3D::Bone::initialRotation_
Quaternion initialRotation_
Reset rotation.
Definition: Skeleton.h:68
Urho3D::Graphics::shaderExtension_
String shaderExtension_
File extension for shaders.
Definition: Graphics.h:853
Urho3D::TileMap2D::PositionToTileIndex
bool PositionToTileIndex(int &x, int &y, const Vector2 &position) const
Convert position to tile index, if out of map return false.
Definition: TileMap2D.cpp:172
Urho3D::BackgroundLoader::ThreadFunction
void ThreadFunction() override
Resource background loading loop.
Urho3D::Node::RotateAround
void RotateAround(const Vector3 &point, const Quaternion &delta, TransformSpace space=TS_LOCAL)
Rotate around a point in the chosen transform space.
Definition: Node.cpp:615
Urho3D::BoundingBox::BoundingBox
BoundingBox(const Sphere &sphere)
Construct from a sphere.
Definition: BoundingBox.h:114
Urho3D::RenderPathCommand::clearStencil_
unsigned clearStencil_
Clear stencil value. Affects clear command only.
Definition: RenderPath.h:172
Urho3D::Graphics::GetAlphaToCoverage
bool GetAlphaToCoverage() const
Return whether alpha-to-coverage is enabled.
Definition: Graphics.h:504
Urho3D::ParticleEffect::SetDampingForce
void SetDampingForce(float force)
Set particle velocity damping force.
Definition: ParticleEffect.cpp:505
Urho3D::Time::timeStep_
float timeStep_
Timestep in seconds.
Definition: Timer.h:125
Urho3D::Sprite::SetHotSpot
void SetHotSpot(const IntVector2 &hotSpot)
Set hotspot for positioning and rotation.
Definition: Sprite.cpp:152
Urho3D::PhysicsWorld::GetTriMeshCache
CollisionGeometryDataCache & GetTriMeshCache()
Return trimesh collision geometry cache.
Definition: PhysicsWorld.h:269
Urho3D::ProgressBar::GetRange
float GetRange() const
Return ProgressBar range.
Definition: ProgressBar.h:66
Urho3D::OcclusionBuffer::reverseCulling_
bool reverseCulling_
Culling reverse flag.
Definition: OcclusionBuffer.h:201
Urho3D::UnknownComponent::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: UnknownComponent.cpp:90
Urho3D::NetworkState
Per-object attribute state for network replication, allocated on demand.
Definition: ReplicationState.h:121
Urho3D::Application::exitCode_
int exitCode_
Application exit code.
Definition: Application.h:68
Urho3D::Animatable::GetAnimationEnabled
bool GetAnimationEnabled() const
Return animation enabled.
Definition: Animatable.h:106
Urho3D::CollisionShape
Physics collision shape component.
Definition: CollisionShape.h:143
Urho3D::Spriter::SpriterInstance::currentTime_
float currentTime_
Current time.
Definition: SpriterInstance2D.h:105
Urho3D::Serializable::WriteLatestDataUpdate
void WriteLatestDataUpdate(Serializer &dest, unsigned char timeStamp)
Write a latest data network update.
Definition: Serializable.cpp:797
Urho3D::Image::ConvertToRGBA
SharedPtr< Image > ConvertToRGBA() const
Return image converted to 4-component (RGBA) to circumvent modern rendering API's not supporting e....
Definition: Image.cpp:1896
Urho3D::Timer::Reset
void Reset()
Reset the timer.
Definition: Timer.cpp:210
Urho3D::AnimatedSprite2D::UpdateAnimation
void UpdateAnimation(float timeStep)
Update animation.
Definition: AnimatedSprite2D.cpp:252
Urho3D::FileSelector::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: FileSelector.cpp:138
Urho3D::Log::Write
static void Write(int level, const String &message)
Write to the log. If logging level is higher than the level of the message, the message is ignored.
Definition: Log.cpp:138
Urho3D::RigidBody::GetPosition
Vector3 GetPosition() const
Return rigid body position in world space.
Definition: RigidBody.cpp:602
Urho3D::SharedArrayPtr::Get
T * Get() const
Return the raw pointer.
Definition: ArrayPtr.h:159
Urho3D::Vector4::Data
const float * Data() const
Return float data.
Definition: Vector4.h:207
Urho3D::FileSelector::SetPath
void SetPath(const String &path)
Set current path.
Definition: FileSelector.cpp:193
Urho3D::Texture::SetBorderColor
void SetBorderColor(const Color &color)
Set border color for border addressing mode.
Definition: Texture.cpp:98
Urho3D::RigidBody2D::SetAwake
void SetAwake(bool awake)
Set awake.
Definition: RigidBody2D.cpp:283
Urho3D::Constraint::rotation_
Quaternion rotation_
Constraint rotation.
Definition: Constraint.h:183
Urho3D::FileWatcher::FileWatcher
FileWatcher(Context *context)
Construct.
Definition: FileWatcher.cpp:52
Urho3D::Input::GetTouch
TouchState * GetTouch(unsigned index) const
Return active finger touch by index.
Definition: Input.cpp:1439
Urho3D::Octant::ResetRoot
void ResetRoot()
Reset root pointer recursively. Called when the whole octree is being destroyed.
Definition: Octree.cpp:192
Urho3D::Material::fillMode_
FillMode fillMode_
Polygon fill mode.
Definition: Material.h:301
Urho3D::Rect::Define
void Define(const Rect &rect)
Define from another rect.
Definition: Rect.h:138
Urho3D::RaycastVehicle::FORWARD_RIGHT_UP
static const IntVector3 FORWARD_RIGHT_UP
(2, 0, 1) coordinate system.
Definition: RaycastVehicle.h:180
Urho3D::CrowdAgent::GetTargetState
CrowdAgentTargetState GetTargetState() const
Return the agent's target state.
Definition: CrowdAgent.cpp:497
Urho3D::Matrix2
2x2 matrix for rotation and scaling.
Definition: Matrix2.h:31
Urho3D::IKEffector::SetChainLength
void SetChainLength(unsigned chainLength)
Sets the number of segments that will be affected. 0 Means all nodes between this effector and the ne...
Definition: IKEffector.cpp:158
Urho3D::Connection::peer_
SLNet::RakPeerInterface * peer_
Raknet peer object.
Definition: Connection.h:339
Urho3D::AnimationControl::setWeightTtl_
float setWeightTtl_
Set weight command time-to-live.
Definition: AnimationController.h:70
Urho3D::Resource::LoadFile
bool LoadFile(const String &fileName)
Load resource from file.
Definition: Resource.cpp:87
Urho3D::Constraint::~Constraint
~Constraint() override
Destruct.
Definition: Constraint.cpp:74
Urho3D::ShaderVariation::ShaderVariation
ShaderVariation(Shader *owner, ShaderType type)
Construct.
Definition: ShaderVariation.cpp:58
Urho3D::Vector3::z_
float z_
Z coordinate.
Definition: Vector3.h:478
Urho3D::AnimatedModel::RemoveRootBone
void RemoveRootBone()
Remove (old) skeleton root bone.
Definition: AnimatedModel.cpp:1075
Urho3D::JSONValue::Pop
void Pop()
Remove the last JSON value.
Definition: JSONValue.cpp:210
Urho3D::Network::natPunchthroughServerClient_
SLNet::NatPunchthroughClient * natPunchthroughServerClient_
NAT punchtrough client for the server.
Definition: Network.h:186
Urho3D::Model::SetVertexBuffers
bool SetVertexBuffers(const Vector< SharedPtr< VertexBuffer > > &buffers, const PODVector< unsigned > &morphRangeStarts, const PODVector< unsigned > &morphRangeCounts)
Set vertex buffers and their morph ranges.
Definition: Model.cpp:491
Urho3D::DelayedCall::period_
float period_
Period for repeating calls.
Definition: ScriptEventListener.h:40
Urho3D::Constraint::GetDependencyNodes
void GetDependencyNodes(PODVector< Node * > &dest) override
Return the depended on nodes to order network updates.
Definition: Constraint.cpp:132
Urho3D::NamedPipe::~NamedPipe
~NamedPipe() override
Destruct and close.
Definition: NamedPipe.cpp:70
Urho3D::IKSolver::RebuildTree
void RebuildTree()
Builds the solver's tree to match the scene graph's tree. If a tree already exists,...
Definition: IKSolver.cpp:272
Urho3D::Technique::CloneWithDefines
SharedPtr< Technique > CloneWithDefines(const String &vsDefines, const String &psDefines)
Return a clone with added shader compilation defines. Called internally by Material.
Definition: Technique.cpp:497
Urho3D::PhysicsWorld2D::GetAllowSleeping
bool GetAllowSleeping() const
Return allow sleeping.
Definition: PhysicsWorld2D.cpp:680
Urho3D::IKSolver::BuildTreeToEffector
bool BuildTreeToEffector(IKEffector *effector)
Builds a chain of nodes up to the node of the specified effector component.
Definition: IKSolver.cpp:312
Urho3D::Skeleton::GetBoneIndex
unsigned GetBoneIndex(const String &boneName) const
Return index of the bone by name. Return M_MAX_UNSIGNED if not found.
Definition: Skeleton.cpp:173
Urho3D::Context::GetSubsystem
Object * GetSubsystem(StringHash type) const
Return subsystem by type.
Definition: Context.cpp:354
Urho3D::Network::StartServer
bool StartServer(unsigned short port, unsigned int maxConnections=128)
Start a server on a port using UDP protocol. Return true if successful.
Definition: Network.cpp:421
Urho3D::ParticleEffect2D::SetTangentialAccelVariance
void SetTangentialAccelVariance(float tangentialAccelVariance)
Set tangential acceleration variance.
Definition: ParticleEffect2D.cpp:359
Urho3D::StringHashRegister::map_
StringMap map_
Hash to string map.
Definition: StringHashRegister.h:59
Urho3D::View::viewRect_
IntRect viewRect_
Viewport rectangle.
Definition: View.h:346
Urho3D::Sprite2D::GetRectangle
const IntRect & GetRectangle() const
Return rectangle.
Definition: Sprite2D.h:68
Urho3D::Octant::center_
Vector3 center_
World bounding box center.
Definition: Octree.h:144
Urho3D::CheckBox::IsChecked
bool IsChecked() const
Return whether is checked.
Definition: CheckBox.h:59
Urho3D::PListValue::GetIntVector3
IntVector3 GetIntVector3() const
Return IntVector3, for string type.
Definition: PListFile.cpp:232
Urho3D::RibbonTrail::GetTrailType
TrailType GetTrailType() const
Return how the trail behave.
Definition: RibbonTrail.h:158
Urho3D::String::Swap
void Swap(String &str)
Swap with another string.
Definition: Str.cpp:483
Urho3D::Terrain::SetMaxLodLevels
void SetMaxLodLevels(unsigned levels)
Set maximum number of LOD levels for terrain patches. This can be between 1-4.
Definition: Terrain.cpp:208
Urho3D::Image::IsCompressed
bool IsCompressed() const
Return whether is compressed.
Definition: Image.h:174
Urho3D::AnimationSet2D::GetAnimation
String GetAnimation(unsigned index) const
Return animation name.
Definition: AnimationSet2D.cpp:167
Urho3D::ScriptInstance::scriptFile_
WeakPtr< ScriptFile > scriptFile_
Script file.
Definition: ScriptInstance.h:194
Urho3D::WeakArrayPtr::Lock
SharedArrayPtr< T > Lock() const
Convert to shared array pointer. If expired, return a null shared array pointer.
Definition: ArrayPtr.h:292
Urho3D::FontFaceBitmap::Blit
void Blit(Image *dest, int x, int y, int width, int height, Image *source, int sourceX, int sourceY, int components)
Blit.
Definition: FontFaceBitmap.cpp:374
Urho3D::FileSelectorEntry
File selector's list entry (file or directory).
Definition: FileSelector.h:42
Urho3D::CrowdAgent::GetTargetVelocity
const Vector3 & GetTargetVelocity() const
Return the agent's requested target velocity.
Definition: CrowdAgent.h:134
Urho3D::Octree::Update
void Update(const FrameInfo &frame)
Update and reinsert drawable objects.
Definition: Octree.cpp:364
Urho3D::ShaderParameter::size_
unsigned size_
Parameter size. Used only on Direct3D11 to calculate constant buffer size.
Definition: ShaderVariation.h:67
Urho3D::Variant::Variant
Variant(const String &type, const String &value)
Construct from type and value.
Definition: Variant.h:524
Urho3D::Component::node_
Node * node_
Scene node.
Definition: Component.h:138
Urho3D::PhysicsWorld::SetGravity
void SetGravity(const Vector3 &gravity)
Set gravity.
Definition: PhysicsWorld.cpp:320
Urho3D::AnimationKeyFrame::AnimationKeyFrame
AnimationKeyFrame()
Construct.
Definition: Animation.h:49
Urho3D::USE_UPDATE
@ USE_UPDATE
Bitmask for using the scene update event.
Definition: LogicComponent.h:38
Urho3D::CrowdAgent::GetPosition
Vector3 GetPosition() const
Return the agent's position.
Definition: CrowdAgent.cpp:473
Urho3D::ShaderProgram::GetParameter
const ShaderParameter * GetParameter(StringHash param) const
Return the info for a shader parameter, or null if does not exist.
Definition: OGLShaderProgram.cpp:338
Urho3D::UIElement::minSize_
IntVector2 minSize_
Minimum size.
Definition: UIElement.h:775
Urho3D::RigidBody::SetCollisionLayerAndMask
void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
Set collision group and mask.
Definition: RigidBody.cpp:499
Urho3D::DynamicNavigationMesh::RegisterObject
static void RegisterObject(Context *)
Register with engine context.
Definition: DynamicNavigationMesh.cpp:228
Urho3D::ConstraintDistance2D::SetFrequencyHz
void SetFrequencyHz(float frequencyHz)
Set frequency Hz.
Definition: ConstraintDistance2D.cpp:82
Urho3D::Input::IsScreenJoystickVisible
bool IsScreenJoystickVisible(SDL_JoystickID id) const
Return whether a virtual joystick is visible.
Definition: Input.cpp:1480
Urho3D::ObjectAnimation::ObjectAnimation
ObjectAnimation(Context *context)
Construct.
Definition: ObjectAnimation.cpp:46
Urho3D::TerrainPatch::owner_
WeakPtr< Terrain > owner_
Parent terrain.
Definition: TerrainPatch.h:126
Urho3D::StaticModel::CalculateLodLevels
void CalculateLodLevels()
Choose LOD levels based on distance.
Definition: StaticModel.cpp:420
Urho3D::ListView::selections_
PODVector< unsigned > selections_
Current selection.
Definition: ListView.h:170
Urho3D::Plane::Plane
Plane(const Vector4 &plane) noexcept
Construct from a 4-dimensional vector, where the w coordinate is the plane parameter.
Definition: Plane.h:56
Urho3D::CollisionShape2D::CreateFixture
void CreateFixture()
Create fixture.
Definition: CollisionShape2D.cpp:204
Urho3D::AnimationSet2D::EndLoadSpriter
bool EndLoadSpriter()
Finish load scml.
Definition: AnimationSet2D.cpp:348
Urho3D::Variant::GetVariantMapPtr
VariantMap * GetVariantMapPtr()
Return a pointer to a modifiable variant map or null on type mismatch.
Definition: Variant.h:1360
Urho3D::Sprite
UI element which allows sub-pixel positioning and size, as well as rotation. Only other Sprites shoul...
Definition: Sprite.h:32
Urho3D::ParticleEmitter::RemoveAllParticles
void RemoveAllParticles()
Remove all current particles.
Definition: ParticleEmitter.cpp:323
Urho3D::RaycastVehicle::SetWheelSkidInfo
void SetWheelSkidInfo(int wheel, float factor)
Set sliding factor 0 <= x <= 1. The less the value, more sliding.
Definition: RaycastVehicle.cpp:664
Urho3D::List::List
List(const std::initializer_list< T > &list)
Aggregate initialization constructor.
Definition: List.h:191
Urho3D::UIElement::appliedStyle_
String appliedStyle_
Applied style.
Definition: UIElement.h:744
Urho3D::XMLFile::Save
bool Save(Serializer &dest) const override
Save resource with default indentation (one tab). Return true if successful.
Definition: XMLFile.cpp:132
Urho3D::DebugRenderer::AddSphereSector
void AddSphereSector(const Sphere &sphere, const Quaternion &rotation, float angle, bool drawLines, const Color &color, bool depthTest=true)
Add a sphere sector. Angle ranges from 0 to 360. Identity Quaternion yields the filled portion of the...
Definition: DebugRenderer.cpp:281
Urho3D::Terrain::WorldToHeightMap
IntVector2 WorldToHeightMap(const Vector3 &worldPosition) const
Convert world position to heightmap pixel position. Note that the internal height data representation...
Definition: Terrain.cpp:622
Urho3D::Terrain::GetSmoothing
bool GetSmoothing() const
Return whether smoothing is in use.
Definition: Terrain.h:123
Urho3D::FlagSet::ToHash
unsigned ToHash() const
Return hash value.
Definition: FlagSet.h:232
Urho3D::XMLFile::GetOrCreateRoot
XMLElement GetOrCreateRoot(const String &name)
Get the root element if it has matching name, otherwise create it and clear the document.
Definition: XMLFile.cpp:151
Urho3D::Graphics::GetMonitor
int GetMonitor() const
Return the current monitor index. Effective on in fullscreen.
Definition: Graphics.h:378
Urho3D::ParticleEmitter2D::particles_
Vector< Particle2D > particles_
Particles.
Definition: ParticleEmitter2D.h:159
Urho3D::ValueAnimationInfo
Base class for a value animation instance, which includes animation runtime information and updates t...
Definition: ValueAnimationInfo.h:39
Urho3D::Variant::GetBool
bool GetBool() const
Return bool or false on type mismatch.
Definition: Variant.h:1146
Urho3D::NavigationMesh::GetDetailSampleMaxError
float GetDetailSampleMaxError() const
Return detail sampling maximum error.
Definition: NavigationMesh.h:234
Urho3D::AnimationController::Play
bool Play(const String &name, unsigned char layer, bool looped, float fadeInTime=0.0f)
Play an animation and set full target weight. Name must be the full resource name....
Definition: AnimationController.cpp:159
Urho3D::UniquePtr::Null
bool Null() const
Check if the pointer is null.
Definition: Ptr.h:643
Urho3D::ParticleEffect::GetMaterial
Material * GetMaterial() const
Return material.
Definition: ParticleEffect.h:227
Urho3D::Light::SetShadowCascade
void SetShadowCascade(const CascadeParameters &parameters)
Set directional light cascaded shadow parameters.
Definition: Light.cpp:372
Urho3D::BillboardSet::UpdateVertexBuffer
void UpdateVertexBuffer(const FrameInfo &frame)
Rewrite billboard vertex buffer.
Definition: BillboardSet.cpp:577
Urho3D::Renderer::OptimizeLightByScissor
void OptimizeLightByScissor(Light *light, Camera *camera)
Optimize a light by scissor rectangle.
Definition: Renderer.cpp:1372
Urho3D::ConstraintPrismatic2D::SetEnableLimit
void SetEnableLimit(bool enableLimit)
Set enable limit.
Definition: ConstraintPrismatic2D.cpp:84
Urho3D::FlagSet::operator|=
FlagSet & operator|=(const Enum value)
Bitwise OR against Enum value.
Definition: FlagSet.h:90
Urho3D::ParticleEffect2D::SetSpeed
void SetSpeed(float speed)
Set speed.
Definition: ParticleEffect2D.cpp:309
Urho3D::UIElement::GetParent
UIElement * GetParent() const
Return parent element.
Definition: UIElement.h:579
Urho3D::JSON_NUMBER
@ JSON_NUMBER
JSON number type.
Definition: JSONValue.h:40
Urho3D::CrowdAgent::GetAgentCrowdId
int GetAgentCrowdId() const
Return the agent id.
Definition: CrowdAgent.h:148
Urho3D::Light::GetShadowMaxExtrusion
float GetShadowMaxExtrusion() const
Return maximum shadow extrusion distance for directional lights.
Definition: Light.h:286
Urho3D::UI::HandleMouseMove
void HandleMouseMove(StringHash eventType, VariantMap &eventData)
Handle mouse move event.
Definition: UI.cpp:1794
Urho3D::ConstraintPulley2D::GetOwnerBodyAnchor
const Vector2 & GetOwnerBodyAnchor() const
Return owner body anchor.
Definition: ConstraintPulley2D.h:61
Urho3D::HashMap::Head
Node * Head() const
Return the head node.
Definition: HashMap.h:623
Urho3D::Animatable::SetAnimationTime
void SetAnimationTime(float time)
Set time position of all attribute animations or an object animation manually. Automatic update shoul...
Definition: Animatable.cpp:276
Urho3D::Octree::AddManualDrawable
void AddManualDrawable(Drawable *drawable)
Add a drawable manually.
Definition: Octree.cpp:477
Urho3D::Vector4::y_
float y_
Y coordinate.
Definition: Vector4.h:227
Urho3D::Light::GetAspectRatio
float GetAspectRatio() const
Return spotlight aspect ratio.
Definition: Light.h:259
Urho3D::Vector::ConstructElements
static void ConstructElements(T *dest, RandomIteratorT start, RandomIteratorT end, CopyTag)
Copy-construct elements.
Definition: Vector.h:553
Urho3D::Engine::Render
void Render()
Render after frame update.
Definition: Engine.cpp:705
Urho3D::JSONValue::GetVariantMap
VariantMap GetVariantMap() const
Return a variant map.
Definition: JSONValue.cpp:573
Urho3D::NavigationMesh::edgeMaxLength_
float edgeMaxLength_
Edge max length.
Definition: NavigationMesh.h:330
Urho3D::ParticleEmitter::GetEffectAttr
ResourceRef GetEffectAttr() const
Set particles effect attribute.
Definition: ParticleEmitter.cpp:364
Urho3D::ScrollBar::StepBack
void StepBack()
Scroll back one step.
Definition: ScrollBar.cpp:191
Urho3D::Quaternion::Axis
Vector3 Axis() const
Return rotation axis.
Definition: Quaternion.cpp:224
Urho3D::ShaderParameter::name_
String name_
Name of the parameter.
Definition: ShaderVariation.h:52
Urho3D::OcclusionBuffer::height_
int height_
Buffer height.
Definition: OcclusionBuffer.h:191
Urho3D::ScrollView::GetAutoDisableThreshold
float GetAutoDisableThreshold() const
Return how much touch movement is needed to trigger child element disabling.
Definition: ScrollView.h:131
Urho3D::Sound::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Sound.cpp:79
Urho3D::Renderer::SetOcclusionBufferSize
void SetOcclusionBufferSize(int size)
Set occluder buffer width.
Definition: Renderer.cpp:491
Urho3D::HashSet::Front
const T & Front() const
Return first key.
Definition: HashSet.h:513
Urho3D::SoundSource::MixMonoToMonoIP
void MixMonoToMonoIP(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix mono sample to mono buffer interpolated.
Definition: SoundSource.cpp:759
Urho3D::TileMapObject2D::GetTileSwapXY
bool GetTileSwapXY() const
Return tile swap X and Y.
Definition: TileMapDefs2D.h:197
Urho3D::CompressedLevel::rowSize_
unsigned rowSize_
Row size in bytes.
Definition: Image.h:75
Urho3D::Zone::SetOverride
void SetOverride(bool enable)
Set override mode. If camera is inside an override zone, that zone will be used for all rendered obje...
Definition: Zone.cpp:166
Urho3D::Variant::GetType
VariantType GetType() const
Return value's type.
Definition: Variant.h:1329
Urho3D::PhysicsWorld::GetGImpactTrimeshCache
CollisionGeometryDataCache & GetGImpactTrimeshCache()
Return GImpact trimesh collision geometry cache.
Definition: PhysicsWorld.h:275
Urho3D::GeometryDesc::vbRef_
unsigned vbRef_
Vertex buffer ref.
Definition: Model.h:98
Urho3D::Node::LookAt
bool LookAt(const Vector3 &target, const Vector3 &up=Vector3::UP, TransformSpace space=TS_WORLD)
Look at a target position in the chosen transform space. Note that the up vector is always specified ...
Definition: Node.cpp:670
Urho3D::ParticleEffect2D::SetSprite
void SetSprite(Sprite2D *sprite)
Set sprite.
Definition: ParticleEffect2D.cpp:299
Urho3D::CrowdAgent
Crowd agent component, requires a CrowdManager component in the scene. When not set explicitly,...
Definition: CrowdAgent.h:74
Urho3D::Camera::GetClipPlaneAttr
Vector4 GetClipPlaneAttr() const
Return clipping plane attribute.
Definition: Camera.cpp:631
Urho3D::Graphics::numBatches_
unsigned numBatches_
Number of batches this frame.
Definition: Graphics.h:763
Urho3D::Skybox::RegisterObject
static void RegisterObject(Context *context)
Register object factory. StaticModel must be registered first.
Definition: Skybox.cpp:46
Urho3D::RigidBody::SetCollisionMask
void SetCollisionMask(unsigned mask)
Set collision mask.
Definition: RigidBody.cpp:489
Urho3D::Shader::GetVariation
ShaderVariation * GetVariation(ShaderType type, const String &defines)
Return a variation with defines. Separate multiple defines with spaces.
Definition: Shader.cpp:123
Urho3D::FontFace::LoadFaceTexture
SharedPtr< Texture2D > LoadFaceTexture(const SharedPtr< Image > &image)
Load font face texture from image resource.
Definition: FontFace.cpp:109
Urho3D::Matrix2::ZERO
static const Matrix2 ZERO
Zero matrix.
Definition: Matrix2.h:253
Urho3D::DbResult::DbResult
DbResult()
Default constructor constructs an empty result object.
Definition: ODBCResult.h:39
Urho3D::VertexElement::type_
VertexElementType type_
Data type of element.
Definition: GraphicsDefs.h:212
Urho3D::UIElement::screenPosition_
IntVector2 screenPosition_
Screen position.
Definition: UIElement.h:740
Urho3D::CustomGeometry::DefineColor
void DefineColor(const Color &color)
Define a vertex color.
Definition: CustomGeometry.cpp:559
Urho3D::Sound::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Sound.cpp:84
Urho3D::Node::SetNetPositionAttr
void SetNetPositionAttr(const Vector3 &value)
Set network position attribute.
Definition: Node.cpp:1456
Urho3D::Network::UnregisterAllRemoteEvents
void UnregisterAllRemoteEvents()
Unregister all remote events.
Definition: Network.cpp:608
Urho3D::RenderPathCommand::pass_
String pass_
Scene pass name.
Definition: RenderPath.h:144
Urho3D::RaycastVehicle::GetWheelRadius
float GetWheelRadius(int wheel) const
Get wheel radius.
Definition: RaycastVehicle.cpp:562
Urho3D::LuaScriptInstance::RemoveAllEventHandlers
void RemoveAllEventHandlers() override
Remove all scripted event handlers.
Definition: LuaScriptInstance.cpp:356
Urho3D::Slider::GetKnob
BorderImage * GetKnob() const
Return knob element.
Definition: Slider.h:88
Urho3D::Pass::GetDepthTestMode
CompareMode GetDepthTestMode() const
Return depth compare mode.
Definition: Technique.h:96
Urho3D::LinkedList::Insert
void Insert(T *element)
Insert an element at the end.
Definition: LinkedList.h:103
Urho3D::ConstraintMouse2D::ConstraintMouse2D
ConstraintMouse2D(Context *context)
Construct.
Definition: ConstraintMouse2D.cpp:37
Urho3D::Texture2DArray::HandleRenderSurfaceUpdate
void HandleRenderSurfaceUpdate(StringHash eventType, VariantMap &eventData)
Handle render surface update event.
Definition: Texture2DArray.cpp:198
Urho3D::UI::SetDefaultToolTipDelay
void SetDefaultToolTipDelay(float delay)
Set tooltip default display delay in seconds.
Definition: UI.cpp:659
Urho3D::PListValue::GetIntRect
IntRect GetIntRect() const
Return IntRect, for string type.
Definition: PListFile.cpp:212
Urho3D::VertexBuffer::GetElement
const VertexElement * GetElement(VertexElementSemantic semantic, unsigned char index=0) const
Return vertex element, or null if does not exist.
Definition: VertexBuffer.cpp:116
Urho3D::Renderer2D::GetDrawables
void GetDrawables(PODVector< Drawable2D * > &drawables, Node *node)
Get all drawables in node.
Definition: Renderer2D.cpp:387
Urho3D::ParticleEmitter2D::SetSprite
void SetSprite(Sprite2D *sprite)
Set sprite.
Definition: ParticleEmitter2D.cpp:108
Urho3D::Text::GetRowStartPosition
int GetRowStartPosition(unsigned rowIndex) const
Return row start X position.
Definition: Text.cpp:763
Urho3D::DecalSet::GetUpdateGeometryType
UpdateGeometryType GetUpdateGeometryType() override
Return whether a geometry update is necessary, and if it can happen in a worker thread.
Definition: DecalSet.cpp:238
Urho3D::SplinePath::Reset
void Reset()
Reset movement along the path.
Definition: SplinePath.cpp:236
Urho3D::Graphics::GetReadableDepthSupport
bool GetReadableDepthSupport() const
Return whether a readable hardware depth format is available.
Definition: Graphics.h:432
Urho3D::DelayedWorldTransform2D::parentRigidBody_
RigidBody2D * parentRigidBody_
Parent rigid body.
Definition: PhysicsWorld2D.h:62
Urho3D::LuaScriptObjectMethod
LuaScriptObjectMethod
Lua Script object methods.
Definition: LuaScriptInstance.h:41
Urho3D::AreaAllocator::AreaAllocator
AreaAllocator()
Default construct with empty size.
Definition: AreaAllocator.cpp:32
Urho3D::Model::loadGeometries_
Vector< PODVector< GeometryDesc > > loadGeometries_
Geometry definitions for asynchronous loading.
Definition: Model.h:230
Urho3D::XMLElement::GetVector
Vector4 GetVector(const String &name) const
Return any Vector attribute as Vector4. Missing coordinates will be zero.
Definition: XMLElement.cpp:965
Urho3D::UIBatch::SetColor
void SetColor(const Color &color, bool overrideAlpha=false)
Set new color for the batch. Overrides gradient.
Definition: UIBatch.cpp:54
Urho3D::Engine::Engine
Engine(Context *context)
Construct.
Definition: Engine.cpp:95
Urho3D::AnimationSet2D::AnimationSet2D
AnimationSet2D(Context *context)
Construct.
Definition: AnimationSet2D.cpp:104
Urho3D::Variant::GetVector2
const Vector2 & GetVector2() const
Return Vector2 or zero on type mismatch.
Definition: Variant.h:1179
Urho3D::Node::LocalToWorld2D
Vector2 LocalToWorld2D(const Vector2 &vector) const
Convert a local space position or rotation to world space (for Urho2D).
Definition: Node.cpp:1200
Urho3D::HashIteratorBase::ptr_
HashNodeBase * ptr_
Node pointer.
Definition: HashBase.h:93
Urho3D::VectorBuffer::Clear
void Clear()
Reset to zero size.
Definition: VectorBuffer.cpp:123
Urho3D::StringHash::Value
unsigned Value() const
Return hash value.
Definition: StringHash.h:90
Urho3D::BorderImage::material_
SharedPtr< Material > material_
Material used for custom rendering.
Definition: BorderImage.h:133
Urho3D::PackageUpload::totalFragments_
unsigned totalFragments_
Total number of fragments.
Definition: Connection.h:98
Urho3D::Rect::Min
Vector2 Min() const
Return left-top corner position.
Definition: Rect.h:241
Urho3D::Deserializer::GetSize
unsigned GetSize() const
Return size.
Definition: Deserializer.h:62
Urho3D::Node::GetOwner
Connection * GetOwner() const
Return owner connection in networking.
Definition: Node.h:374
Urho3D::Terrain::ApplyHeightMap
void ApplyHeightMap()
Apply changes from the heightmap image.
Definition: Terrain.cpp:512
Urho3D::WeakArrayPtr::operator*
T & operator*() const
Dereference the array.
Definition: ArrayPtr.h:318
Urho3D::ParticleEffect2D::GetSourcePositionVariance
const Vector2 & GetSourcePositionVariance() const
Return source position variance.
Definition: ParticleEffect2D.h:140
Urho3D::PODVector::End
Iterator End()
Return iterator to the end.
Definition: Vector.h:1126
Urho3D::List::List
List(List< T > &&list) noexcept
Move-construct from another list.
Definition: List.h:185
Urho3D::CrowdAgent::SetRadius
void SetRadius(float radius)
Set the agent's radius.
Definition: CrowdAgent.cpp:399
Urho3D::LineEdit::line_
String line_
Text line.
Definition: LineEdit.h:134
Urho3D::CustomGeometry::IsDynamic
bool IsDynamic() const
Return whether vertex buffer dynamic mode is enabled.
Definition: CustomGeometry.h:138
Urho3D::ScriptInstance::SetClassName
void SetClassName(const String &className)
Set class name only. Recreate object if necessary.
Definition: ScriptInstance.cpp:265
Urho3D::List::ConstIterator::ConstIterator
ConstIterator(Node *ptr)
Construct with a node pointer.
Definition: List.h:113
Urho3D::LuaScriptInstance::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: LuaScriptInstance.cpp:509
Urho3D::Engine::SetMaxInactiveFps
void SetMaxInactiveFps(int fps)
Set maximum frames per second when the application does not have input focus.
Definition: Engine.cpp:573
Urho3D::RigidBody2D::massData_
b2MassData massData_
Box2D mass data.
Definition: RigidBody2D.h:175
Urho3D::OcclusionBuffer::GetNumTriangles
unsigned GetNumTriangles() const
Return number of rendered triangles.
Definition: OcclusionBuffer.h:141
Urho3D::Vector::Erase
void Erase(unsigned pos, unsigned length=1)
Erase a range of elements.
Definition: Vector.h:339
Urho3D::ListIteratorBase::ListIteratorBase
ListIteratorBase()
Construct.
Definition: ListBase.h:57
Urho3D::List::Clear
void Clear()
Clear the list.
Definition: List.h:347
Urho3D::NodeImpl::attrBuffer_
VectorBuffer attrBuffer_
Attribute buffer for network updates.
Definition: Node.h:71
Urho3D::BackgroundLoadItem
Queue item for background loading of a resource.
Definition: BackgroundLoader.h:40
Urho3D::CollisionShape::rigidBody_
WeakPtr< RigidBody > rigidBody_
Rigid body.
Definition: CollisionShape.h:292
Urho3D::Texture::multiSample_
int multiSample_
Multisampling level.
Definition: Texture.h:235
Urho3D::Node::GetRotation
const Quaternion & GetRotation() const
Return rotation in parent space.
Definition: Node.h:383
Urho3D::Engine::IsExiting
bool IsExiting() const
Return whether exit has been requested.
Definition: Engine.h:103
Urho3D::Rect::Merge
void Merge(const Rect &rect)
Merge a rect.
Definition: Rect.h:171
Urho3D::LuaScriptInstance::GetScriptObjectRef
int GetScriptObjectRef() const
Return Lua reference to script object.
Definition: LuaScriptInstance.h:128
Urho3D::Drawable::GetLodBias
float GetLodBias() const
Return LOD bias.
Definition: Drawable.h:192
Urho3D::Engine::GetPauseMinimized
bool GetPauseMinimized() const
Return whether to pause update events and audio when minimized.
Definition: Engine.h:94
Urho3D::Vector::~Vector
~Vector()
Destruct.
Definition: Vector.h:104
Urho3D::Spline::GetKnots
const VariantVector & GetKnots() const
Return the knots of the spline.
Definition: Spline.h:80
Urho3D::Drawable::MarkInView
void MarkInView(const FrameInfo &frame)
Mark in view. Also clear the light list.
Definition: Drawable.cpp:296
Urho3D::LM_HORIZONTAL
@ LM_HORIZONTAL
Layout child elements horizontally and resize them to fit. Resize element if necessary.
Definition: UIElement.h:90
Urho3D::ListIteratorBase
Doubly-linked list iterator base class.
Definition: ListBase.h:54
Urho3D::TextureCube
Cube texture resource.
Definition: TextureCube.h:36
Urho3D::DecalSet::optimizeBufferSize_
bool optimizeBufferSize_
Optimize buffer sizes flag.
Definition: DecalSet.h:239
Urho3D::WeakPtr::RefCountPtr
RefCount * RefCountPtr() const
Return pointer to the RefCount structure.
Definition: Ptr.h:501
Urho3D::ConstraintPulley2D::SetOtherBodyAnchor
void SetOtherBodyAnchor(const Vector2 &anchor)
Set other body anchor point.
Definition: ConstraintPulley2D.cpp:97
Urho3D::Constraint::GetOtherPosition
const Vector3 & GetOtherPosition() const
Return constraint position relative to other body.
Definition: Constraint.h:122
Urho3D::Camera::GetUseReflection
bool GetUseReflection() const
Return whether is using reflection.
Definition: Camera.h:176
Urho3D::VertexBuffer::Release
void Release() override
Release buffer.
Definition: OGLVertexBuffer.cpp:56
Urho3D::Graphics::GetAnisotropySupport
bool GetAnisotropySupport() const
Return whether anisotropic texture filtering is supported.
Definition: Graphics.h:426
Urho3D::BorderImage::SetMaterialAttr
void SetMaterialAttr(const ResourceRef &value)
Set material attribute.
Definition: BorderImage.cpp:231
Urho3D::Batch::pass_
Pass * pass_
Material pass.
Definition: Batch.h:102
Urho3D::Sphere::Sphere
Sphere(const Polyhedron &poly) noexcept
Construct from a polyhedron.
Definition: Sphere.h:74
Urho3D::FileWatcher::StartWatching
bool StartWatching(const String &pathName, bool watchSubDirs)
Start watching a directory. Return true if successful.
Definition: FileWatcher.cpp:77
Urho3D::BatchQueue::maxSortedInstances_
unsigned maxSortedInstances_
Maximum sorted instances.
Definition: Batch.h:263
Urho3D::Input::keyDown_
HashSet< int > keyDown_
Key down state.
Definition: Input.h:366
Urho3D::RenderPath::Append
bool Append(XMLFile *file)
Append data from an XML file. Return true if successful.
Definition: RenderPath.cpp:329
Urho3D::Graphics::DeleteFramebuffer
void DeleteFramebuffer(unsigned fbo)
Delete a framebuffer using either extension or core functionality. Used only on OpenGL.
Definition: OGLGraphics.cpp:3267
Urho3D::Profiler::GetCurrentBlock
const ProfilerBlock * GetCurrentBlock()
Return the current profiling block.
Definition: Profiler.h:214
Urho3D::FillMode
FillMode
Fill mode.
Definition: GraphicsDefs.h:107
Urho3D::AnimationStateTrack::track_
const AnimationTrack * track_
Animation track.
Definition: AnimationState.h:59
Urho3D::Input::Update
void Update()
Poll for window messages. Called by HandleBeginFrame().
Definition: Input.cpp:406
Urho3D::ParticleEffect::relative_
bool relative_
Billboards relative flag.
Definition: ParticleEffect.h:365
Urho3D::FileSystem::Copy
bool Copy(const String &srcFileName, const String &destFileName)
Copy a file. Return true if successful.
Definition: FileSystem.cpp:472
Urho3D::UISelectable::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: UISelectable.cpp:42
Urho3D::ParticleEffect::sorted_
bool sorted_
Billboards sorted flag.
Definition: ParticleEffect.h:369
Urho3D::LineEdit::FilterImplicitAttributes
bool FilterImplicitAttributes(XMLElement &dest) const override
Filter implicit attributes in serialization process.
Definition: LineEdit.cpp:537
Urho3D::AsyncProgress::resources_
HashSet< StringHash > resources_
Resource name hashes left to load.
Definition: Scene.h:75
Urho3D::CrowdAgentState
CrowdAgentState
Definition: CrowdAgent.h:51
Urho3D::UIBatch::texture_
Texture * texture_
Texture.
Definition: UIBatch.h:83
Urho3D::TouchState::touchID_
int touchID_
Touch (finger) ID.
Definition: Input.h:63
Urho3D::Graphics::GetStencilCompareMask
unsigned GetStencilCompareMask() const
Return stencil compare bitmask.
Definition: Graphics.h:555
Urho3D::Variant::GetPtr
RefCounted * GetPtr() const
Return a RefCounted pointer or null on type mismatch. Will return null if holding a void pointer,...
Definition: Variant.h:1268
Urho3D::ConstraintRevolute2D::SetAnchor
void SetAnchor(const Vector2 &anchor)
Set anchor.
Definition: ConstraintRevolute2D.cpp:60
Urho3D::VertexBuffer::GetElementOffset
unsigned GetElementOffset(VertexElementType type, VertexElementSemantic semantic, unsigned char index=0) const
Return offset of a element with specific type within vertex, or M_MAX_UNSIGNED if element does not ex...
Definition: VertexBuffer.h:100
Urho3D::Skybox::~Skybox
~Skybox() override
Destruct.
Urho3D::Connection::IsSceneLoaded
bool IsSceneLoaded() const
Return whether the scene is loaded and ready to receive server updates.
Definition: Connection.h:204
Urho3D::DebugRenderer::GetView
const Matrix3x4 & GetView() const
Return the view transform.
Definition: DebugRenderer.h:158
Urho3D::FloorToInt
int FloorToInt(T x)
Round value down. Returns integer value.
Definition: MathDefs.h:191
Urho3D::SoundStream
Base class for sound streams.
Definition: SoundStream.h:31
Urho3D::XPathQuery::query_
UniquePtr< pugi::xpath_query > query_
Pugixml xpath_query.
Definition: XMLElement.h:402
Urho3D::Constraint::ownBody_
WeakPtr< RigidBody > ownBody_
Own rigid body.
Definition: Constraint.h:173
Urho3D::Zone::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: Zone.cpp:93
Urho3D::Camera::useReflection_
bool useReflection_
Reflection mode enabled flag.
Definition: Camera.h:280
Urho3D::ScrollView::GetHorizontalScrollBarVisible
bool GetHorizontalScrollBarVisible() const
Return whether the horizontal scrollbar is visible.
Definition: ScrollView.cpp:358
Urho3D::Vector4::Vector4
Vector4(float x, float y, float z, float w) noexcept
Construct from coordinates.
Definition: Vector4.h:56
Urho3D::Console::IsAutoVisibleOnError
bool IsAutoVisibleOnError() const
Return true when console is set to automatically visible when receiving an error log message.
Definition: Console.h:96
Urho3D::Vector3::x_
float x_
X coordinate.
Definition: Vector3.h:474
Urho3D::Font::IsSDFFont
bool IsSDFFont() const
Is signed distance field font.
Definition: Font.h:76
Urho3D::Text::UpdateCharLocations
void UpdateCharLocations()
Update cached character locations after text update, or when text alignment or indent has changed.
Definition: Text.cpp:679
Urho3D::PerThreadSceneResult
Per-thread geometry, light and scene range collection structure.
Definition: View.h:95
Urho3D::JSONValue::IsNumber
bool IsNumber() const
Check is number.
Definition: JSONValue.h:183
Urho3D::Graphics::ResolveToTexture
bool ResolveToTexture(Texture2D *destination, const IntRect &viewport)
Resolve multisampled backbuffer to a texture rendertarget. The texture's size should match the viewpo...
Definition: OGLGraphics.cpp:692
Urho3D::ConstraintGear2D::~ConstraintGear2D
~ConstraintGear2D() override
Destruct.
Urho3D::SharedArrayPtr::operator=
SharedArrayPtr< T > & operator=(const SharedArrayPtr< T > &rhs)
Assign from another shared array pointer.
Definition: ArrayPtr.h:67
Urho3D::FrustumPlane
FrustumPlane
Frustum planes.
Definition: Frustum.h:37
Urho3D::Terrain::SetHeightMap
bool SetHeightMap(Image *image)
Set heightmap image. Dimensions should be a power of two + 1. Uses 8-bit grayscale,...
Definition: Terrain.cpp:244
Urho3D::LogicComponent::currentEventMask_
UpdateEventFlags currentEventMask_
Current event subscription mask.
Definition: LogicComponent.h:110
Urho3D::ParticleEffect2D::SetParticleLifeSpan
void SetParticleLifeSpan(float particleLifeSpan)
Set particle lifespan.
Definition: ParticleEffect2D.cpp:319
Urho3D::IKEffector::UpdateTargetNodePosition
void UpdateTargetNodePosition()
Intended to be used by IKSolver. Copies the positions/rotations of the target node into the effector.
Definition: IKEffector.cpp:247
Urho3D::ShaderProgram::ShaderProgram
ShaderProgram(Graphics *graphics, ShaderVariation *vertexShader, ShaderVariation *pixelShader)
Construct.
Definition: OGLShaderProgram.cpp:61
Urho3D::StretchableSprite2D::StretchableSprite2D
StretchableSprite2D(Context *context)
Construct.
Definition: StretchableSprite2D.cpp:122
Urho3D::ProgressBar::ProgressBar
ProgressBar(Context *context)
Construct.
Definition: ProgressBar.cpp:37
Urho3D::FileSystem::Delete
bool Delete(const String &fileName)
Delete a file. Return true if successful.
Definition: FileSystem.cpp:520
Urho3D::Zone::ambientGradient_
bool ambientGradient_
Ambient gradient mode flag.
Definition: Zone.h:144
Urho3D::Texture::usage_
TextureUsage usage_
Texture usage type.
Definition: Texture.h:211
Urho3D::Graphics::fillMode_
FillMode fillMode_
Polygon fill mode.
Definition: Graphics.h:821
Urho3D::AnimatedModel::ProcessRayQuery
void ProcessRayQuery(const RayOctreeQuery &query, PODVector< RayQueryResult > &results) override
Process octree raycast. May be called from a worker thread.
Definition: AnimatedModel.cpp:161
Urho3D::UI::SetMaxDoubleClickDistance
void SetMaxDoubleClickDistance(float distPixels)
Set max screen distance in pixels between double click clicks.
Definition: UI.cpp:644
Urho3D::String::NextUTF8Char
unsigned NextUTF8Char(unsigned &byteOffset) const
Return next Unicode character from UTF8 content and increase byte offset.
Definition: Str.cpp:812
Urho3D::HashSet::End
Iterator End()
Return iterator to the end.
Definition: HashSet.h:507
Urho3D::CrowdAgent::radius_
float radius_
Agent's radius, if 0 the navigation mesh's setting will be used.
Definition: CrowdAgent.h:220
Urho3D::SoundSource3D::SetNearDistance
void SetNearDistance(float distance)
Set near distance. Inside this range sound will not be attenuated.
Definition: SoundSource3D.cpp:125
Urho3D::TextureCube::faceMemoryUse_
unsigned faceMemoryUse_[MAX_CUBEMAP_FACES]
Memory use per face.
Definition: TextureCube.h:87
Urho3D::DebugHud::ClearAppStats
void ClearAppStats()
Clear all application-specific stats.
Definition: DebugHud.cpp:298
Urho3D::ProfilerBlock::intervalTime_
long long intervalTime_
Time during current profiler interval.
Definition: Profiler.h:158
Urho3D::View::IsNecessary
bool IsNecessary(const RenderPathCommand &command)
Check if a command is enabled and has content to render. To be called only after render update has co...
Definition: View.cpp:1899
Urho3D::PhysicsWorld::SetMaxNetworkAngularVelocity
void SetMaxNetworkAngularVelocity(float velocity)
Set maximum angular velocity for network replication.
Definition: PhysicsWorld.cpp:365
Urho3D::Input::GetKeyPress
bool GetKeyPress(Key key) const
Check if a key has been pressed on this frame.
Definition: Input.cpp:1339
Urho3D::Graphics::GetDefaultTextureFilterMode
TextureFilterMode GetDefaultTextureFilterMode() const
Return default texture filtering mode.
Definition: Graphics.h:486
Urho3D::BatchGroupKey::operator==
bool operator==(const BatchGroupKey &rhs) const
Test for equality with another batch group key.
Definition: Batch.h:208
Urho3D::PackageFile::checksum_
unsigned checksum_
Package file checksum.
Definition: PackageFile.h:100
Urho3D::OcclusionBatch::vertexData_
const void * vertexData_
Vertex data pointer.
Definition: OcclusionBuffer.h:70
Urho3D::ValueAnimationInfo::animation_
SharedPtr< ValueAnimation > animation_
Attribute animation.
Definition: ValueAnimationInfo.h:88
Urho3D::Color::MAGENTA
static const Color MAGENTA
Opaque magenta color.
Definition: Color.h:279
Urho3D::SharedPtr::operator==
bool operator==(const SharedPtr< U > &rhs) const
Test for equality with another shared pointer.
Definition: Ptr.h:155
Urho3D::RenderTargetInfo::format_
unsigned format_
Texture format.
Definition: RenderPath.h:78
Urho3D::HashMap::KeyValue::first_
const T first_
Key.
Definition: HashMap.h:76
Urho3D::NavArea::SetAreaID
void SetAreaID(unsigned newID)
Set the area id for this volume.
Definition: NavArea.cpp:60
Urho3D::Input::minimized_
bool minimized_
Minimized flag.
Definition: Input.h:422
Urho3D::RenderPath
Rendering path definition. A sequence of commands (e.g. clear screen, draw objects with specific pass...
Definition: RenderPath.h:190
Urho3D::WrapMode
WrapMode
Animation wrap mode.
Definition: AnimationDefs.h:31
Urho3D::StretchableSprite2D::SetBorder
void SetBorder(const IntRect &border)
Set border as number of pixels from each side.
Definition: StretchableSprite2D.cpp:135
Urho3D::XMLFile::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: XMLFile.cpp:79
Urho3D::Node::SetScale
void SetScale(float scale)
Set uniform scale in parent space.
Definition: Node.cpp:463
Urho3D::AnimationController::GetAnimationsAttr
VariantVector GetAnimationsAttr() const
Return animation control structures attribute.
Definition: AnimationController.cpp:746
Urho3D::Animation::GetTrigger
AnimationTriggerPoint * GetTrigger(unsigned index)
Return a trigger point by index.
Definition: Animation.cpp:418
Urho3D::SharedArrayPtr::operator==
bool operator==(const SharedArrayPtr< T > &rhs) const
Test for equality with another shared array pointer.
Definition: ArrayPtr.h:120
Urho3D::ConstraintPrismatic2D::GetMotorSpeed
float GetMotorSpeed() const
Return motor speed.
Definition: ConstraintPrismatic2D.h:82
Urho3D::Resource::memoryUse_
unsigned memoryUse_
Memory use in bytes.
Definition: Resource.h:108
Urho3D::BorderImage::SetMaterial
void SetMaterial(Material *material)
Set material for custom rendering.
Definition: BorderImage.cpp:242
Urho3D::DecalSet::SetOptimizeBufferSize
void SetOptimizeBufferSize(bool enable)
Set whether to optimize GPU buffer sizes according to current amount of decals. Default false,...
Definition: DecalSet.cpp:290
Urho3D::UIElement::GetMinSize
const IntVector2 & GetMinSize() const
Return minimum size.
Definition: UIElement.h:421
Urho3D::Input::mouseVisible_
bool mouseVisible_
Operating system mouse cursor visible flag.
Definition: Input.h:402
Urho3D::OcclusionBatch
Stored occlusion render job.
Definition: OcclusionBuffer.h:65
Urho3D::OcclusionBuffer::Clear
void Clear()
Clear the buffer.
Definition: OcclusionBuffer.cpp:152
Urho3D::AnimatedModel::CopyMorphVertices
void CopyMorphVertices(void *destVertexData, void *srcVertexData, unsigned vertexCount, VertexBuffer *destBuffer, VertexBuffer *srcBuffer)
Copy morph vertices.
Definition: AnimatedModel.cpp:1181
Urho3D::Image::SaveWEBP
bool SaveWEBP(const String &fileName, float compression=0.0f) const
Save in WebP format with minimum (fastest) or specified compression. Return true if successful....
Definition: Image.cpp:1381
Urho3D::Terrain::SetMaxLights
void SetMaxLights(unsigned num)
Set maximum number of per-pixel lights for patches. Default 0 is unlimited.
Definition: Terrain.cpp:464
Urho3D::VertexBuffer::Create
bool Create()
Create buffer.
Definition: OGLVertexBuffer.cpp:229
Urho3D::ScriptInstance::RestoreScriptAttributes
void RestoreScriptAttributes()
Restore values of script attributes after hot reload is complete.
Definition: ScriptInstance.cpp:743
Urho3D::Spriter::SpriterInstance::OnSetAnimation
void OnSetAnimation(Animation *animation, LoopMode loopMode=Default)
Handle set animation.
Definition: SpriterInstance2D.cpp:181
Urho3D::Pair::second_
U second_
Second value.
Definition: Pair.h:76
Urho3D::ScriptInstance::SetScriptFile
void SetScriptFile(ScriptFile *scriptFile)
Set script file only. Recreate object if necessary.
Definition: ScriptInstance.cpp:240
Urho3D::MemoryBuffer::MemoryBuffer
MemoryBuffer(void *data, unsigned size)
Construct with a pointer and size.
Definition: MemoryBuffer.cpp:30
Urho3D::OcclusionBuffer::AddTriangles
bool AddTriangles(const Matrix3x4 &model, const void *vertexData, unsigned vertexSize, unsigned vertexStart, unsigned vertexCount)
Submit a triangle mesh to the buffer using non-indexed geometry. Return true if did not overflow the ...
Definition: OcclusionBuffer.cpp:164
Urho3D::SoundSource::position_
volatile signed char * position_
Playback position.
Definition: SoundSource.h:185
Urho3D::Material::loadXMLFile_
SharedPtr< XMLFile > loadXMLFile_
XML file used while loading.
Definition: Material.h:323
Urho3D::Drawable::zoneMask_
unsigned zoneMask_
Zone mask.
Definition: Drawable.h:359
Urho3D::Audio::interpolation_
bool interpolation_
Mixing interpolation flag.
Definition: Audio.h:139
Urho3D::View::UpdateGeometries
void UpdateGeometries()
Update geometries and sort batches.
Definition: View.cpp:1280
Urho3D::IKSolver::GetMaximumIterations
unsigned GetMaximumIterations() const
Returns the configured maximum number of iterations.
Definition: IKSolver.cpp:193
Urho3D::Frustum::planes_
Plane planes_[NUM_FRUSTUM_PLANES]
Frustum planes.
Definition: Frustum.h:182
Urho3D::Renderer::DrawDebugGeometry
void DrawDebugGeometry(bool depthTest)
Add debug geometry to the debug renderer.
Definition: Renderer.cpp:749
Urho3D::RandomAccessConstIterator
Random access const iterator.
Definition: Iter.h:127
Urho3D::Renderer::GetDefaultLightSpot
Texture2D * GetDefaultLightSpot() const
Return the default spotlight attenuation texture.
Definition: Renderer.h:370
Urho3D::O_HEXAGONAL
@ O_HEXAGONAL
Hexagonal.
Definition: TileMapDefs2D.h:45
Urho3D::ListView::GetMultiselect
bool GetMultiselect() const
Return whether multiselect enabled.
Definition: ListView.h:144
Urho3D::Technique::cloneTechniques_
HashMap< Pair< StringHash, StringHash >, SharedPtr< Technique > > cloneTechniques_
Cached clones with added shader compilation defines.
Definition: Technique.h:284
Urho3D::Decal::AddVertex
void AddVertex(const DecalVertex &vertex)
Add a vertex.
Definition: DecalSet.cpp:131
Urho3D::Terrain::drawRanges_
PODVector< Pair< unsigned, unsigned > > drawRanges_
Draw ranges for different LODs and stitching combinations.
Definition: Terrain.h:257
Urho3D::UI::GetCustomSize
const IntVector2 & GetCustomSize() const
Return root element custom size. Returns 0,0 when custom size is not being used and automatic resizin...
Definition: UI.h:224
Urho3D::ProgressBar::ChangeValue
void ChangeValue(float delta)
Change value by a delta.
Definition: ProgressBar.cpp:109
Urho3D::AnimationController::StopLayer
void StopLayer(unsigned char layer, float fadeOutTime=0.0f)
Stop all animations on a specific layer. Zero fadetime is instant.
Definition: AnimationController.cpp:223
Urho3D::Vector2::UP
static const Vector2 UP
(0,1) vector.
Definition: Vector2.h:385
Urho3D::ScriptInstance::AddEventHandler
void AddEventHandler(StringHash eventType, const String &handlerName) override
Add a scripted event handler.
Definition: ScriptInstance.cpp:333
Urho3D::UIElement::GetChildDynamicCast
T * GetChildDynamicCast(unsigned index) const
Template version of returning child element by index using dynamic cast. May return 0 when casting fa...
Definition: UIElement.h:844
Urho3D::Scene::ComponentAdded
void ComponentAdded(Component *component)
Component added. Add to ID map.
Definition: Scene.cpp:1012
Urho3D::ParticleEmitter::GetFreeParticle
unsigned GetFreeParticle() const
Return a free particle index.
Definition: ParticleEmitter.cpp:550
Urho3D::HttpRequest::headers_
Vector< String > headers_
Headers.
Definition: HttpRequest.h:91
Urho3D::IKConstraint
Definition: IKConstraint.h:35
Urho3D::Vector3::DistanceToPlane
float DistanceToPlane(const Vector3 &origin, const Vector3 &normal) const
Calculate distance to the plane with given origin and normal.
Definition: Vector3.h:386
Urho3D::HashSet::Find
ConstIterator Find(const T &key) const
Return const iterator to the key, or end iterator if not found.
Definition: HashSet.h:477
Urho3D::IntVector2::IntVector2
IntVector2(const float *data)
Construct from an float array.
Definition: Vector2.h:57
Urho3D::EventHandler11Impl::EventHandler11Impl
EventHandler11Impl(std::function< void(StringHash, VariantMap &)> function, void *userData=nullptr)
Construct with receiver and function pointers and userdata.
Definition: Object.h:334
Urho3D::Graphics::GetExternalWindow
void * GetExternalWindow() const
Return OS-specific external window handle. Null if not in use.
Definition: Graphics.h:330
Urho3D::Audio::listener_
WeakPtr< SoundListener > listener_
Sound listener.
Definition: Audio.h:151
Urho3D::UIElement::LoadXML
bool LoadXML(const XMLElement &source) override
Load from XML data. Return true if successful.
Definition: UIElement.cpp:171
Urho3D::HashBase::allocator_
AllocatorBlock * allocator_
Node allocator.
Definition: HashBase.h:155
Urho3D::XMLElement::Remove
bool Remove()
Remove element from its parent.
Definition: XMLElement.cpp:142
Urho3D::Texture2DArray
2D texture array resource.
Definition: Texture2DArray.h:36
Urho3D::Scene::ComponentRemoved
void ComponentRemoved(Component *component)
Component removed. Remove from ID map.
Definition: Scene.cpp:1052
Urho3D::Material::HandleAttributeAnimationUpdate
void HandleAttributeAnimationUpdate(StringHash eventType, VariantMap &eventData)
Update shader parameter animations.
Definition: Material.cpp:1340
Urho3D::ConstraintMouse2D::SetTarget
void SetTarget(const Vector2 &target)
Set target.
Definition: ConstraintMouse2D.cpp:57
Urho3D::Matrix3::IDENTITY
static const Matrix3 IDENTITY
Identity matrix.
Definition: Matrix3.h:334
Urho3D::StaticModelGroup::DrawOcclusion
bool DrawOcclusion(OcclusionBuffer *buffer) override
Draw to occlusion buffer. Return true if did not run out of triangles.
Definition: StaticModelGroup.cpp:226
Urho3D::Database::GetAPI
static DBAPI GetAPI()
Return the underlying database API.
Definition: Database.cpp:41
Urho3D::Camera::SetAutoAspectRatio
void SetAutoAspectRatio(bool enable)
Set automatic aspect ratio based on viewport dimensions. Enabled by default.
Definition: Camera.cpp:203
Urho3D::Scene::delayedDirtyComponents_
PODVector< Component * > delayedDirtyComponents_
Delayed dirty notification queue for components.
Definition: Scene.h:308
Urho3D::NavigationMesh::SetRegionMergeSize
void SetRegionMergeSize(float size)
Set region merge size.
Definition: NavigationMesh.cpp:283
Urho3D::LuaScriptInstance::eventInvoker_
SharedPtr< LuaScriptEventInvoker > eventInvoker_
Event invoker.
Definition: LuaScriptInstance.h:175
Urho3D::Text::GetSelectionStart
unsigned GetSelectionStart() const
Return selection start.
Definition: Text.h:151
Urho3D::TechniqueEntry::TechniqueEntry
TechniqueEntry() noexcept
Construct with defaults.
Definition: Material.cpp:168
Urho3D::Log::logFile_
SharedPtr< File > logFile_
Log file.
Definition: Log.h:120
Urho3D::Graphics::GetTexture
Texture * GetTexture(unsigned index) const
Return current texture by texture unit index.
Definition: OGLGraphics.cpp:2176
Urho3D::Graphics::SetExternalWindow
void SetExternalWindow(void *window)
Set external window handle. Only effective before setting the initial screen mode.
Definition: Graphics.cpp:65
Urho3D::AttributeInfo::enumNames_
const char ** enumNames_
Enum names.
Definition: Attribute.h:106
Urho3D::Text3D::fixedScreenSize_
bool fixedScreenSize_
Fixed screen size flag.
Definition: Text3D.h:208
Urho3D::XMLElement::GetBuffer
PODVector< unsigned char > GetBuffer(const String &name) const
Return buffer attribute, or empty if missing.
Definition: XMLElement.cpp:768
Urho3D::CompressedLevel::depth_
int depth_
Depth.
Definition: Image.h:69
Urho3D::OcclusionBuffer::DrawTriangle2D
void DrawTriangle2D(const Vector3 *vertices, bool clockwise, unsigned threadIndex)
Draw a clipped triangle.
Definition: OcclusionBuffer.cpp:815
Urho3D::JoystickState::GetHatPosition
int GetHatPosition(unsigned index) const
Return hat position.
Definition: Input.h:106
Urho3D::Terrain::lastPatchSize_
int lastPatchSize_
Patch size at the time of last update.
Definition: Terrain.h:283
Urho3D::DebugRenderer::noDepthLines_
PODVector< DebugLine > noDepthLines_
Lines rendered without depth test.
Definition: DebugRenderer.h:178
Urho3D::Serializer::WriteUInt
bool WriteUInt(unsigned value)
Write a 32-bit unsigned integer.
Definition: Serializer.cpp:61
Urho3D::Zone::GetFogHeightScale
float GetFogHeightScale() const
Return fog height scale.
Definition: Zone.h:97
Urho3D::FileWatcher::changesMutex_
Mutex changesMutex_
Mutex for the change buffer.
Definition: FileWatcher.h:75
Urho3D::Renderer::pointLightGeometry_
SharedPtr< Geometry > pointLightGeometry_
Point light volume geometry.
Definition: Renderer.h:486
Urho3D::UIElement::Update
virtual void Update(float timeStep)
Perform UI element update.
Definition: UIElement.cpp:339
Urho3D::Vector3::DOWN
static const Vector3 DOWN
(0,-1,0) vector.
Definition: Vector3.h:489
Urho3D::Terrain::viewMask_
unsigned viewMask_
View mask.
Definition: Terrain.h:301
Urho3D::Sprite2D::GetTextureRectangle
bool GetTextureRectangle(Rect &rect, bool flipX=false, bool flipY=false) const
Return texture rectangle.
Definition: Sprite2D.cpp:167
Urho3D::Texture::format_
unsigned format_
Texture format.
Definition: Texture.h:209
Urho3D::ParticleEffect::SetMinEmissionRate
void SetMinEmissionRate(float rate)
Set minimum emission rate.
Definition: ParticleEffect.cpp:520
Urho3D::ConstraintPrismatic2D::SetAxis
void SetAxis(const Vector2 &axis)
Set axis.
Definition: ConstraintPrismatic2D.cpp:73
Urho3D::HashSet::ConstIterator::operator*
const T & operator*() const
Dereference the key.
Definition: HashSet.h:171
Urho3D::UIElement::hovering_
bool hovering_
Hovering flag.
Definition: UIElement.h:712
Urho3D::Engine::DumpProfiler
void DumpProfiler()
Dump profiling information to the log.
Definition: Engine.cpp:606
Urho3D::ProfilerBlock::GetChild
ProfilerBlock * GetChild(const char *name)
Return child block with the specified name.
Definition: Profiler.h:123
Urho3D::OT_TILE
@ OT_TILE
Tile.
Definition: TileMapDefs2D.h:99
Urho3D::Node::GetNumChildren
unsigned GetNumChildren(bool recursive=false) const
Return number of child scene nodes.
Definition: Node.cpp:1222
Urho3D::DelayedWorldTransform2D::rigidBody_
RigidBody2D * rigidBody_
Rigid body.
Definition: PhysicsWorld2D.h:60
Urho3D::DirtyBits::Set
void Set(unsigned index)
Set a bit.
Definition: ReplicationState.h:62
Urho3D::ParticleEffect::SetFixedScreenSize
void SetFixedScreenSize(bool enable)
Set whether billboards have fixed size on screen (measured in pixels) regardless of distance to camer...
Definition: ParticleEffect.cpp:470
Urho3D::Network::natPunchthroughClient_
SLNet::NatPunchthroughClient * natPunchthroughClient_
NAT punchtrough client for the client.
Definition: Network.h:188
Urho3D::AnimatedModel::GetAnimationStates
const Vector< SharedPtr< AnimationState > > & GetAnimationStates() const
Return all animation states.
Definition: AnimatedModel.h:106
Urho3D::Text3D::GetEffectShadowOffset
const IntVector2 & GetEffectShadowOffset() const
Return effect shadow offset.
Definition: Text3D.cpp:433
Urho3D::ConstantBuffer::ConstantBuffer
ConstantBuffer(Context *context)
Construct.
Definition: ConstantBuffer.cpp:34
Urho3D::Matrix4::Equals
bool Equals(const Matrix4 &rhs) const
Test for equality with another matrix with epsilon.
Definition: Matrix4.h:618
Urho3D::TileMapLayer2D::drawOrder_
int drawOrder_
Draw order.
Definition: TileMapLayer2D.h:123
Urho3D::SpriteSheet2D::BeginLoadFromXMLFile
bool BeginLoadFromXMLFile(Deserializer &source)
Begin load from XML file.
Definition: SpriteSheet2D.cpp:197
Urho3D::PhysicsWorld::Update
void Update(float timeStep)
Step the simulation forward.
Definition: PhysicsWorld.cpp:256
Urho3D::AnimatedModel::~AnimatedModel
~AnimatedModel() override
Destruct.
Definition: AnimatedModel.cpp:90
Urho3D::ParticleEffect::rotationMin_
float rotationMin_
Particle rotation angle minimum.
Definition: ParticleEffect.h:407
Urho3D::ParticleEffect2D::ParticleEffect2D
ParticleEffect2D(Context *context)
Construct.
Definition: ParticleEffect2D.cpp:68
Urho3D::String::CopyChars
static void CopyChars(char *dest, const char *src, unsigned count)
Copy chars from one buffer to another.
Definition: Str.h:524
Urho3D::DynamicNavigationMesh::allocator_
UniquePtr< dtTileCacheAlloc > allocator_
Used by dtTileCache to allocate blocks of memory.
Definition: DynamicNavigationMesh.h:136
Urho3D::CrowdAgent::targetVelocity_
Vector3 targetVelocity_
Requested target velocity.
Definition: CrowdAgent.h:210
Urho3D::AnimatedModel::ResetMorphWeights
void ResetMorphWeights()
Reset all vertex morphs to zero.
Definition: AnimatedModel.cpp:608
Urho3D::RigidBody::OnMarkedDirty
void OnMarkedDirty(Node *node) override
Handle node transform being dirtied.
Definition: RigidBody.cpp:891
Urho3D::HashMap::Begin
Iterator Begin()
Return iterator to the beginning.
Definition: HashMap.h:604
Urho3D::Graphics::slopeScaledDepthBias_
float slopeScaledDepthBias_
Depth slope scaled bias.
Definition: Graphics.h:813
Urho3D::ResourceWithMetadata::AddMetadata
void AddMetadata(const String &name, const Variant &value)
Add new metadata variable or overwrite old value.
Definition: Resource.cpp:132
Urho3D::Network::StartNATClient
void StartNATClient()
Start NAT punchtrough client to allow remote connections.
Definition: Network.cpp:475
Urho3D::AnimationController::GetLength
float GetLength(const String &name) const
Return animation length.
Definition: AnimationController.cpp:525
Urho3D::UIElement::GetDragButtonCombo
MouseButtonFlags GetDragButtonCombo() const
Return the drag button combo if this element is being dragged.
Definition: UIElement.h:604
Urho3D::UIElement::anchorMax_
Vector2 anchorMax_
Anchor maximum position.
Definition: UIElement.h:793
Urho3D::DynamicNavigationMesh::OnSceneSet
void OnSceneSet(Scene *scene) override
Subscribe to events when assigned to a scene.
Definition: DynamicNavigationMesh.cpp:1069
Urho3D::IntVector3::ToHash
unsigned ToHash() const
Return hash value for HashSet & HashMap.
Definition: Vector3.h:153
Urho3D::Shader::Shader
Shader(Context *context)
Construct.
Definition: Shader.cpp:64
Urho3D::Graphics::GetRenderTarget
RenderSurface * GetRenderTarget(unsigned index) const
Return current rendertarget by index.
Definition: OGLGraphics.cpp:2181
Urho3D::AttributeInfo::type_
VariantType type_
Attribute type.
Definition: Attribute.h:102
Urho3D::ManifoldPair::manifold_
btPersistentManifold * manifold_
Manifold without the body pointers flipped.
Definition: PhysicsWorld.h:104
Urho3D::Serializer::WriteVector3
bool WriteVector3(const Vector3 &value)
Write a Vector3.
Definition: Serializer.cpp:116
Urho3D::CustomGeometry::GetVertex
CustomGeometryVertex * GetVertex(unsigned geometryIndex, unsigned vertexNum)
Return a vertex in a geometry for editing, or null if out of bounds. After the edits are finished,...
Definition: CustomGeometry.cpp:728
Urho3D::TileMapInfo2D::orientation_
Orientation2D orientation_
Orientation.
Definition: TileMapDefs2D.h:52
Urho3D::CrowdAgent::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately. Called after scene load or a network upd...
Definition: CrowdAgent.cpp:124
Urho3D::RigidBody::ReleaseBody
void ReleaseBody()
Remove the rigid body.
Definition: RigidBody.cpp:875
Urho3D::NavigationGeometryInfo::component_
Component * component_
Component.
Definition: NavigationMesh.h:62
Urho3D::OT_RECTANGLE
@ OT_RECTANGLE
Rectangle.
Definition: TileMapDefs2D.h:91
Urho3D::LineEdit::cursorBlinkRate_
float cursorBlinkRate_
Cursor blink rate.
Definition: LineEdit.h:144
Urho3D::Light::shadowIntensity_
float shadowIntensity_
Light intensity in shadow.
Definition: Light.h:385
Urho3D::RigidBody2D::ApplyTorque
void ApplyTorque(float torque, bool wake)
Apply Torque.
Definition: RigidBody2D.cpp:341
Urho3D::AnimationState::Apply
void Apply()
Apply the animation at the current time position.
Definition: AnimationState.cpp:444
Urho3D::Scene::GetVarName
const String & GetVarName(StringHash hash) const
Return a node user variable name, or empty if not registered.
Definition: Scene.cpp:754
Urho3D::UnknownComponent
Placeholder for allowing unregistered components to be loaded & saved along with scenes.
Definition: UnknownComponent.h:31
Urho3D::StaticModel::GetModel
Model * GetModel() const
Return model.
Definition: StaticModel.h:77
Urho3D::IKSolver::RebuildChainTrees
void RebuildChainTrees()
Updates the solver's internal data structures, which is required whenever the tree is modified in any...
Definition: IKSolver.cpp:378
Urho3D::Input::inputFocus_
bool inputFocus_
Input focus flag.
Definition: Input.h:420
Urho3D::Matrix4::Data
const float * Data() const
Return float data.
Definition: Matrix4.h:639
Urho3D::FileSelector::GetOKButton
Button * GetOKButton() const
Return OK button.
Definition: FileSelector.h:102
Urho3D::Animatable::GetAttributeAnimationWrapMode
WrapMode GetAttributeAnimationWrapMode(const String &name) const
Return attribute animation wrap mode.
Definition: Animatable.cpp:434
Urho3D::Application::Run
int Run()
Initialize the engine and run the main loop, then return the application exit code....
Definition: Application.cpp:63
Urho3D::ListView::EnableInternalLayoutUpdate
void EnableInternalLayoutUpdate()
Enable automatic layout update for internal elements.
Definition: ListView.cpp:338
Urho3D::Material::GetSpecular
bool GetSpecular() const
Return whether should render specular.
Definition: Material.h:250
Urho3D::Input::LoseFocus
void LoseFocus()
Prepare input state for application losing input focus.
Definition: Input.cpp:1614
Urho3D::BoxOctreeQuery::box_
BoundingBox box_
Bounding box.
Definition: OctreeQuery.h:132
Urho3D::Rect::FULL
static const Rect FULL
Rect in the range (-1, -1) - (1, 1).
Definition: Rect.h:264
Urho3D::ScriptFile::loadByteCode_
SharedArrayPtr< unsigned char > loadByteCode_
Byte code for asynchronous loading.
Definition: ScriptFile.h:152
Urho3D::ResourceCache::dependentResources_
HashMap< StringHash, HashSet< StringHash > > dependentResources_
Dependent resources. Only used with automatic reload to eg. trigger reload of a cube texture when any...
Definition: ResourceCache.h:242
Urho3D::Drawable::Drawable
Drawable(Context *context, unsigned char drawableFlags)
Construct.
Definition: Drawable.cpp:59
Urho3D::Text::GetTextEffect
TextEffect GetTextEffect() const
Return text effect.
Definition: Text.h:157
Urho3D::Object::eventHandlers_
LinkedList< EventHandler > eventHandlers_
Event handlers. Sender is null for non-specific handlers.
Definition: Object.h:190
Urho3D::ProgressBar::loadingText_
SharedPtr< Text > loadingText_
ProgressBar text.
Definition: ProgressBar.h:96
Urho3D::XPathQuery::variables_
UniquePtr< pugi::xpath_variable_set > variables_
Pugixml xpath_variable_set.
Definition: XMLElement.h:404
Urho3D::Texture::GetExternalFormat
static unsigned GetExternalFormat(unsigned format)
Return the non-internal texture format corresponding to an OpenGL internal format.
Definition: OGLTexture.cpp:256
Urho3D::View::GetBatches
void GetBatches()
Construct batches from the drawable objects.
Definition: View.cpp:964
Urho3D::ParticleEffect2D::loadSpriteName_
String loadSpriteName_
Sprite name acquired during BeginLoad().
Definition: ParticleEffect2D.h:330
Urho3D::Connection::sceneState_
SceneReplicationState sceneState_
Network replication state of the scene.
Definition: Connection.h:301
Urho3D::OcclusionBuffer::GetProjection
const Matrix4 & GetProjection() const
Return projection matrix.
Definition: OcclusionBuffer.h:132
Urho3D::WString::CString
const wchar_t * CString() const
Return character data.
Definition: Str.h:619
Urho3D::HashSet::Iterator::Iterator
Iterator()=default
Construct.
Urho3D::UnknownComponent::GetAttributes
const Vector< AttributeInfo > * GetAttributes() const override
Return attribute descriptions, or null if none defined.
Definition: UnknownComponent.h:47
Urho3D::Image::SaveDDS
bool SaveDDS(const String &fileName) const
Save in DDS format. Only uncompressed RGBA images are supported. Return true if successful.
Definition: Image.cpp:1329
Urho3D::Decal::indices_
PODVector< unsigned short > indices_
Decal indices.
Definition: DecalSet.h:99
Urho3D::Thread::GetCurrentThreadID
static ThreadID GetCurrentThreadID()
Return the current thread's ID.
Definition: Thread.cpp:137
Urho3D::UIElement::SetLayout
void SetLayout(LayoutMode mode, int spacing=0, const IntRect &border=IntRect::ZERO)
Set layout parameters.
Definition: UIElement.cpp:1044
Urho3D::Graphics::vertexShader_
ShaderVariation * vertexShader_
Vertex shader in use.
Definition: Graphics.h:785
Urho3D::Component::OnNodeSetEnabled
virtual void OnNodeSetEnabled(Node *node)
Handle scene node enabled status changing.
Definition: Component.cpp:250
Urho3D::ScriptFile::DelayedExecute
void DelayedExecute(float delay, bool repeat, const String &declaration, const VariantVector &parameters=Variant::emptyVariantVector)
Add a delay-executed function call, optionally repeating.
Definition: ScriptFile.cpp:491
Urho3D::UIElement::SetMinAnchor
void SetMinAnchor(const Vector2 &anchor)
Set minimum (top left) anchor in relation to the parent element (from 0 to 1). No effect when anchor ...
Definition: UIElement.cpp:769
Urho3D::LuaScript::Print
static int Print(lua_State *L)
Print function.
Definition: LuaScript.cpp:397
Urho3D::Pow
T Pow(T x, T y)
Return X in power Y.
Definition: MathDefs.h:160
Urho3D::ResourceCache::AddResourceRouter
void AddResourceRouter(ResourceRouter *router, bool addAsFirst=false)
Add a resource router object. By default there is none, so the routing process is skipped.
Definition: ResourceCache.cpp:461
Urho3D::ScratchBuffer::data_
SharedArrayPtr< unsigned char > data_
Buffer data.
Definition: Graphics.h:73
Urho3D::RenderSurface::IsUpdateQueued
bool IsUpdateQueued() const
Return whether manual update queued. Called internally.
Definition: RenderSurface.h:96
Urho3D::IntRect::ZERO
static const IntRect ZERO
Zero-sized rect.
Definition: Rect.h:470
Urho3D::AnimationController::SetTime
bool SetTime(const String &name, float time)
Set animation time position. Return true on success.
Definition: AnimationController.cpp:328
Urho3D::HashMap::ConstIterator::operator=
ConstIterator & operator=(const Iterator &rhs)
Assign from a non-const iterator.
Definition: HashMap.h:174
Urho3D::ScrollView::scrollChildrenDisable_
bool scrollChildrenDisable_
Used to determine if children have been disabled.
Definition: ScrollView.h:187
Urho3D::CustomGeometry::GetVertices
Vector< PODVector< CustomGeometryVertex > > & GetVertices()
Return all vertices. These can be edited; calling Commit() updates the vertex buffer.
Definition: CustomGeometry.h:144
Urho3D::Image::array_
bool array_
Texture array status if DDS.
Definition: Image.h:228
Urho3D::LineEdit::cursor_
SharedPtr< BorderImage > cursor_
Cursor element.
Definition: LineEdit.h:132
Urho3D::CheckBox::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: CheckBox.cpp:48
Urho3D::DebugRenderer::GetFrustum
const Frustum & GetFrustum() const
Return the view frustum.
Definition: DebugRenderer.h:164
Urho3D::CollisionShape::GetModel
Model * GetModel() const
Return triangle mesh / convex hull model.
Definition: CollisionShape.h:236
Urho3D::View::FinalizeShadowCamera
void FinalizeShadowCamera(Camera *shadowCamera, Light *light, const IntRect &shadowViewport, const BoundingBox &shadowCasterBox)
Finalize shadow camera view after shadow casters and the shadow map are known.
Definition: View.cpp:2678
Urho3D::View::cullCamera_
Camera * cullCamera_
Culling camera. Usually same as the viewport camera.
Definition: View.h:322
Urho3D::IKEffector::INHERIT_PARENT_ROTATION
@ INHERIT_PARENT_ROTATION
Definition: IKEffector.h:61
Urho3D::Condition::Set
void Set()
Set the condition. Will be automatically reset once a waiting thread wakes up.
Definition: Condition.cpp:83
Urho3D::Sphere::Define
void Define(const Sphere &sphere)
Define from another sphere.
Definition: Sphere.h:89
Urho3D::Technique::shadowPassIndex
static unsigned shadowPassIndex
Index for shadow pass. Initialized once GetPassIndex() has been called for the first time.
Definition: Technique.h:274
Urho3D::BufferedSoundStream::~BufferedSoundStream
~BufferedSoundStream() override
Destruct.
Urho3D::Node::GetSignedWorldScale
Vector3 GetSignedWorldScale() const
Return signed scale in world space. Utilized for Urho2D physics.
Definition: Node.cpp:1182
Urho3D::ResourceCache::resourceGroups_
HashMap< StringHash, ResourceGroup > resourceGroups_
Resources by type.
Definition: ResourceCache.h:234
Urho3D::ToolTip
Tooltip UI element.
Definition: ToolTip.h:32
Urho3D::Input::SetMouseButton
void SetMouseButton(MouseButton button, bool newState, int clicks)
Handle a mouse button change.
Definition: Input.cpp:1747
Urho3D::RenderCommandSortMode
RenderCommandSortMode
Rendering path sorting modes.
Definition: RenderPath.h:53
Urho3D::Drawable2D::Drawable2D
Drawable2D(Context *context)
Construct.
Definition: Drawable2D.cpp:46
Urho3D::RigidBody2D::~RigidBody2D
~RigidBody2D() override
Destruct.
Definition: RigidBody2D.cpp:61
Urho3D::ParticleEffect2D::rotationEndVariance_
float rotationEndVariance_
Rotation end variance.
Definition: ParticleEffect2D.h:328
Urho3D::CrowdManager::HandleComponentAdded
void HandleComponentAdded(StringHash eventType, VariantMap &eventData)
Handle component added in the scene to check for late addition of the navmesh.
Definition: CrowdManager.cpp:731
Urho3D::Terrain::SetPatchNeighbors
void SetPatchNeighbors(TerrainPatch *patch)
Set neighbors for a patch.
Definition: Terrain.cpp:1406
Urho3D::StaticSprite2D::useDrawRect_
bool useDrawRect_
Use draw rectangle flag.
Definition: StaticSprite2D.h:158
Urho3D::Spline::LinearInterpolation
Variant LinearInterpolation(const Vector< Variant > &knots, float t) const
Perform linear interpolation on the spline.
Definition: Spline.cpp:231
Urho3D::String::StartsWith
bool StartsWith(const String &str, bool caseSensitive=true) const
Return whether starts with a string.
Definition: Str.cpp:712
Urho3D::UIElement::GetLayoutMode
LayoutMode GetLayoutMode() const
Return layout mode.
Definition: UIElement.h:549
Urho3D::ParticleEffect2D::SetStartParticleSize
void SetStartParticleSize(float startParticleSize)
Set start particle size.
Definition: ParticleEffect2D.cpp:389
Urho3D::Texture::UpdateParameters
void UpdateParameters()
Update dirty parameters to the texture object. Called by Graphics when assigning the texture.
Definition: OGLTexture.cpp:87
Urho3D::TileMapInfo2D::PositionToTileIndex
bool PositionToTileIndex(int &x, int &y, const Vector2 &position) const
Convert position to tile index, if out of map return false.
Definition: TileMapDefs2D.cpp:96
Urho3D::AM_FILE
@ AM_FILE
Attribute used for file serialization.
Definition: Attribute.h:39
Urho3D::Deserializer::IsEof
virtual bool IsEof() const
Return whether the end of stream has been reached.
Definition: Deserializer.h:52
Urho3D::NavArea::areaID_
unsigned char areaID_
Area id to assign to the marked area.
Definition: NavArea.h:65
Urho3D::OcclusionBuffer::farClip_
float farClip_
Far clip distance.
Definition: OcclusionBuffer.h:213
Urho3D::Material::GetTechniques
const Vector< TechniqueEntry > & GetTechniques() const
Return all techniques.
Definition: Material.h:191
Urho3D::Batch::lightQueue_
LightBatchQueue * lightQueue_
Light properties.
Definition: Batch.h:100
Urho3D::List::operator+=
List & operator+=(const T &rhs)
Add-assign an element.
Definition: List.h:228
Urho3D::Graphics::GetRG16Format
static unsigned GetRG16Format()
Return the API-specific RG 16-bit texture format.
Definition: OGLGraphics.cpp:2616
Urho3D::ValueAnimation::GetValueType
VariantType GetValueType() const
Return value type.
Definition: ValueAnimation.h:120
Urho3D::TextureCube::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: TextureCube.cpp:84
Urho3D::Material::SetShaderParameter
void SetShaderParameter(const String &name, const Variant &value)
Set shader parameter.
Definition: Material.cpp:953
Urho3D::Node::~Node
~Node() override
Destruct. Any child nodes are detached.
Definition: Node.cpp:67
Urho3D::ShaderVariation::SetName
void SetName(const String &name)
Set name.
Definition: ShaderVariation.cpp:70
Urho3D::Renderer::GetVSMMultiSample
int GetVSMMultiSample() const
Return VSM shadow multisample level.
Definition: Renderer.h:301
Urho3D::AnimationControl::fadeTime_
float fadeTime_
Animation weight fade time, 0 if no fade.
Definition: AnimationController.h:64
Urho3D::Cursor::Cursor
Cursor(Context *context)
Construct.
Definition: Cursor.cpp:76
Urho3D::Context::GetEventHandler
EventHandler * GetEventHandler() const
Return active event handler. Set by Object. Null outside event handling.
Definition: Context.h:158
Urho3D::BatchQueue::batchGroups_
HashMap< BatchGroupKey, BatchGroup > batchGroups_
Instanced draw calls.
Definition: Batch.h:248
Urho3D::TmxFile2D::loadXMLFile_
SharedPtr< XMLFile > loadXMLFile_
XML file used during loading.
Definition: TmxFile2D.h:214
Urho3D::Console::RemoveAutoComplete
void RemoveAutoComplete(const String &option)
Remove auto complete option.
Definition: Console.cpp:264
Urho3D::Sound::GetFrequency
float GetFrequency() const
Return default frequency as a float.
Definition: Sound.h:91
Urho3D::StaticSprite2D::SetFlip
void SetFlip(bool flipX, bool flipY, bool swapXY=false)
Set flip.
Definition: StaticSprite2D.cpp:129
Urho3D::String::AtUTF8
unsigned AtUTF8(unsigned index) const
Return Unicode character at index from UTF8 content.
Definition: Str.cpp:824
Urho3D::ValueAnimation::~ValueAnimation
~ValueAnimation() override
Destruct.
Urho3D::SharedArrayPtr::SharedArrayPtr
SharedArrayPtr(const SharedArrayPtr< T > &rhs)
Copy-construct from another shared array pointer.
Definition: ArrayPtr.h:45
Urho3D::UI::maxDoubleClickDist_
float maxDoubleClickDist_
Max screen distance the first click in a double click can be from the second click in a double click.
Definition: UI.h:423
Urho3D::RigidBody2D::GetGravityScale
float GetGravityScale() const
Return gravity scale.
Definition: RigidBody2D.h:150
Urho3D::Renderer::lightScissorCache_
HashMap< Pair< Light *, Camera * >, Rect > lightScissorCache_
Cache for light scissor queries.
Definition: Renderer.h:518
Urho3D::HashBase::ptrs_
HashNodeBase ** ptrs_
Bucket head pointers.
Definition: HashBase.h:153
Urho3D::Graphics::GetDepthSlopeScaledBias
float GetDepthSlopeScaledBias() const
Return depth slope scaled bias.
Definition: Graphics.h:516
Urho3D::Node::SetWorldTransform2D
void SetWorldTransform2D(const Vector2 &position, float rotation, const Vector2 &scale)
Set position, rotation, and scale in world space as an atomic opration (for Urho2D).
Definition: Node.h:234
Urho3D::SharedArrayPtr::StaticCast
void StaticCast(const SharedArrayPtr< U > &rhs)
Perform a static cast from a shared array pointer of another type.
Definition: ArrayPtr.h:135
Urho3D::SoundSource3D::RollAngleoffFactor
float RollAngleoffFactor() const
Return rolloff power factor.
Definition: SoundSource3D.h:78
Urho3D::Connection::SendRemoteEvent
void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap &eventData=Variant::emptyVariantMap)
Send a remote event.
Definition: Connection.cpp:142
Urho3D::Drawable::GetViewMask
unsigned GetViewMask() const
Return view mask.
Definition: Drawable.h:195
Urho3D::BillboardSet::GetMinAngle
float GetMinAngle() const
Return minimal angle between billboard normal and look-at direction.
Definition: BillboardSet.h:131
Urho3D::ScrollView::verticalScrollBar_
SharedPtr< ScrollBar > verticalScrollBar_
Vertical scroll bar.
Definition: ScrollView.h:155
Urho3D::Viewport::SetRenderPath
void SetRenderPath(RenderPath *renderPath)
Set rendering path.
Definition: Viewport.cpp:94
Urho3D::IKSolver::SetMaximumIterations
void SetMaximumIterations(unsigned iterations)
Sets the maximum number of iterations the solver is allowed to perform before applying the result.
Definition: IKSolver.cpp:199
Urho3D::DecalSet::TransformVertices
void TransformVertices(Decal &decal, const Matrix3x4 &transform)
Transform decal's vertices from the target geometry to the decal set local space.
Definition: DecalSet.cpp:975
Urho3D::RigidBody2D::physicsWorld_
WeakPtr< PhysicsWorld2D > physicsWorld_
Physics world.
Definition: RigidBody2D.h:171
Urho3D::NavigationMesh::keepInterResults_
bool keepInterResults_
Keep internal build resources for debug draw modes.
Definition: NavigationMesh.h:348
Urho3D::TextureAddressMode
TextureAddressMode
Texture addressing mode.
Definition: GraphicsDefs.h:242
Urho3D::Window::SetFixedHeightResizing
void SetFixedHeightResizing(bool enable)
Set whether resizing height is fixed.
Definition: Window.cpp:267
Urho3D::Engine::IsHeadless
bool IsHeadless() const
Return whether the engine has been created in headless mode.
Definition: Engine.h:106
Urho3D::UIElement::OnDragDropFinish
virtual bool OnDragDropFinish(UIElement *source)
React to drag and drop finish. Return true to signal that the drop was accepted.
Definition: UIElement.cpp:457
Urho3D::RigidBody::SetAngularFactor
void SetAngularFactor(const Vector3 &factor)
Set angular degrees of freedom. Use 1 to enable an axis or 0 to disable. Default is all axes enabled ...
Definition: RigidBody.cpp:347
Urho3D::Text3D::GetColor
const Color & GetColor(Corner corner) const
Return corner color.
Definition: Text3D.cpp:498
Urho3D::Texture::GetParametersDirty
bool GetParametersDirty() const
Return whether the parameters are dirty.
Definition: OGLTexture.cpp:176
Urho3D::ScrollView::SetContentElement
void SetContentElement(UIElement *element)
Set content element.
Definition: ScrollView.cpp:281
Urho3D::NavigationMesh::SetEdgeMaxError
void SetEdgeMaxError(float error)
Set edge max error.
Definition: NavigationMesh.cpp:297
Urho3D::BufferedSoundStream::GetBufferNumBytes
unsigned GetBufferNumBytes() const
Return amount of buffered (unplayed) sound data in bytes.
Definition: BufferedSoundStream.cpp:110
Urho3D::Constraint::GetCFM
float GetCFM() const
Return constraint force mixing parameter.
Definition: Constraint.h:140
Urho3D::UIElement::SetBringToBack
void SetBringToBack(bool enable)
Set whether should be put to background when another element is focused.
Definition: UIElement.cpp:864
Urho3D::Octant::GetNumDrawables
unsigned GetNumDrawables() const
Return number of drawables.
Definition: Octree.h:91
Urho3D::Scene::SetSmoothingConstant
void SetSmoothingConstant(float constant)
Set network client motion smoothing constant.
Definition: Scene.cpp:655
Urho3D::JSON_ARRAY
@ JSON_ARRAY
JSON array type.
Definition: JSONValue.h:44
Urho3D::Model::SetNumGeometryLodLevels
bool SetNumGeometryLodLevels(unsigned index, unsigned num)
Set number of LOD levels in a geometry.
Definition: Model.cpp:556
Urho3D::Image::HasAlphaChannel
bool HasAlphaChannel() const
Whether this texture has an alpha channel.
Definition: Image.cpp:2356
Urho3D::Text::pageGlyphLocations_
Vector< PODVector< GlyphLocation > > pageGlyphLocations_
Glyph locations per each texture in the font.
Definition: Text.h:261
Urho3D::ScrollBar::GetStepFactor
float GetStepFactor() const
Return button step factor.
Definition: ScrollBar.h:81
Urho3D::NavArea::RegisterObject
static void RegisterObject(Context *)
Register object factory and attributes.
Definition: NavArea.cpp:50
Urho3D::Terrain::GetShadowMask
unsigned GetShadowMask() const
Return shadow mask.
Definition: Terrain.h:175
Urho3D::Script::GetScriptFileContext
asIScriptContext * GetScriptFileContext()
Return a script function/method execution context for the current execution nesting level.
Definition: Script.cpp:352
Urho3D::Graphics::CleanupRenderSurface
void CleanupRenderSurface(RenderSurface *surface)
Clean up a render surface from all FBOs. Used only on OpenGL.
Definition: OGLGraphics.cpp:2275
Urho3D::UIElement::IsWheelHandler
virtual bool IsWheelHandler() const
Return whether the element could handle wheel input.
Definition: UIElement.h:209
Urho3D::Deserializer::ReadVector3
Vector3 ReadVector3()
Read a Vector3.
Definition: Deserializer.cpp:173
Urho3D::Vector4::Equals
bool Equals(const Vector4 &rhs) const
Test for equality with another vector with epsilon.
Definition: Vector4.h:189
Urho3D::Deserializer::GetName
virtual const String & GetName() const
Return name of the stream.
Definition: Deserializer.cpp:53
Urho3D::Input::CenterMousePosition
void CenterMousePosition()
Center the mouse position.
Definition: Input.cpp:1839
Urho3D::RibbonTrail::SetStartColor
void SetStartColor(const Color &color)
Set vertex blended color for start of trail.
Definition: RibbonTrail.cpp:830
Urho3D::DebugRenderer::GetProjection
const Matrix4 & GetProjection() const
Return the projection transform.
Definition: DebugRenderer.h:161
Urho3D::Audio::ResumeSoundType
void ResumeSoundType(const String &type)
Resume playback of specific sound type.
Definition: Audio.cpp:176
Urho3D::ConstraintMotor2D::jointDef_
b2MotorJointDef jointDef_
Box2D joint def.
Definition: ConstraintMotor2D.h:74
Urho3D::DebugRenderer::AddCross
void AddCross(const Vector3 &center, float size, const Color &color, bool depthTest=true)
Add a cross.
Definition: DebugRenderer.cpp:459
Urho3D::Spriter::SpriterInstance::GetAnimation
Animation * GetAnimation() const
Return current animation.
Definition: SpriterInstance2D.h:72
Urho3D::Pass::SetPixelShaderDefineExcludes
void SetPixelShaderDefineExcludes(const String &excludes)
Set pixel shader define excludes. Use to mark defines that the shader code will not recognize,...
Definition: Technique.cpp:165
Urho3D::BillboardSet::SetBillboardsAttr
void SetBillboardsAttr(const VariantVector &value)
Set billboards attribute.
Definition: BillboardSet.cpp:368
Urho3D::Context::GetObjectFactories
const HashMap< StringHash, SharedPtr< ObjectFactory > > & GetObjectFactories() const
Return all object factories.
Definition: Context.h:149
Urho3D::Light::~Light
~Light() override
Destruct.
Urho3D::Object::SetBlockEvents
void SetBlockEvents(bool block)
Block object from sending and receiving events.
Definition: Object.h:171
Urho3D::Audio::IsStereo
bool IsStereo() const
Return whether output is stereo.
Definition: Audio.h:81
Urho3D::TileMap2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: TileMap2D.cpp:49
Urho3D::Graphics::GetSRGBWriteSupport
bool GetSRGBWriteSupport() const
Return whether sRGB conversion on rendertarget writing is supported.
Definition: Graphics.h:438
Urho3D::Texture3D::OnDeviceReset
void OnDeviceReset() override
Recreate the GPU resource and restore data if applicable.
Definition: OGLTexture3D.cpp:50
Urho3D::ParticleEffect::GetMaxTimeToLive
float GetMaxTimeToLive() const
Return particle maximum time to live.
Definition: ParticleEffect.h:290
Urho3D::XMLElement::GetInt
int GetInt(const String &name) const
Return an integer attribute, or zero if missing.
Definition: XMLElement.cpp:807
Urho3D::DebugRenderer::lineAntiAlias_
bool lineAntiAlias_
Line antialiasing flag.
Definition: DebugRenderer.h:194
Urho3D::PhysicsWorld::GetRigidBodies
void GetRigidBodies(PODVector< RigidBody * > &result, const Sphere &sphere, unsigned collisionMask=M_MAX_UNSIGNED)
Return rigid bodies by a sphere query.
Definition: PhysicsWorld.cpp:621
Urho3D::Light::GetEffectiveSpecularIntensity
float GetEffectiveSpecularIntensity() const
Return effective specular intensity, multiplied by absolute value of brightness.
Definition: Light.h:250
Urho3D::StaticModelGeometryData
Static model per-geometry extra data.
Definition: StaticModel.h:33
Urho3D::Zone::ClearDrawablesZone
void ClearDrawablesZone()
Clear zone reference from drawables inside the bounding box.
Definition: Zone.cpp:325
Urho3D::View::DrawOccluders
void DrawOccluders(OcclusionBuffer *buffer, const PODVector< Drawable * > &occluders)
Draw occluders to occlusion buffer.
Definition: View.cpp:2231
Urho3D::ShaderVariation::parameters_
HashMap< StringHash, ShaderParameter > parameters_
Shader parameters.
Definition: ShaderVariation.h:162
Urho3D::Renderer::GetFrameInfo
const FrameInfo & GetFrameInfo() const
Return the frame update parameters.
Definition: Renderer.h:382
Urho3D::Object::SendEvent
void SendEvent(StringHash eventType)
Send event to all subscribers.
Definition: Object.cpp:293
Urho3D::TmxImageLayer2D::GetSprite
Sprite2D * GetSprite() const
Return sprite.
Definition: TmxFile2D.cpp:371
Urho3D::OcclusionBufferData::data_
int * data_
Buffer data.
Definition: OcclusionBuffer.h:59
Urho3D::Script::router_
SharedPtr< ResourceRouter > router_
AngelScript resource router.
Definition: Script.h:143
Urho3D::Object::context_
Context * context_
Execution context.
Definition: Object.h:177
Urho3D::UnknownComponent::GetTypeStatic
static Urho3D::StringHash GetTypeStatic()
Return static type.
Definition: UnknownComponent.h:77
Urho3D::NavigationMesh::GetEdgeMaxLength
float GetEdgeMaxLength() const
Return edge max length.
Definition: NavigationMesh.h:225
Urho3D::UI::GetDefaultToolTipDelay
float GetDefaultToolTipDelay() const
Return tooltip default display delay in seconds.
Definition: UI.h:185
Urho3D::List::Find
ConstIterator Find(const T &value) const
Return const iterator to value, or to the end if not found.
Definition: List.h:382
Urho3D::ScriptFile::compiled_
bool compiled_
Compiled flag.
Definition: ScriptFile.h:136
Urho3D::FileSelector
File selector dialog.
Definition: FileSelector.h:51
Urho3D::Animatable::~Animatable
~Animatable() override
Destruct.
Urho3D::DecalVertex::position_
Vector3 position_
Position.
Definition: DecalSet.h:62
Urho3D::TmxObjectGroup2D::GetObject
TileMapObject2D * GetObject(unsigned index) const
Return tile map object at index.
Definition: TmxFile2D.cpp:327
Urho3D::Sprite2D::texture_
SharedPtr< Texture2D > texture_
Texture.
Definition: Sprite2D.h:97
Urho3D::CollisionShape::shapeType_
ShapeType shapeType_
Collision shape type.
Definition: CollisionShape.h:300
Urho3D::Spriter::SpriterInstance::mainlineKey_
MainlineKey * mainlineKey_
Current mainline key.
Definition: SpriterInstance2D.h:107
Urho3D::Quaternion::DotProduct
float DotProduct(const Quaternion &rhs) const
Calculate dot product.
Definition: Quaternion.h:398
Urho3D::RenderPath::commands_
Vector< RenderPathCommand > commands_
Rendering commands.
Definition: RenderPath.h:250
Urho3D::SoundSource3D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: SoundSource3D.cpp:58
Urho3D::ListView::ChangeSelection
void ChangeSelection(int delta, bool additive=false)
Move selection by a delta and clamp at list ends. If additive (multiselect only), will add to the exi...
Definition: ListView.cpp:655
Urho3D::SoundSource::sound_
SharedPtr< Sound > sound_
Sound that is being played.
Definition: SoundSource.h:181
Urho3D::Node::GetScale
const Vector3 & GetScale() const
Return scale in parent space.
Definition: Node.h:398
Urho3D::Skeleton::rootBoneIndex_
unsigned rootBoneIndex_
Root bone index.
Definition: Skeleton.h:142
Urho3D::TileMapLayer2D::GetWidth
int GetWidth() const
Return width (for tile layer only).
Definition: TileMapLayer2D.cpp:274
Urho3D::ScrollView::GetPageStep
float GetPageStep() const
Return arrow key page step.
Definition: ScrollView.h:119
Urho3D::JSONValue::SetVariantMap
void SetVariantMap(const VariantMap &variantMap, Context *context=nullptr)
Set variant map, context must provide for resource ref.
Definition: JSONValue.cpp:566
Urho3D::RigidBody::GetAngularVelocity
Vector3 GetAngularVelocity() const
Return angular velocity.
Definition: RigidBody.cpp:643
Urho3D::Resource::EndLoad
virtual bool EndLoad()
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: Resource.cpp:75
Urho3D::RibbonTrail::GetBaseVelocity
const Vector3 & GetBaseVelocity() const
Return base trail velocity.
Definition: RibbonTrail.h:161
Urho3D::Component::enabled_
bool enabled_
Enabled flag.
Definition: Component.h:144
Urho3D::ConstraintGear2D::GetOwnerConstraint
Constraint2D * GetOwnerConstraint() const
Return owner constraint.
Definition: ConstraintGear2D.h:51
Urho3D::BorderImage::SetHoverOffset
void SetHoverOffset(const IntVector2 &offset)
Set offset to image rectangle used on hover.
Definition: BorderImage.cpp:113
Urho3D::UIElement::FilterUIStyleAttributes
bool FilterUIStyleAttributes(XMLElement &dest, const XMLElement &styleElem) const
Filter UI-style attributes in serialization process.
Definition: UIElement.cpp:1970
Urho3D::Pass::SetDepthTestMode
void SetDepthTestMode(CompareMode mode)
Set depth compare mode.
Definition: Technique.cpp:109
Urho3D::UniquePtr::NotNull
bool NotNull() const
Check if the pointer is not null.
Definition: Ptr.h:646
Urho3D::UIElement::positionDirty_
bool positionDirty_
Screen position dirty flag.
Definition: UIElement.h:742
Urho3D::ParticleEmitter::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: ParticleEmitter.cpp:87
Urho3D::Text3D::SetFixedScreenSize
void SetFixedScreenSize(bool enable)
Set whether text has fixed size on screen (pixel-perfect) regardless of distance to camera....
Definition: Text3D.cpp:359
Urho3D::RibbonTrail::MarkPositionsDirty
void MarkPositionsDirty()
Mark vertex buffer to need an update.
Definition: RibbonTrail.cpp:895
Urho3D::Renderer::ResetScreenBufferAllocations
void ResetScreenBufferAllocations()
Reset screem buffer allocation counts.
Definition: Renderer.cpp:1572
Urho3D::SoundSource::MixStereoToMono
void MixStereoToMono(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix stereo sample to mono buffer.
Definition: SoundSource.cpp:918
Urho3D::UIElement::SetPosition
void SetPosition(const IntVector2 &position)
Set position.
Definition: UIElement.cpp:525
Urho3D::Text::unicodeText_
PODVector< unsigned > unicodeText_
Text as Unicode characters.
Definition: Text.h:253
Urho3D::Node::SetWorldScale
void SetWorldScale(float scale)
Set uniform scale in world space.
Definition: Node.cpp:529
Urho3D::Graphics::SetTextureForUpdate
void SetTextureForUpdate(Texture *texture)
Bind texture unit 0 for update. Called by Texture. Used only on OpenGL.
Definition: OGLGraphics.cpp:1564
Urho3D::Graphics::blendMode_
BlendMode blendMode_
Blending mode.
Definition: Graphics.h:803
Urho3D::Scene::sceneMutex_
Mutex sceneMutex_
Mutex for the delayed dirty notification queue.
Definition: Scene.h:310
Urho3D::RigidBody2D::SetInertia
void SetInertia(float inertia)
Set inertia.
Definition: RigidBody2D.cpp:141
Urho3D::ParticleEffect::GetMinTimeToLive
float GetMinTimeToLive() const
Return particle minimum time to live.
Definition: ParticleEffect.h:287
Urho3D::Matrix4::Column
Vector4 Column(unsigned j) const
Return matrix column.
Definition: Matrix4.h:648
Urho3D::HashSet::Erase
Iterator Erase(const Iterator &it)
Erase a key by iterator. Return iterator to the next key.
Definition: HashSet.h:363
Urho3D::Quaternion::Nlerp
Quaternion Nlerp(const Quaternion &rhs, float t, bool shortestPath=false) const
Normalized linear interpolation with another quaternion.
Definition: Quaternion.cpp:313
Urho3D::DynamicNavigationMesh::ReadTiles
bool ReadTiles(Deserializer &source, bool silent)
Read tiles data to the navigation mesh.
Definition: DynamicNavigationMesh.cpp:770
Urho3D::Polyhedron::faces_
Vector< PODVector< Vector3 > > faces_
Polygon faces.
Definition: Polyhedron.h:108
Urho3D::Input::sdlMouseRelative_
bool sdlMouseRelative_
Flag to determine whether SDL mouse relative was used.
Definition: Input.h:415
Urho3D::AM_FILEREADONLY
@ AM_FILEREADONLY
Attribute is readonly. Can't be used with binary serialized objects.
Definition: Attribute.h:55
Urho3D::IKSolver::SetFeature
void SetFeature(Feature feature, bool enable)
Enable or disable a certain feature (see IKSolver::Feature).
Definition: IKSolver.cpp:155
Urho3D::Zone::GetAmbientGradient
bool GetAmbientGradient() const
Return whether ambient gradient mode is enabled.
Definition: Zone.h:109
Urho3D::Texture2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Texture2D.cpp:55
Urho3D::PhysicsWorld2D::AddDelayedWorldTransform
void AddDelayedWorldTransform(const DelayedWorldTransform2D &transform)
Add a delayed world transform assignment. Called by RigidBody2D.
Definition: PhysicsWorld2D.cpp:451
Urho3D::RibbonTrail::~RibbonTrail
~RibbonTrail() override
Destruct.
Urho3D::DebugHud::GetProfilerMaxDepth
unsigned GetProfilerMaxDepth() const
Return maximum profiler block depth.
Definition: DebugHud.h:91
Urho3D::ScrollView::GetContentElement
UIElement * GetContentElement() const
Return content element.
Definition: ScrollView.h:95
Urho3D::IndexBuffer::OnDeviceLost
void OnDeviceLost() override
Mark the buffer destroyed on graphics context destruction. May be a no-op depending on the API.
Definition: OGLIndexBuffer.cpp:36
Urho3D::AllContentOctreeQuery::AllContentOctreeQuery
AllContentOctreeQuery(PODVector< Drawable * > &result, unsigned char drawableFlags, unsigned viewMask)
Construct.
Definition: OctreeQuery.h:261
Urho3D::SoundSource::Stop
void Stop()
Stop playback.
Definition: SoundSource.cpp:255
Urho3D::XMLFile::document_
UniquePtr< pugi::xml_document > document_
Pugixml document.
Definition: XMLFile.h:97
Urho3D::Menu::GetPopupOffset
const IntVector2 & GetPopupOffset() const
Return popup element offset.
Definition: Menu.h:75
Urho3D::JoystickState::joystickID_
SDL_JoystickID joystickID_
SDL joystick instance ID.
Definition: Input.h:111
Urho3D::Image
Image resource.
Definition: Image.h:81
Urho3D::EventHandler
Internal helper class for invoking event handler functions.
Definition: Object.h:247
Urho3D::HashIteratorBase::operator==
bool operator==(const HashIteratorBase &rhs) const
Test for equality with another iterator.
Definition: HashBase.h:73
Urho3D::RaycastVehicle::GetCoordinateSystem
IntVector3 GetCoordinateSystem() const
Get the coordinate system.
Definition: RaycastVehicle.h:164
Urho3D::Drawable::IsInView
bool IsInView() const
Return whether is in view this frame from any viewport camera. Excludes shadow map cameras.
Definition: Drawable.cpp:264
Urho3D::DropDownList::HandleItemClicked
void HandleItemClicked(StringHash eventType, VariantMap &eventData)
Handle listview item click event.
Definition: DropDownList.cpp:317
Urho3D::SmoothedTransform
Transform smoothing component for network updates.
Definition: SmoothedTransform.h:44
Urho3D::ObjectAnimation::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ObjectAnimation.cpp:53
Urho3D::Graphics::scissorTest_
bool scissorTest_
Scissor test enable flag.
Definition: Graphics.h:823
Urho3D::String::Begin
Iterator Begin()
Return iterator to the beginning.
Definition: Str.h:380
Urho3D::Variant::Variant
Variant(const String &value)
Construct from a string.
Definition: Variant.h:409
Urho3D::Database::GetPoolSize
unsigned GetPoolSize() const
Get internal database connection pool size.
Definition: Database.h:62
Urho3D::JSONValue::IsBool
bool IsBool() const
Check is boolean.
Definition: JSONValue.h:181
Urho3D::ConstraintMouse2D::GetDampingRatio
float GetDampingRatio() const
Return damping ratio.
Definition: ConstraintMouse2D.h:62
Urho3D::Matrix3x4::Matrix3x4
Matrix3x4(const Vector3 &translation, const Quaternion &rotation, float scale) noexcept
Construct from translation, rotation and uniform scale.
Definition: Matrix3x4.h:150
Urho3D::Terrain::GetMaterial
Material * GetMaterial() const
Return material.
Definition: Terrain.cpp:523
Urho3D::NavigationMesh::WriteTile
void WriteTile(Serializer &dest, int x, int z) const
Write tile data.
Definition: NavigationMesh.cpp:1253
Urho3D::Renderer::vsmMultiSample_
int vsmMultiSample_
Multisample level for VSM shadows.
Definition: Renderer.h:554
Urho3D::VertexBuffer::elementMask_
VertexMaskFlags elementMask_
Vertex element legacy bitmask.
Definition: VertexBuffer.h:158
Urho3D::TextureUsage
TextureUsage
Texture usage types.
Definition: GraphicsDefs.h:261
Urho3D::Vector3::RIGHT
static const Vector3 RIGHT
(1,0,0) vector.
Definition: Vector3.h:485
Urho3D::NavigationMesh::SetAgentRadius
void SetAgentRadius(float radius)
Set navigation agent radius.
Definition: NavigationMesh.cpp:255
Urho3D::File::compressed_
bool compressed_
Compression flag.
Definition: File.h:143
Urho3D::LOAD_RESOURCES_ONLY
@ LOAD_RESOURCES_ONLY
Preload resources used by a scene or object prefab file, but do not load any scene content.
Definition: Scene.h:49
Urho3D::Variant::Variant
Variant(VariantType type, const char *value)
Construct from type and value.
Definition: Variant.h:542
Urho3D::Audio::IsPlaying
bool IsPlaying() const
Return whether audio is being output.
Definition: Audio.h:84
Urho3D::Script::GetImmediateContext
asIScriptContext * GetImmediateContext() const
Return immediate execution script context.
Definition: Script.h:89
Urho3D::Constraint2D::MarkOtherBodyNodeIDDirty
void MarkOtherBodyNodeIDDirty()
Mark other body node ID dirty.
Definition: Constraint2D.h:91
Urho3D::Image::GetNextSibling
SharedPtr< Image > GetNextSibling() const
Return the next sibling image of an array or cubemap.
Definition: Image.h:185
Urho3D::UIElement::childOffset_
IntVector2 childOffset_
Child elements' offset. Used internally.
Definition: UIElement.h:779
Urho3D::SoundSource::GetGain
float GetGain() const
Return gain.
Definition: SoundSource.h:96
Urho3D::Constraint2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Constraint2D.cpp:52
Urho3D::Texture::CheckMaxLevels
static unsigned CheckMaxLevels(int width, int height, unsigned requestedLevels)
Check maximum allowed mip levels for a specific texture size.
Definition: Texture.cpp:240
Urho3D::ListView::SetSelectOnClickEnd
void SetSelectOnClickEnd(bool enable)
Enable reacting to click end instead of click start for item selection. Default false.
Definition: ListView.cpp:764
Urho3D::AnimationState::GetWeight
float GetWeight() const
Return blending weight.
Definition: AnimationState.h:133
Urho3D::WorkQueue::AddWorkItem
void AddWorkItem(const SharedPtr< WorkItem > &item)
Add a work item and resume worker threads.
Definition: WorkQueue.cpp:125
Urho3D::TerrainPatch::GetNorthPatch
TerrainPatch * GetNorthPatch() const
Return north neighbor patch.
Definition: TerrainPatch.h:89
Urho3D::Pass::GetPixelShaderDefines
const String & GetPixelShaderDefines() const
Return pixel shader defines.
Definition: Technique.h:123
Urho3D::Constraint2D::otherBody_
WeakPtr< RigidBody2D > otherBody_
Other body.
Definition: Constraint2D.h:100
Urho3D::Particle2D::startPos_
Vector2 startPos_
Start position.
Definition: ParticleEmitter2D.h:56
Urho3D::Pass::SetVertexShader
void SetVertexShader(const String &name)
Set vertex shader name.
Definition: Technique.cpp:135
Urho3D::AnimationTrack::InsertKeyFrame
void InsertKeyFrame(unsigned index, const AnimationKeyFrame &keyFrame)
Insert a keyframe at index.
Definition: Animation.cpp:71
Urho3D::RayQueryResult::normal_
Vector3 normal_
Hit normal in world space. Negation of ray direction if per-triangle data not available.
Definition: OctreeQuery.h:209
Urho3D::Window::OnDragEnd
void OnDragEnd(const IntVector2 &position, const IntVector2 &screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags releaseButtons, Cursor *cursor) override
React to mouse drag end.
Definition: Window.cpp:232
Urho3D::StaticModelGroup::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: StaticModelGroup.cpp:368
Urho3D::UI::DragData::numDragButtons
int numDragButtons
How many buttons initiated the drag.
Definition: UI.h:235
Urho3D::Renderer::mobileNormalOffsetMul_
float mobileNormalOffsetMul_
Mobile platform shadow normal offset multiplier.
Definition: Renderer.h:572
Urho3D::ScrollView::scrollDeceleration_
float scrollDeceleration_
Scroll deceleration.
Definition: ScrollView.h:177
Urho3D::Drawable::GetDistance
float GetDistance() const
Return distance from camera.
Definition: Drawable.h:260
Urho3D::DecalSet::SetMaterialAttr
void SetMaterialAttr(const ResourceRef &value)
Set material attribute.
Definition: DecalSet.cpp:518
Urho3D::Vector2::AbsDotProduct
float AbsDotProduct(const Vector2 &rhs) const
Calculate absolute dot product.
Definition: Vector2.h:310
Urho3D::Light::GetColorFromTemperature
Color GetColorFromTemperature() const
Return the color value of the temperature in Kelvin.
Definition: Light.cpp:416
Urho3D::Text3D::SetText
void SetText(const String &text)
Set text. Text is assumed to be either ASCII or UTF8-encoded.
Definition: Text3D.cpp:223
Urho3D::IntRect
Two-dimensional bounding rectangle with integer values.
Definition: Rect.h:272
Urho3D::WindowModeParams::height_
int height_
Height of the window. 0 to pick automatically.
Definition: Graphics.h:133
Urho3D::DynamicNavigationMesh::IsObstacleInTile
bool IsObstacleInTile(Obstacle *obstacle, const IntVector2 &tile) const
Return whether the Obstacle is touching the given tile.
Definition: DynamicNavigationMesh.cpp:548
Urho3D::LuaFunction::PushString
void PushString(const String &string)
Push string to stack.
Definition: LuaFunction.cpp:130
Urho3D::Viewport::SetScene
void SetScene(Scene *scene)
Set scene.
Definition: Viewport.cpp:69
Urho3D::Allocator::allocator_
AllocatorBlock * allocator_
Allocator block.
Definition: Allocator.h:124
Urho3D::CustomVariantValueImpl::GetSize
unsigned GetSize() const override
Get size.
Definition: Variant.h:256
Urho3D::ParticleEffect2D::rotationStartVariance_
float rotationStartVariance_
Rotation start variance.
Definition: ParticleEffect2D.h:324
Urho3D::Node::enabledPrev_
bool enabledPrev_
Last SetEnabled flag before any SetDeepEnabled.
Definition: Node.h:675
Urho3D::NodeReplicationState::sceneState_
SceneReplicationState * sceneState_
Parent scene replication state.
Definition: ReplicationState.h:159
Urho3D::Renderer::ApplyShadowMapFilter
void ApplyShadowMapFilter(View *view, Texture2D *shadowMap, float blurScale)
Apply post processing filter to the shadow map. Called by View.
Definition: Renderer.cpp:531
Urho3D::Deserializer::ReadVariantMap
VariantMap ReadVariantMap()
Read a variant map.
Definition: Deserializer.cpp:414
Urho3D::ValueAnimationInfo::~ValueAnimationInfo
~ValueAnimationInfo() override
Destruct.
Urho3D::File::IsOpen
bool IsOpen() const
Return whether is open.
Definition: File.cpp:419
Urho3D::DecalSet::RemoveDecal
List< Decal >::Iterator RemoveDecal(List< Decal >::Iterator i)
Remove a decal by iterator and return iterator to the next decal.
Definition: DecalSet.cpp:984
Urho3D::PhysicsWorld::SetDebugRenderer
void SetDebugRenderer(DebugRenderer *debug)
Set debug renderer to use. Called both by PhysicsWorld itself and physics components.
Definition: PhysicsWorld.cpp:761
Urho3D::Network::PostUpdate
void PostUpdate(float timeStep)
Send outgoing messages after frame logic. Called by HandleRenderUpdate.
Definition: Network.cpp:914
Urho3D::Camera::projection_
Matrix4 projection_
Cached projection matrix.
Definition: Camera.h:232
Urho3D::RibbonTrail::UpdateGeometry
void UpdateGeometry(const FrameInfo &frame) override
Prepare geometry for rendering. Called from a worker thread if possible (no GPU update).
Definition: RibbonTrail.cpp:397
Urho3D::DecalSet
Decal renderer component.
Definition: DecalSet.h:103
Urho3D::TileMapInfo2D::tileWidth_
float tileWidth_
Tile width.
Definition: TileMapDefs2D.h:58
Urho3D::Drawable::sortValue_
float sortValue_
Current sort value.
Definition: Drawable.h:371
Urho3D::VertexBufferMorph
Vertex buffer morph data.
Definition: Model.h:41
Urho3D::Drawable::SetLodBias
void SetLodBias(float bias)
Set LOD bias.
Definition: Drawable.cpp:185
Urho3D::SharedPtr::operator!=
bool operator!=(const SharedPtr< U > &rhs) const
Test for inequality with another shared pointer.
Definition: Ptr.h:158
Urho3D::Sprite::hotSpot_
IntVector2 hotSpot_
Hotspot for positioning and rotation.
Definition: Sprite.h:114
Urho3D::SplinePath::RemoveControlPoint
void RemoveControlPoint(Node *point)
Remove a Node Control Point from the SplinePath.
Definition: SplinePath.cpp:154
Urho3D::IntRect::ToString
String ToString() const
Return as string.
Definition: Rect.cpp:81
Urho3D::SimpleNavBuildData::polyMeshDetail_
rcPolyMeshDetail * polyMeshDetail_
Recast detail poly mesh.
Definition: NavBuildData.h:99
Urho3D::LuaFunction::PushUserType
void PushUserType(const T *userType, const char *typeName)
Push user type to stack.
Definition: LuaFunction.h:80
Urho3D::OcclusionBuffer::SetMaxTriangles
void SetMaxTriangles(unsigned triangles)
Set maximum triangles to render.
Definition: OcclusionBuffer.cpp:129
Urho3D::Vector3::BACK
static const Vector3 BACK
(0,0,-1) vector.
Definition: Vector3.h:493
Urho3D::Frustum::IsInsideFast
Intersection IsInsideFast(const BoundingBox &box) const
Test if a bounding box is (partially) inside or outside.
Definition: Frustum.h:144
Urho3D::Renderer::GetNumLights
unsigned GetNumLights(bool allViews=false) const
Return number of lights rendered.
Definition: Renderer.cpp:591
Urho3D::ProfilerBlock::totalMaxTime_
long long totalMaxTime_
All-time maximum time.
Definition: Profiler.h:166
Urho3D::ConstraintPrismatic2D::SetLowerTranslation
void SetLowerTranslation(float lowerTranslation)
Set lower translation.
Definition: ConstraintPrismatic2D.cpp:99
Urho3D::BillboardSet::bufferDirty_
bool bufferDirty_
Vertex buffer needs rewrite flag.
Definition: BillboardSet.h:193
Urho3D::ListView::multiselect_
bool multiselect_
Multiselect flag.
Definition: ListView.h:174
Urho3D::Texture3D::OnDeviceLost
void OnDeviceLost() override
Mark the GPU resource destroyed on context destruction.
Definition: OGLTexture3D.cpp:42
Urho3D::Window::GetModalFrameColor
const Color & GetModalFrameColor() const
Get modal frame color.
Definition: Window.h:122
Urho3D::CollisionShape::GetRotation
const Quaternion & GetRotation() const
Return offset rotation.
Definition: CollisionShape.h:230
Urho3D::WM_CLAMP
@ WM_CLAMP
Clamp mode.
Definition: AnimationDefs.h:38
Urho3D::SplinePath::dirty_
bool dirty_
Whether the Control Point IDs are dirty.
Definition: SplinePath.h:136
Urho3D::DropDownList::HandleSelectionChanged
void HandleSelectionChanged(StringHash eventType, VariantMap &eventData)
Handle the listview selection change. Set placeholder text hidden/visible as necessary.
Definition: DropDownList.cpp:340
Urho3D::Texture::GetAnisotropy
unsigned GetAnisotropy() const
Return texture max. anisotropy level. Value 0 means to use the default value from Renderer.
Definition: Texture.h:97
Urho3D::CollisionCircle2D::SetCenter
void SetCenter(const Vector2 &center)
Set center.
Definition: CollisionCircle2D.cpp:69
Urho3D::NavigationMesh::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Visualize the component as debug geometry.
Definition: NavigationMesh.cpp:162
Urho3D::Color::g_
float g_
Green value.
Definition: Color.h:258
Urho3D::Context::GetObjectCategories
const HashMap< String, Vector< StringHash > > & GetObjectCategories() const
Return all object categories.
Definition: Context.h:152
Urho3D::UI::debugDrawBatches_
PODVector< UIBatch > debugDrawBatches_
UI rendering batches for debug draw.
Definition: UI.h:365
Urho3D::ScriptFile::RemoveEventHandlersExcept
void RemoveEventHandlersExcept(const PODVector< StringHash > &exceptions) override
Remove all scripted event handlers, except those listed.
Definition: ScriptFile.cpp:261
Urho3D::DbResult::GetColumns
const StringVector & GetColumns() const
Return the column headers string collection.
Definition: ODBCResult.h:57
Urho3D::UI::HandlePostUpdate
void HandlePostUpdate(StringHash eventType, VariantMap &eventData)
Handle logic post-update event.
Definition: UI.cpp:2047
Urho3D::CompressedLevel::Decompress
bool Decompress(unsigned char *dest) const
Decompress to RGBA. The destination buffer required is width * height * 4 bytes. Return true if succe...
Definition: Image.cpp:219
Urho3D::CollisionChain2D::CollisionChain2D
CollisionChain2D(Context *context)
Construct.
Definition: CollisionChain2D.cpp:38
Urho3D::AreaAllocator::maxSize_
IntVector2 maxSize_
Maximum size it allows to grow. It is zero when it is not allowed to grow.
Definition: AreaAllocator.h:66
Urho3D::GraphicsImpl::sRGBWrite_
bool sRGBWrite_
sRGB write mode flag.
Definition: OGLGraphicsImpl.h:160
Urho3D::BatchGroupKey::material_
Material * material_
Material.
Definition: Batch.h:201
Urho3D::Tile2D
Tile define.
Definition: TileMapDefs2D.h:131
Urho3D::CollisionChain2D::SetLoop
void SetLoop(bool loop)
Set loop.
Definition: CollisionChain2D.cpp:57
Urho3D::ParticleEffect2D::WriteColor
void WriteColor(XMLElement &element, const String &name, const Color &color) const
Write Color.
Definition: ParticleEffect2D.cpp:554
Urho3D::AnimatedModel::GetMorphs
const Vector< ModelMorph > & GetMorphs() const
Return all vertex morphs.
Definition: AnimatedModel.h:127
Urho3D::HashMap::Begin
ConstIterator Begin() const
Return iterator to the beginning.
Definition: HashMap.h:607
Urho3D::AnimationSet2D::hasSpriteSheet_
bool hasSpriteSheet_
Has sprite sheet.
Definition: AnimationSet2D.h:114
Urho3D::ScrollBar::ApplyAttributes
void ApplyAttributes() override
Apply attribute changes that can not be applied immediately.
Definition: ScrollBar.cpp:96
Urho3D::Matrix3::Equals
bool Equals(const Matrix3 &rhs) const
Test for equality with another matrix with epsilon.
Definition: Matrix3.h:245
Urho3D::LuaScript::GetState
lua_State * GetState() const
Return Lua state.
Definition: LuaScript.h:88
Urho3D::UI::defaultToolTipDelay_
float defaultToolTipDelay_
Tooltip default display delay in seconds.
Definition: UI.h:381
Urho3D::Light::GetIntensityDivisor
float GetIntensityDivisor(float attenuation=1.0f) const
Return a divisor value based on intensity for calculating the sort value.
Definition: Light.h:318
Urho3D::GPUObject::ClearDataLost
void ClearDataLost()
Clear the data lost flag.
Definition: GPUObject.cpp:68
Urho3D::ScrollBar::forwardButton_
SharedPtr< Button > forwardButton_
Forward button.
Definition: ScrollBar.h:104
Urho3D::DebugHud::GetModeText
Text * GetModeText() const
Return rendering mode text.
Definition: DebugHud.h:79
Urho3D::FileSelector::GetDirectoryMode
bool GetDirectoryMode() const
Return directory mode flag.
Definition: FileSelector.h:124
Urho3D::Terrain::CreateIndexData
void CreateIndexData()
Create index data shared by all patches.
Definition: Terrain.cpp:1137
Urho3D::Material::GetShaderParameterAnimation
ValueAnimation * GetShaderParameterAnimation(const String &name) const
Return shader parameter animation.
Definition: Material.cpp:1209
Urho3D::SplinePath::OnMarkedDirty
void OnMarkedDirty(Node *point) override
Listener to manage Control Point movement.
Definition: SplinePath.cpp:285
Urho3D::Context::factories_
HashMap< StringHash, SharedPtr< ObjectFactory > > factories_
Object factories.
Definition: Context.h:226
Urho3D::SoundSource::fractPosition_
volatile int fractPosition_
Playback fractional position.
Definition: SoundSource.h:187
Urho3D::AnimationController::OnSetEnabled
void OnSetEnabled() override
Handle enabled/disabled state change.
Definition: AnimationController.cpp:76
Urho3D::UIElement::FilterAttributes
bool FilterAttributes(XMLElement &dest) const
Filter attributes in serialization process.
Definition: UIElement.cpp:485
Urho3D::Text3D::UpdateTextBatches
void UpdateTextBatches()
Update text UI batches.
Definition: Text3D.cpp:571
Urho3D::Connection::ProcessSceneLoaded
void ProcessSceneLoaded(int msgID, MemoryBuffer &msg)
Process a SceneLoaded message from the client. Called by Network.
Definition: Connection.cpp:983
Urho3D::WorkQueue::tolerance_
int tolerance_
Tolerance for the shared pool before it begins to deallocate.
Definition: WorkQueue.h:148
Urho3D::LineEdit::GetEchoCharacter
unsigned GetEchoCharacter() const
Return echo character.
Definition: LineEdit.h:102
Urho3D::AnimationState::ApplyTrack
void ApplyTrack(AnimationStateTrack &stateTrack, float weight, bool silent)
Apply track.
Definition: AnimationState.cpp:477
Urho3D::ConstraintRevolute2D::GetMaxMotorTorque
float GetMaxMotorTorque() const
Return max motor torque.
Definition: ConstraintRevolute2D.h:77
Urho3D::NavArea::DrawDebugGeometry
void DrawDebugGeometry(DebugRenderer *debug, bool depthTest) override
Render debug geometry for the bounds.
Definition: NavArea.cpp:75
Urho3D::Spriter::SpriterInstance::GetTimelineKeys
const PODVector< SpatialTimelineKey * > & GetTimelineKeys() const
Return animation result timeline keys.
Definition: SpriterInstance2D.h:76
Urho3D::Node::worldTransform_
Matrix3x4 worldTransform_
World-space transform matrix.
Definition: Node.h:669
Urho3D::ParticleEffect::GetEmitterType
EmitterType GetEmitterType() const
Return emitter type.
Definition: ParticleEffect.h:251
Urho3D::BatchGroup
Instanced 3D geometry draw call.
Definition: Batch.h:134
Urho3D::CustomVariantValue::~CustomVariantValue
virtual ~CustomVariantValue()=default
Destruct.
Urho3D::Constraint::retryCreation_
bool retryCreation_
Constraint creation retry flag if attributes initially set without scene.
Definition: Constraint.h:207
Urho3D::Spriter::Timeline
Timeline.
Definition: SpriterData2D.h:200
Urho3D::ConstraintGear2D::SetRatio
void SetRatio(float ratio)
Set ratio.
Definition: ConstraintGear2D.cpp:88
Urho3D::List::Begin
ConstIterator Begin() const
Return iterator to the first element.
Definition: List.h:397
Urho3D::Technique::Clone
SharedPtr< Technique > Clone(const String &cloneName=String::EMPTY) const
Clone the technique. Passes will be deep copied to allow independent modification.
Definition: Technique.cpp:376
Urho3D::FrustumOctreeQuery::FrustumOctreeQuery
FrustumOctreeQuery(PODVector< Drawable * > &result, const Frustum &frustum, unsigned char drawableFlags=DRAWABLE_ANY, unsigned viewMask=DEFAULT_VIEWMASK)
Construct with frustum and query parameters.
Definition: OctreeQuery.h:140
Urho3D::UIElement::SetRenderTexture
void SetRenderTexture(Texture2D *texture)
Set texture to which element will be rendered.
Definition: UIElement.cpp:2245
Urho3D::Terrain::north_
WeakPtr< Terrain > north_
North neighbor terrain.
Definition: Terrain.h:259
Urho3D::Image::compressedFormat_
CompressedFormat compressedFormat_
Compressed format.
Definition: Image.h:232
Urho3D::View::renderPath_
RenderPath * renderPath_
Renderpath.
Definition: View.h:386
Urho3D::List::Iterator
List iterator.
Definition: List.h:58
Urho3D::Pair::Pair
Pair()=default
Construct undefined.
Urho3D::DbConnection::connectionImpl_
nanodbc::connection connectionImpl_
The underlying implementation connection object.
Definition: ODBCConnection.h:65
Urho3D::Context
Urho3D execution context. Provides access to subsystems, object factories and attributes,...
Definition: Context.h:66
Urho3D::Network::HandleRenderUpdate
void HandleRenderUpdate(StringHash eventType, VariantMap &eventData)
Handle render update frame event.
Definition: Network.cpp:981
Urho3D::IntVector2::Data
const int * Data() const
Return integer data.
Definition: Vector2.h:144
Urho3D::Input::GetQualifierPress
bool GetQualifierPress(Qualifier qualifier) const
Check if a qualifier key has been pressed on this frame.
Definition: Input.cpp:1376
Urho3D::CascadeParameters::biasAutoAdjust_
float biasAutoAdjust_
Automatic depth bias adjustment strength.
Definition: Light.h:115
Urho3D::CollisionCircle2D::circleShape_
b2CircleShape circleShape_
Circle shape.
Definition: CollisionCircle2D.h:63
Urho3D::Text3D::SetMaterialAttr
void SetMaterialAttr(const ResourceRef &value)
Set material attribute.
Definition: Text3D.cpp:539
Urho3D::PListValueVector
Vector< PListValue > PListValueVector
Vector of PList value.
Definition: PListFile.h:52
Urho3D::Frustum::IsInside
Intersection IsInside(const BoundingBox &box) const
Test if a bounding box is inside, outside or intersects.
Definition: Frustum.h:123
Urho3D::Controls::extraData_
VariantMap extraData_
Extra control data.
Definition: Controls.h:70
Urho3D::Text::GetTextAttr
String GetTextAttr() const
Return text attribute.
Definition: Text.cpp:461
Urho3D::ObjectAnimation::SaveJSON
bool SaveJSON(JSONValue &dest) const
Save as JSON data. Return true if successful.
Definition: ObjectAnimation.cpp:169
Urho3D::ResourceCache::ReleasePackageResources
void ReleasePackageResources(PackageFile *package, bool force=false)
Release resources loaded from a package file.
Definition: ResourceCache.cpp:1003
Urho3D::SceneResolver
Utility class that resolves node & component IDs after a scene or partial scene load.
Definition: SceneResolver.h:35
Urho3D::DebugTriangle::DebugTriangle
DebugTriangle()=default
Construct undefined.
Urho3D::Quaternion::Inverse
Quaternion Inverse() const
Return inverse.
Definition: Quaternion.h:364
Urho3D::TmxObjectGroup2D
Tmx objects layer.
Definition: TmxFile2D.h:107
Urho3D::SoundSource::SoundSource
SoundSource(Context *context)
Construct.
Definition: SoundSource.cpp:103
Urho3D::StringVector
Vector< String > StringVector
Vector of strings.
Definition: Variant.h:83
Urho3D::ConstraintWheel2D::~ConstraintWheel2D
~ConstraintWheel2D() override
Destruct.
Urho3D::AnimatedModel::OnNodeSet
void OnNodeSet(Node *node) override
Handle node being assigned.
Definition: AnimatedModel.cpp:934
Urho3D::List::Insert
void Insert(const Iterator &dest, const List< T > &list)
Insert a list at position.
Definition: List.h:289
Urho3D::DynamicNavigationMesh::SetMaxObstacles
void SetMaxObstacles(unsigned maxObstacles)
Set the maximum number of obstacles allowed.
Definition: DynamicNavigationMesh.h:86
Urho3D::Graphics::SetRenderTarget
void SetRenderTarget(unsigned index, RenderSurface *renderTarget)
Set rendertarget.
Definition: OGLGraphics.cpp:1631
Urho3D::Renderer::updatedOctrees_
HashSet< Octree * > updatedOctrees_
Octrees that have been updated during the frame.
Definition: Renderer.h:528
Urho3D::TmxFile2D::LoadTileSet
bool LoadTileSet(const XMLElement &element)
Load tile set.
Definition: TmxFile2D.cpp:620
Urho3D::ParticleEffect2D::WriteVector2
void WriteVector2(XMLElement &element, const String &name, const Vector2 &value) const
Write Vector2.
Definition: ParticleEffect2D.cpp:563
Urho3D::BoundingBox::Define
void Define(const Rect &rect)
Define from a Rect.
Definition: BoundingBox.h:150
Urho3D::SourceBatch2D::drawOrder_
int drawOrder_
Draw order.
Definition: Drawable2D.h:58
Urho3D::Decal::Decal
Decal()
Construct with defaults.
Definition: DecalSet.h:79
Urho3D::Matrix4::Decompose
void Decompose(Vector3 &translation, Quaternion &rotation, Vector3 &scale) const
Return decomposition to translation, rotation and scale.
Definition: Matrix4.cpp:65
Urho3D::Zone::GetFogEnd
float GetFogEnd() const
Return fog end distance.
Definition: Zone.h:91
Urho3D::ParticleEffect2D::radialAccelVariance_
float radialAccelVariance_
Radial acceleration variance.
Definition: ParticleEffect2D.h:282
Urho3D::Context::BeginSendEvent
void BeginSendEvent(Object *sender, StringHash eventType)
Begin event send.
Definition: Context.cpp:454
Urho3D::View3D::GetRenderTexture
Texture2D * GetRenderTexture() const
Return render texture.
Definition: View3D.cpp:141
Urho3D::TouchState
Input state for a finger touch.
Definition: Input.h:57
Urho3D::Input::GetMouseMoveY
int GetMouseMoveY() const
Return vertical mouse movement since last frame.
Definition: Input.cpp:1431
Urho3D::BoundingBox::BoundingBox
BoundingBox(const Rect &rect) noexcept
Construct from a rect, with the Z dimension left zero.
Definition: BoundingBox.h:61
Urho3D::Renderer::mobileShadowBiasMul_
float mobileShadowBiasMul_
Mobile platform shadow depth bias multiplier.
Definition: Renderer.h:568
Urho3D::Geometry::GetVertexBuffer
VertexBuffer * GetVertexBuffer(unsigned index) const
Return vertex buffer by index.
Definition: Geometry.cpp:191
Urho3D::SoundSource3D
Sound source component with three-dimensional position.
Definition: SoundSource3D.h:33
Urho3D::Scene::AddReplicationState
void AddReplicationState(NodeReplicationState *state) override
Add a replication state that is tracking this scene.
Definition: Scene.cpp:208
Urho3D::Graphics::GetVSync
bool GetVSync() const
Return whether vertical sync is on.
Definition: Graphics.h:372
Urho3D::Matrix3x4::Scale
Vector3 Scale() const
Return the scaling part.
Definition: Matrix3x4.h:616
Urho3D::Vector::Front
T & Front()
Return first element.
Definition: Vector.h:504
Urho3D::ShaderPrecache::fileName_
String fileName_
XML file name.
Definition: ShaderPrecache.h:54
Urho3D::Matrix4::Matrix4
Matrix4(const Matrix4 &matrix) noexcept
Copy-construct from another matrix.
Definition: Matrix4.h:71
Urho3D::Serializer::WriteIntVector2
bool WriteIntVector2(const IntVector2 &value)
Write an IntVector2.
Definition: Serializer.cpp:96
Urho3D::Log::GetLevel
int GetLevel() const
Return logging level.
Definition: Log.h:95
Urho3D::Plane::Plane
Plane(const Vector3 &normal, const Vector3 &point) noexcept
Construct from a normal vector and a point on the plane.
Definition: Plane.h:50
Urho3D::CustomGeometryVertex::texCoord_
Vector2 texCoord_
Texture coordinates.
Definition: CustomGeometry.h:40
Urho3D::Script::SetDefaultScene
void SetDefaultScene(Scene *scene)
Set immediate mode scene.
Definition: Script.cpp:218
Urho3D::UIElement::SetDragDropMode
void SetDragDropMode(DragAndDropModeFlags mode)
Set drag and drop flags.
Definition: UIElement.cpp:989
Urho3D::RigidBody::UpdateMass
void UpdateMass()
Update mass and inertia to the Bullet rigid body. Readd body to world if necessary: if was in world a...
Definition: RigidBody.cpp:739
Urho3D::Renderer::screenBuffers_
HashMap< unsigned long long, Vector< SharedPtr< Texture > > > screenBuffers_
Screen buffers by resolution and format.
Definition: Renderer.h:514
Urho3D::RigidBody2D::IsFixedRotation
bool IsFixedRotation() const
Return fixed rotation.
Definition: RigidBody2D.h:144
Urho3D::ParticleEffect::SetMinDirection
void SetMinDirection(const Vector3 &direction)
Set negative direction limit.
Definition: ParticleEffect.cpp:490
Urho3D::Octant
Octree octant.
Definition: Octree.h:39
Urho3D::Timer::Timer
Timer()
Construct. Get the starting clock value.
Definition: Timer.cpp:195
Urho3D::AttributeInfo
Description of an automatically serializable variable.
Definition: Attribute.h:72
Urho3D::ToolTip::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ToolTip.cpp:44
Urho3D::PhysicsWorld::collisionConfiguration_
btCollisionConfiguration * collisionConfiguration_
Bullet collision configuration.
Definition: PhysicsWorld.h:304
Urho3D::AnimatedSprite2D::SetEntity
void SetEntity(const String &entity)
Set entity name (skin name for spine, entity name for spriter).
Definition: AnimatedSprite2D.cpp:154
Urho3D::RenderPath::SetShaderParameter
void SetShaderParameter(const String &name, const Variant &value)
Set a shader parameter in all commands that define it.
Definition: RenderPath.cpp:498
Urho3D::EventReceiverGroup::receivers_
PODVector< Object * > receivers_
Receivers. May contain holes during sending.
Definition: Context.h:56
Urho3D::RandomAccessIterator::operator*
constexpr T & operator*() const
Dereference the object.
Definition: Iter.h:49
Urho3D::DebugRenderer::SetView
void SetView(Camera *camera)
Set the camera viewpoint. Call before rendering, or before adding geometry if you want to use culling...
Definition: DebugRenderer.cpp:76
Urho3D::HttpRequest::CheckAvailableSizeAndEof
Pair< unsigned, bool > CheckAvailableSizeAndEof() const
Check for available read data in buffer and whether end has been reached. Must only be called when th...
Definition: HttpRequest.cpp:299
Urho3D::Connection::ProcessPendingLatestData
void ProcessPendingLatestData()
Process pending latest data for nodes and components.
Definition: Connection.cpp:411
Urho3D::DelayedWorldTransform::parentRigidBody_
RigidBody * parentRigidBody_
Parent rigid body.
Definition: PhysicsWorld.h:86
Urho3D::AnimatedModel::animationLodFrameNumber_
unsigned animationLodFrameNumber_
The frame number animation LOD distance was last calculated on.
Definition: AnimatedModel.h:233
Urho3D::ScriptInstance::ClearDelayedExecute
void ClearDelayedExecute(const String &declaration=String::EMPTY)
Clear pending delay-executed method calls. If empty declaration given, clears all.
Definition: ScriptInstance.cpp:317
Urho3D::Connection::Connection
Connection(Context *context, bool isClient, const SLNet::AddressOrGUID &address, SLNet::RakPeerInterface *peer)
Construct with context, RakNet connection address and Raknet peer pointer.
Definition: Connection.cpp:71
Urho3D::Texture::SetAddressMode
void SetAddressMode(TextureCoordinate coord, TextureAddressMode mode)
Set addressing mode by texture coordinate.
Definition: Texture.cpp:80
Urho3D::Pass::SetIsDesktop
void SetIsDesktop(bool enable)
Set whether requires desktop level hardware.
Definition: Technique.cpp:130
Urho3D::Graphics::BindColorAttachment
void BindColorAttachment(unsigned index, unsigned target, unsigned object, bool isRenderBuffer)
Bind a framebuffer color attachment using either extension or core functionality. Used only on OpenGL...
Definition: OGLGraphics.cpp:3287
Urho3D::RayQueryResult::position_
Vector3 position_
Hit position in world space.
Definition: OctreeQuery.h:207
Urho3D::SoundStream::~SoundStream
~SoundStream() override
Destruct.
Urho3D::Graphics::stencilZFail_
StencilOp stencilZFail_
Stencil operation on depth fail.
Definition: Graphics.h:833
Urho3D::Camera::nearClip_
float nearClip_
Near clip distance.
Definition: Camera.h:248
Urho3D::DbConnection::DbConnection
DbConnection(Context *context, const String &connectionString)
Construct.
Definition: ODBCConnection.cpp:39
Urho3D::UI::GetFocusableElement
UIElement * GetFocusableElement(UIElement *element)
Return the first element in hierarchy that can alter focus.
Definition: UI.cpp:1294
Urho3D::RaycastVehicle::FixedUpdate
void FixedUpdate(float timeStep) override
Perform fixed step pre-update.
Definition: RaycastVehicle.cpp:289
Urho3D::AnimatedModel::MarkAnimationOrderDirty
void MarkAnimationOrderDirty()
Mark animation and skinning to require a forced update (blending order changed).
Definition: AnimatedModel.cpp:1091
Urho3D::BatchQueue
Queue that contains both instanced and non-instanced draw calls.
Definition: Batch.h:226
Urho3D::AnimatedModel::morphs_
Vector< ModelMorph > morphs_
Vertex morphs.
Definition: AnimatedModel.h:217
Urho3D::Vector::Insert
void Insert(unsigned pos, const Vector< T > &vector)
Insert another vector at position.
Definition: Vector.h:298
Urho3D::PhysicsWorld2D::IsApplyingTransforms
bool IsApplyingTransforms() const
Return whether node dirtying should be disregarded.
Definition: PhysicsWorld2D.h:206
Urho3D::CrowdManager::GetDetourCrowdAgent
const dtCrowdAgent * GetDetourCrowdAgent(int agent) const
Get the detour crowd agent.
Definition: CrowdManager.cpp:685
Urho3D::FileSystem::FileExists
bool FileExists(const String &fileName) const
Check if a file exists.
Definition: FileSystem.cpp:593
Urho3D::Variant::GetBufferPtr
PODVector< unsigned char > * GetBufferPtr()
Return a pointer to a modifiable buffer or null on type mismatch.
Definition: Variant.h:1348
Urho3D::RigidBody::RemoveBodyFromWorld
void RemoveBodyFromWorld()
Remove the rigid body from the physics world.
Definition: RigidBody.cpp:1028
Urho3D::Material::SetRenderOrder
void SetRenderOrder(unsigned char order)
Set 8-bit render order within pass. Default 128. Lower values will render earlier and higher values l...
Definition: Material.cpp:1105
Urho3D::Application
Base class for creating applications which initialize the Urho3D engine and run a main loop until exi...
Definition: Application.h:35
Urho3D::NetworkPriority
Network interest management settings component.
Definition: NetworkPriority.h:31
Urho3D::Matrix3::Scaled
Matrix3 Scaled(const Vector3 &scale) const
Return scaled by a vector.
Definition: Matrix3.h:229
Urho3D::AutoProfileBlock::AutoProfileBlock
AutoProfileBlock(Profiler *profiler, const char *name)
Construct. Begin a profiling block with the specified name and optional call count.
Definition: Profiler.h:235
Urho3D::ConstraintMouse2D::GetMaxForce
float GetMaxForce() const
Return max force.
Definition: ConstraintMouse2D.h:56
Urho3D::Vector2::Vector2
Vector2() noexcept
Construct a zero vector.
Definition: Vector2.h:179
Urho3D::Material::SetPixelShaderDefines
void SetPixelShaderDefines(const String &defines)
Set additional pixel shader defines. Separate multiple defines with spaces. Setting defines at the ma...
Definition: Material.cpp:944
Urho3D::CustomGeometry::DefineTexCoord
void DefineTexCoord(const Vector2 &texCoord)
Define a vertex UV coordinate.
Definition: CustomGeometry.cpp:568
Urho3D::DebugHud::~DebugHud
~DebugHud() override
Destruct.
Definition: DebugHud.cpp:105
Urho3D::ScrollView::HandleScrollBarVisibleChanged
void HandleScrollBarVisibleChanged(StringHash eventType, VariantMap &eventData)
Handle scrollbar visibility changed.
Definition: ScrollView.cpp:538
Urho3D::Constraint::ApplyLimits
void ApplyLimits()
Apply high and low constraint limits.
Definition: Constraint.cpp:539
Urho3D::WeakPtr::operator!=
bool operator!=(const WeakPtr< U > &rhs) const
Test for inequality with another weak pointer.
Definition: Ptr.h:433
Urho3D::ValueAnimation::splineTangents_
VariantVector splineTangents_
Spline tangents.
Definition: ValueAnimation.h:167
Urho3D::RigidBody::GetAngularFactor
Vector3 GetAngularFactor() const
Return angular degrees of freedom.
Definition: RigidBody.cpp:648
Urho3D::LogicComponent::DelayedStart
virtual void DelayedStart()
Called before the first update. At this point all other components of the node should exist....
Definition: LogicComponent.h:65
Urho3D::ParticleEffect::emitterSize_
Vector3 emitterSize_
Emitter size.
Definition: ParticleEffect.h:377
Urho3D::RigidBody2D::RemoveCollisionShape2D
void RemoveCollisionShape2D(CollisionShape2D *collisionShape)
Remove collision shape.
Definition: RigidBody2D.cpp:480
Urho3D::Constraint::SetAxis
void SetAxis(const Vector3 &axis)
Set constraint rotation relative to own body by specifying the axis.
Definition: Constraint.cpp:197
Urho3D::BorderImage::GetHoverOffset
const IntVector2 & GetHoverOffset() const
Return offset to image rectangle used on hover.
Definition: BorderImage.h:88
Urho3D::FlagSet::AsInteger
Integer AsInteger() const
Return underlying integer (constant).
Definition: FlagSet.h:226
Urho3D::ParticleEffect2D::SetRotationStart
void SetRotationStart(float rotationStart)
Set rotation start.
Definition: ParticleEffect2D.cpp:454
Urho3D::UI::HandleTouchMove
void HandleTouchMove(StringHash eventType, VariantMap &eventData)
Handle touch move event.
Definition: UI.cpp:1938
Urho3D::TerrainPatch::UpdateBatches
void UpdateBatches(const FrameInfo &frame) override
Calculate distance and prepare batches for rendering. May be called from worker thread(s),...
Definition: TerrainPatch.cpp:118
Urho3D::Sphere::Clear
void Clear()
Clear to undefined state.
Definition: Sphere.h:143
Urho3D::DbResult::GetRows
const Vector< VariantVector > & GetRows() const
Return fetched rows collection. Filtered rows are not included in the collection.
Definition: ODBCResult.h:60
Urho3D::Animatable::animatedNetworkAttributes_
HashSet< const AttributeInfo * > animatedNetworkAttributes_
Animated network attribute set.
Definition: Animatable.h:153
Urho3D::BillboardSet::CalculateFixedScreenSize
void CalculateFixedScreenSize(const FrameInfo &frame)
Calculate billboard scale factors in fixed screen size mode.
Definition: BillboardSet.cpp:773
Urho3D::Viewport::rect_
IntRect rect_
Viewport rectangle.
Definition: Viewport.h:107
Urho3D::BillboardSet::faceCameraMode_
FaceCameraMode faceCameraMode_
Billboard rotation mode in relation to the camera.
Definition: BillboardSet.h:170
Urho3D::ConstraintPrismatic2D::anchor_
Vector2 anchor_
Anchor.
Definition: ConstraintPrismatic2D.h:91
Urho3D::RenderPathCommand::SetDepthStencilName
void SetDepthStencilName(const String &name)
Set depth-stencil output name. When empty, will assign a depth-stencil buffer automatically.
Definition: RenderPath.cpp:283
Urho3D::CollisionCircle2D::GetRadius
float GetRadius() const
Return radius.
Definition: CollisionCircle2D.h:51
Urho3D::ValueAnimationInfo::GetTarget
Object * GetTarget() const
Return target object.
Definition: ValueAnimationInfo.cpp:119
Urho3D::RayQueryLevel
RayQueryLevel
Graphics raycast detail level.
Definition: OctreeQuery.h:176
Urho3D::Window::IsResizable
bool IsResizable() const
Return whether is resizable.
Definition: Window.h:104
Urho3D::FontGlyph::height_
float height_
Height on screen.
Definition: FontFace.h:50
Urho3D::UI::lastMouseButtons_
MouseButtonFlags lastMouseButtons_
Last mouse button pressed.
Definition: UI.h:387
Urho3D::Input::GetMouseMoveX
int GetMouseMoveX() const
Return horizontal mouse movement since last frame.
Definition: Input.cpp:1423
Urho3D::PhysicsWorld2D::ContactInfo
Contact info.
Definition: PhysicsWorld2D.h:247
Urho3D::BatchGroupKey::geometry_
Geometry * geometry_
Geometry.
Definition: Batch.h:203
Urho3D::File::Flush
void Flush()
Flush any buffered output to the file.
Definition: File.cpp:408
Urho3D::ValueAnimation::GetSplineTension
float GetSplineTension() const
Return spline tension.
Definition: ValueAnimation.h:117
Urho3D::CrowdAgent::HasRequestedTarget
bool HasRequestedTarget() const
Return true when the agent has a target.
Definition: CrowdAgent.h:175
Urho3D::IntVector3::ToString
String ToString() const
Return as string.
Definition: Vector3.cpp:59
Urho3D::UI::SetCursorShape
void SetCursorShape(CursorShape shape)
Set active cursor's shape.
Definition: UI.cpp:1329
Urho3D::Deserializer::ReadIntVector3
IntVector3 ReadIntVector3()
Read an IntVector3.
Definition: Deserializer.cpp:152
Urho3D::TextureFrame
Texture animation frame definition.
Definition: ParticleEffect.h:86
Urho3D::Octree::Raycast
void Raycast(RayOctreeQuery &query) const
Return drawable objects by a ray query.
Definition: Octree.cpp:501
Urho3D::ParticleEffect2D::SetEmitterType
void SetEmitterType(EmitterType2D emitterType)
Set emitter type.
Definition: ParticleEffect2D.cpp:414
Urho3D::Terrain::GetPatchSize
int GetPatchSize() const
Return patch quads per side.
Definition: Terrain.h:105
Urho3D::Constraint::ApplyFrames
void ApplyFrames()
Apply constraint frames.
Definition: Constraint.cpp:363
Urho3D::RenderSurface::SetLinkedRenderTarget
void SetLinkedRenderTarget(RenderSurface *renderTarget)
Set linked color rendertarget.
Definition: RenderSurface.cpp:60
Urho3D::GPUObject::OnDeviceReset
virtual void OnDeviceReset()
Recreate the GPU resource and restore data if applicable.
Definition: GPUObject.cpp:60
Urho3D::Connection::HandleAsyncLoadFinished
void HandleAsyncLoadFinished(StringHash eventType, VariantMap &eventData)
Handle scene loaded event.
Definition: Connection.cpp:1187
Urho3D::UIElement::enabledPrev_
bool enabledPrev_
Last SetEnabled flag before any SetDeepEnabled.
Definition: UIElement.h:704
Urho3D::Localization::SetLanguage
void SetLanguage(int index)
Set current language.
Definition: Localization.cpp:89
Urho3D::Connection::ProcessExistingNode
void ProcessExistingNode(Node *node, NodeReplicationState &nodeState)
Process a node that the client has already received.
Definition: Connection.cpp:1298
Urho3D::Constraint2D::GetCollideConnected
bool GetCollideConnected() const
Return collide connected.
Definition: Constraint2D.h:71
Urho3D::ResourceCache::resourceRouters_
Vector< SharedPtr< ResourceRouter > > resourceRouters_
Resource routers.
Definition: ResourceCache.h:246
Urho3D::VertexBuffer::shadowed_
bool shadowed_
Shadowed flag.
Definition: VertexBuffer.h:170
Urho3D::AnimationKeyFrame::scale_
Vector3 scale_
Bone scale.
Definition: Animation.h:62
Urho3D::SceneReplicationState::dirtyNodes_
HashSet< unsigned > dirtyNodes_
Dirty node IDs.
Definition: ReplicationState.h:180
Urho3D::Renderer::GetVSMShadowParameters
Vector2 GetVSMShadowParameters() const
Return VSM shadow parameters.
Definition: Renderer.h:298
Urho3D::SmoothedTransform::HandleUpdateSmoothing
void HandleUpdateSmoothing(StringHash eventType, VariantMap &eventData)
Handle smoothing update event.
Definition: SmoothedTransform.cpp:170
Urho3D::ScriptEventInvoker::ScriptEventInvoker
ScriptEventInvoker(ScriptFile *file, asIScriptObject *object=nullptr)
Constructor, will create the asILockableSharedBool if a ScriptObject is passed in.
Definition: ScriptFile.cpp:1021
Urho3D::CollisionChain2D::ApplyNodeWorldScale
void ApplyNodeWorldScale() override
Apply node world scale.
Definition: CollisionChain2D.cpp:119
Urho3D::Drawable::occluder_
bool occluder_
Occluder flag.
Definition: Drawable.h:341
Urho3D::IKConstraint::RegisterObject
static void RegisterObject(Context *context)
Registers this class as an object factory.
Definition: IKConstraint.cpp:50
Urho3D::ShaderVariation::GetFullName
String GetFullName() const
Return full shader name.
Definition: ShaderVariation.h:111
Urho3D::Text::SetRowSpacing
void SetRowSpacing(float spacing)
Set row spacing, 1.0 for original font spacing.
Definition: Text.cpp:320
Urho3D::NavigationMesh::edgeMaxError_
float edgeMaxError_
Edge max error.
Definition: NavigationMesh.h:332
Urho3D::Drawable::GetShadowMask
unsigned GetShadowMask() const
Return shadow mask.
Definition: Drawable.h:201
Urho3D::Text::GetEffectRoundStroke
bool GetEffectRoundStroke() const
Return effect round stroke.
Definition: Text.h:166
Urho3D::Terrain::CalculateLodErrors
void CalculateLodErrors(TerrainPatch *patch)
Calculate LOD errors for a patch.
Definition: Terrain.cpp:1365
Urho3D::TextureFrame::time_
float time_
Time.
Definition: ParticleEffect.h:98
Urho3D::XMLElement::SetInt
bool SetInt(const String &name, int value)
Set an integer attribute.
Definition: XMLElement.cpp:367
Urho3D::ListView::RemoveSelection
void RemoveSelection(unsigned index)
Remove item from the selection.
Definition: ListView.cpp:623
Urho3D::Graphics::stencilFail_
StencilOp stencilFail_
Stencil operation on fail.
Definition: Graphics.h:831
Urho3D::ProgressBar::SetLoadingPercentStyle
void SetLoadingPercentStyle(const String &style)
Sets the loading percent style.
Definition: ProgressBar.h:75
Urho3D::Renderer::GetNumShadowMaps
unsigned GetNumShadowMaps(bool allViews=false) const
Return number of shadow maps rendered.
Definition: Renderer.cpp:608
Urho3D::CScriptDictionary::CIterator
STL style iterator for Script dictionary class.
Definition: Addons.h:248
Urho3D::HalfToFloat
float HalfToFloat(unsigned short value)
Convert half float to float. From https://gist.github.com/martinkallman/5049614.
Definition: MathDefs.h:324
Urho3D::ListView::GetSelectOnClickEnd
bool GetSelectOnClickEnd() const
Return whether reacts to click end instead of click start for item selection.
Definition: ListView.h:150
Urho3D::Polyhedron::Empty
bool Empty() const
Return whether is empty.
Definition: Polyhedron.h:105
Urho3D::RenderSurface::linkedDepthStencil_
WeakPtr< RenderSurface > linkedDepthStencil_
Linked depth buffer.
Definition: RenderSurface.h:152
Urho3D::FocusParameters::FocusParameters
FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
Construct with initial values.
Definition: Light.h:125
Urho3D::Camera::GetProjection
Matrix4 GetProjection() const
Return projection matrix. It's in D3D convention with depth range 0 - 1.
Definition: Camera.cpp:440
Urho3D::UIElement::SetSelected
void SetSelected(bool enable)
Set selected mode. Actual meaning is element dependent, for example constant hover or pressed effect.
Definition: UIElement.cpp:952
Urho3D::VariantAttributeAccessorImpl::getFunction_
TGetFunction getFunction_
Get functor.
Definition: Serializable.h:177
Urho3D::HiresTimer::GetFrequency
static long long GetFrequency()
Return high-resolution timer frequency if supported.
Definition: Timer.h:65
Urho3D::ConstraintWeld2D::SetFrequencyHz
void SetFrequencyHz(float frequencyHz)
Set frequency Hz.
Definition: ConstraintWeld2D.cpp:67
Urho3D::UI::ProcessMove
void ProcessMove(const IntVector2 &windowCursorPos, const IntVector2 &cursorDeltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor, bool cursorVisible)
Handle mouse or touch move.
Definition: UI.cpp:1583
Urho3D::Scene::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Node must be registered first.
Definition: Scene.cpp:96
Urho3D::FrameInfo::viewSize_
IntVector2 viewSize_
Viewport size.
Definition: Drawable.h:75
Urho3D::Window::CheckAlignment
bool CheckAlignment() const
Check whether alignment supports moving and resizing.
Definition: Window.cpp:419
Urho3D::Pass::index_
unsigned index_
Pass index.
Definition: Technique.h:148
Urho3D::Vector::DestructElements
static void DestructElements(T *dest, unsigned count)
Call the elements' destructors.
Definition: Vector.h:675
Urho3D::RigidBody2D::IsBullet
bool IsBullet() const
Return bullet mode.
Definition: RigidBody2D.h:147
Urho3D::Pass::cullMode_
CullMode cullMode_
Culling mode.
Definition: Technique.h:152
Urho3D::Text::GetNumChars
unsigned GetNumChars() const
Return number of characters.
Definition: Text.h:178
Urho3D::Text3D::RegisterObject
static void RegisterObject(Context *context)
Register object factory. Drawable must be registered first.
Definition: Text3D.cpp:69
Urho3D::PointOctreeQuery::TestDrawables
void TestDrawables(Drawable **start, Drawable **end, bool inside) override
Intersection test for drawables.
Definition: OctreeQuery.cpp:40
Urho3D::RenderSurface::target_
unsigned target_
OpenGL target.
Definition: RenderSurface.h:144
Urho3D::Input::ResetMouseMode
void ResetMouseMode()
Reset the last mouse mode that wasn't suppressed in SetMouseMode.
Definition: Input.cpp:923
Urho3D::DropDownList::SetSelection
void SetSelection(unsigned index)
Set selection.
Definition: DropDownList.cpp:183
Urho3D::SoundSource3D::SetRolloffFactor
void SetRolloffFactor(float factor)
Set rolloff power factor, defines attenuation function shape.
Definition: SoundSource3D.cpp:143
Urho3D::EventReceiverGroup::inSend_
unsigned inSend_
"In send" recursion counter.
Definition: Context.h:60
Urho3D::ScriptInstance::subscribedPostFixed_
bool subscribedPostFixed_
Subscribed to scene post and fixed update events flag.
Definition: ScriptInstance.h:212
Urho3D::CrowdAgent::GetAgentState
CrowdAgentState GetAgentState() const
Return the agent's state.
Definition: CrowdAgent.cpp:491
Urho3D::LinkedListNode::LinkedListNode
LinkedListNode()
Construct.
Definition: LinkedList.h:39
Urho3D::Renderer2D::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Renderer2D.cpp:86
Urho3D::UIElement::UIElement
UIElement(Context *context)
Construct.
Definition: UIElement.cpp:95
Urho3D::WorkItem::priority_
unsigned priority_
Priority. Higher value = will be completed first.
Definition: WorkQueue.h:57
Urho3D::DebugRenderer::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: DebugRenderer.cpp:61
Urho3D::UIElement::maxOffset_
IntVector2 maxOffset_
Maximum offset.
Definition: UIElement.h:785
Urho3D::LineEdit::OnDoubleClick
void OnDoubleClick(const IntVector2 &position, const IntVector2 &screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor *cursor) override
React to mouse doubleclick.
Definition: LineEdit.cpp:132
Urho3D::Terrain::GetNumVertices
const IntVector2 & GetNumVertices() const
Return heightmap size in vertices.
Definition: Terrain.h:111
Urho3D::UIElement::AdjustScissor
void AdjustScissor(IntRect &currentScissor)
Adjust scissor for rendering.
Definition: UIElement.cpp:1815
Urho3D::Graphics::GetShadowMapFormat
unsigned GetShadowMapFormat() const
Return shadow map depth texture format, or 0 if not supported.
Definition: Graphics.h:411
Urho3D::ScrollView::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: ScrollView.cpp:92
Urho3D::RigidBody::UpdateGravity
void UpdateGravity()
Update gravity parameters to the Bullet rigid body.
Definition: RigidBody.cpp:822
Urho3D::DynamicNavBuildData::~DynamicNavBuildData
~DynamicNavBuildData() override
Destructor.
Definition: NavBuildData.cpp:78
Urho3D::Engine::exiting_
bool exiting_
Exiting flag.
Definition: Engine.h:154
Urho3D::ConstraintWheel2D::SetAxis
void SetAxis(const Vector2 &axis)
Set axis.
Definition: ConstraintWheel2D.cpp:72
Urho3D::StaticSprite2D::SetSpriteAttr
void SetSpriteAttr(const ResourceRef &value)
Set sprite attribute.
Definition: StaticSprite2D.cpp:248
Urho3D::IntVector3::x_
int x_
X coordinate.
Definition: Vector3.h:159
Urho3D::BorderImage::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: BorderImage.cpp:52
Urho3D::Graphics::FreeScratchBuffer
void FreeScratchBuffer(void *buffer)
Free a CPU-side scratch buffer.
Definition: Graphics.cpp:444
Urho3D::Text::SetFont
bool SetFont(const String &fontName, float size=DEFAULT_FONT_SIZE)
Set font by looking from resource cache by name and font size. Return true if successful.
Definition: Text.cpp:253
Urho3D::Renderer::Initialize
void Initialize()
Initialize when screen mode initially set.
Definition: Renderer.cpp:1578
Urho3D::ParticleEffect2D::SetMinRadius
void SetMinRadius(float minRadius)
Set min radius.
Definition: ParticleEffect2D.cpp:429
Urho3D::ScriptInstance::methods_
asIScriptFunction * methods_[MAX_SCRIPT_METHODS]
Pointers to supported inbuilt methods.
Definition: ScriptInstance.h:200
Urho3D::ProgressBar
ProgressBar bar UI element.
Definition: ProgressBar.h:33
Urho3D::Color::LinearToGamma
Color LinearToGamma() const
Convert color from linear to gamma space.
Definition: Color.h:216
Urho3D::Light::SetLightQueue
void SetLightQueue(LightBatchQueue *queue)
Set light queue used for this light. Called by View.
Definition: Light.cpp:639
Urho3D::BufferedSoundStream::AddData
void AddData(void *data, unsigned numBytes)
Buffer sound data. Makes a copy of it.
Definition: BufferedSoundStream.cpp:70
Urho3D::ManifoldPair::flippedManifold_
btPersistentManifold * flippedManifold_
Manifold with the body pointers flipped.
Definition: PhysicsWorld.h:106
Urho3D::ShaderProgram::linkerOutput_
String linkerOutput_
Shader link error string.
Definition: OGLShaderProgram.h:107
Urho3D::Database::Connect
DbConnection * Connect(const String &connectionString)
Create new database connection. Return 0 if failed.
Definition: Database.cpp:50
Urho3D::Scene::GetTimeScale
float GetTimeScale() const
Return update time scale.
Definition: Scene.h:196
Urho3D::Graphics::textures_
Texture * textures_[MAX_TEXTURE_UNITS]
Textures in use.
Definition: Graphics.h:789
Urho3D::ValueAnimation::ValueAnimation
ValueAnimation(Context *context)
Construct.
Definition: ValueAnimation.cpp:49
Urho3D::ViewBatchInfo2D::vertexBufferUpdateFrameNumber_
unsigned vertexBufferUpdateFrameNumber_
Vertex buffer update frame number.
Definition: Renderer2D.h:46
Urho3D::Text3D::SetMaterial
void SetMaterial(Material *material)
Set material.
Definition: Text3D.cpp:181
Urho3D::StencilOp
StencilOp
Stencil operation.
Definition: GraphicsDefs.h:115
Urho3D::UI::HandleTouchEnd
void HandleTouchEnd(StringHash eventType, VariantMap &eventData)
Handle touch end event.
Definition: UI.cpp:1908
Urho3D::ViewBatchInfo2D::indexCount_
unsigned indexCount_
Index count.
Definition: Renderer2D.h:48
Urho3D::Node::Rotate2D
void Rotate2D(float delta, TransformSpace space=TS_LOCAL)
Rotate the scene node in the chosen transform space (for Urho2D).
Definition: Node.h:249
Urho3D::Engine::SetNextTimeStep
void SetNextTimeStep(float seconds)
Override timestep of the next frame. Should be called in between RunFrame() calls.
Definition: Engine.cpp:592
Urho3D::Constraint2D::~Constraint2D
~Constraint2D() override
Destruct.
Definition: Constraint2D.cpp:47
Urho3D::CollisionCircle2D::RecreateFixture
void RecreateFixture()
Recreate fixture.
Definition: CollisionCircle2D.cpp:90
Urho3D::RibbonTrail::emitting_
bool emitting_
Currently emitting flag.
Definition: RibbonTrail.h:247
Urho3D::DynamicNavigationMesh::maxObstacles_
unsigned maxObstacles_
Maximum number of obstacle objects allowed.
Definition: DynamicNavigationMesh.h:142
Urho3D::HashMap::Insert
Iterator Insert(const ConstIterator &it)
Insert a pair by iterator. Return iterator to the value.
Definition: HashMap.h:397
Urho3D::Scene::GetComponent
Component * GetComponent(unsigned id) const
Return component from the whole scene by ID, or null if not found.
Definition: Scene.cpp:733
Urho3D::SharedPtr::Detach
T * Detach()
Detach without destroying the object even if the refcount goes zero. To be used for scripting languag...
Definition: Ptr.h:174
Urho3D::ToolTip::SetDelay
void SetDelay(float delay)
Set the delay in seconds until the tooltip shows once hovering. Set zero to use the default from the ...
Definition: ToolTip.cpp:128
Urho3D::Log::Log
Log(Context *context)
Construct.
Definition: Log.cpp:61
Urho3D::ParticleEffect::emissionRateMin_
float emissionRateMin_
Particles per second minimum.
Definition: ParticleEffect.h:391
Urho3D::Graphics::CleanupScratchBuffers
void CleanupScratchBuffers()
Clean up too large scratch buffers.
Definition: Graphics.cpp:461
Urho3D::LoopMode2D
LoopMode2D
Loop mode.
Definition: AnimatedSprite2D.h:39
Urho3D::Renderer::GetQuadGeometry
Geometry * GetQuadGeometry()
Return quad geometry used in postprocessing.
Definition: Renderer.cpp:831
Urho3D::VertexBuffer::OnDeviceReset
void OnDeviceReset() override
Recreate the buffer and restore data if applicable. May be a no-op depending on the API.
Definition: OGLVertexBuffer.cpp:43
Urho3D::AnimationTrack::keyFrames_
Vector< AnimationKeyFrame > keyFrames_
Keyframes.
Definition: Animation.h:98
Urho3D::TileMap2D::layers_
Vector< WeakPtr< TileMapLayer2D > > layers_
Tile map layers.
Definition: TileMap2D.h:85
Urho3D::RenderPath::renderTargets_
Vector< RenderTargetInfo > renderTargets_
Rendertargets.
Definition: RenderPath.h:248
Urho3D::SoundSource
Sound source component with stereo position. A sound source needs to be created to a node to be consi...
Definition: SoundSource.h:39
Urho3D::UIElement::RemoveChildAtIndex
void RemoveChildAtIndex(unsigned index)
Remove a child element at index.
Definition: UIElement.cpp:1371
Urho3D::XMLElement::GetNumAttributes
unsigned GetNumAttributes() const
Return number of attributes.
Definition: XMLElement.cpp:648
Urho3D::Vector2::Vector2
Vector2(const IntVector2 &vector) noexcept
Construct from an IntVector2.
Definition: Vector2.h:189
Urho3D::StaticModel::SetMaterial
virtual void SetMaterial(Material *material)
Set material on all geometries.
Definition: StaticModel.cpp:275
Urho3D::VertexBufferDesc
Description of vertex buffer data for asynchronous loading.
Definition: Model.h:67
Urho3D::Object::Object
Object(Context *context)
Construct.
Definition: Object.cpp:76
Urho3D::Scene::FinishAsyncLoading
void FinishAsyncLoading()
Finish asynchronous loading.
Definition: Scene.cpp:1254
Urho3D::RenderPath::Load
bool Load(XMLFile *file)
Clear existing data and load from an XML file. Return true if successful.
Definition: RenderPath.cpp:321
Urho3D::SoundSource::MixMonoToStereo
void MixMonoToStereo(Sound *sound, int *dest, unsigned samples, int mixRate)
Mix mono sample to stereo buffer.
Definition: SoundSource.cpp:677
Urho3D::Text::GetFontSize
float GetFontSize() const
Return font size.
Definition: Text.h:133
Urho3D::Variant::Variant
Variant(const IntVector3 &value)
Construct from an IntVector3.
Definition: Variant.h:487
Urho3D::SoundSource::~SoundSource
~SoundSource() override
Destruct. Remove self from the audio subsystem.
Definition: SoundSource.cpp:125
Urho3D::Node::SetNetRotationAttr
void SetNetRotationAttr(const PODVector< unsigned char > &value)
Set network rotation attribute.
Definition: Node.cpp:1465
Urho3D::Localization::GetLanguage
String GetLanguage()
Return the name of current language.
Definition: Localization.cpp:64
Urho3D::BackgroundLoader::owner_
ResourceCache * owner_
Resource cache.
Definition: BackgroundLoader.h:80
Urho3D::RenderPath::RemoveRenderTarget
void RemoveRenderTarget(unsigned index)
Remove a rendertarget by index.
Definition: RenderPath.cpp:440
Urho3D::ShadowQuality
ShadowQuality
Shadow type.
Definition: GraphicsDefs.h:365
Urho3D::ScriptInstance::GetScriptFileAttr
ResourceRef GetScriptFileAttr() const
Return script file attribute.
Definition: ScriptInstance.cpp:484
Urho3D::NavigationMesh::GetTileIndex
IntVector2 GetTileIndex(const Vector3 &position) const
Return index of the tile at the position.
Definition: NavigationMesh.cpp:560
Urho3D::XMLElement::GetResourceRef
ResourceRef GetResourceRef() const
Return a resource reference attribute, or empty if missing.
Definition: XMLElement.cpp:873
Urho3D::UniquePtr::operator=
UniquePtr & operator=(const UniquePtr &)=delete
Prevent assignment.
Urho3D::Viewport::scene_
WeakPtr< Scene > scene_
Scene pointer.
Definition: Viewport.h:101
Urho3D::ParticleEffect::textureFrames_
Vector< TextureFrame > textureFrames_
Texture animation frames.
Definition: ParticleEffect.h:421
Urho3D::UIElement::size_
IntVector2 size_
Size.
Definition: UIElement.h:773
Urho3D::Image::SetPixel
void SetPixel(int x, int y, const Color &color)
Set a 2D pixel.
Definition: Image.cpp:921
Urho3D::PhysicsWorld::SendCollisionEvents
void SendCollisionEvents()
Send accumulated collision events.
Definition: PhysicsWorld.cpp:837
Urho3D::Navigable::RegisterObject
static void RegisterObject(Context *context)
Register object factory.
Definition: Navigable.cpp:43
Urho3D::HashSet::EraseNode
Node * EraseNode(Node *node)
Erase a node from the list. Return pointer to the next element, or to the end if could not erase.
Definition: HashSet.h:580
Urho3D::Node::Translate
void Translate(const Vector3 &delta, TransformSpace space=TS_LOCAL)
Move the scene node in the chosen transform space.
Definition: Node.cpp:564
Urho3D::Node::ResetScene
void ResetScene()
Reset scene, ID and owner. Called by Scene.
Definition: Node.cpp:1449
Urho3D::View3D::autoUpdate_
bool autoUpdate_
Render texture auto update mode.
Definition: View3D.h:99
Urho3D::CursorShapeInfo::systemDefined_
bool systemDefined_
Whether the OS cursor is system defined.
Definition: Cursor.h:88
Urho3D::Serializable::WriteDeltaUpdate
void WriteDeltaUpdate(Serializer &dest, const DirtyBits &attributeBits, unsigned char timeStamp)
Write a delta network update according to dirty attribute bits.
Definition: Serializable.cpp:771
Urho3D::TileMap2D::GetTmxFileAttr
ResourceRef GetTmxFileAttr() const
Return tile map file attribute.
Definition: TileMap2D.cpp:183
Urho3D::CompressedLevel::height_
int height_
Height.
Definition: Image.h:67
Urho3D::Renderer::shadowMapFilterInstance_
Object * shadowMapFilterInstance_
Instance of shadow map filter.
Definition: Renderer.h:510
Urho3D::Object::GetSubsystem
Object * GetSubsystem(StringHash type) const
Return subsystem by type.
Definition: Object.cpp:421
Urho3D::OffMeshConnection::endPointID_
unsigned endPointID_
Endpoint node ID.
Definition: OffMeshConnection.h:80
Urho3D::CollisionShape::SetSize
void SetSize(const Vector3 &size)
Set shape size.
Definition: CollisionShape.cpp:738
Urho3D::Texture2D::GetData
bool GetData(unsigned level, void *dest) const
Get data from a mip level. The destination buffer must be big enough. Return true if successful.
Definition: OGLTexture2D.cpp:306
Urho3D::AM_NODEID
@ AM_NODEID
Attribute is a node ID and may need rewriting.
Definition: Attribute.h:49
Urho3D::StaticModelGeometryData::lodLevel_
unsigned lodLevel_
Current LOD level.
Definition: StaticModel.h:38
Urho3D::EventProfiler
Hierarchical performance event profiler subsystem.
Definition: EventProfiler.h:62
Urho3D::ProgressBar::~ProgressBar
~ProgressBar() override
Destruct.
Urho3D::Graphics::hiresShadowMapFormat_
unsigned hiresShadowMapFormat_
Shadow map 24-bit depth texture format.
Definition: Graphics.h:775
Urho3D::Animation::GetTracks
const HashMap< StringHash, AnimationTrack > & GetTracks() const
Return all animation tracks.
Definition: Animation.h:169
Urho3D::AnimationController::SetLooped
bool SetLooped(const String &name, bool enable)
Set animation looping. Return true on success.
Definition: AnimationController.cpp:394
Urho3D::Component::SaveJSON
bool SaveJSON(JSONValue &dest) const override
Save as JSON data. Return true if successful.
Definition: Component.cpp:89
Urho3D::OcclusionBuffer::width_
int width_
Buffer width.
Definition: OcclusionBuffer.h:189
Urho3D::UIElement::maxSize_
IntVector2 maxSize_
Maximum size.
Definition: UIElement.h:777
Urho3D::Sprite::imageRect_
IntRect imageRect_
Image rectangle.
Definition: Sprite.h:122
Urho3D::CrowdManager::numObstacleAvoidanceTypes_
unsigned numObstacleAvoidanceTypes_
Number of obstacle avoidance types configured in the crowd. Limit to DT_CROWD_MAX_OBSTAVOIDANCE_PARAM...
Definition: CrowdManager.h:197
Urho3D::UIElement::GetCombinedScreenRect
IntRect GetCombinedScreenRect()
Return combined screen coordinate rect of element and its children.
Definition: UIElement.cpp:1763
Urho3D::IndexBufferDesc::dataSize_
unsigned dataSize_
Index data size.
Definition: Model.h:87
Urho3D::Plane
Surface in three-dimensional space.
Definition: Plane.h:31
Urho3D::TypeInfo::type_
StringHash type_
Type.
Definition: Object.h:62
Urho3D::Light::fadeDistance_
float fadeDistance_
Fade start distance.
Definition: Light.h:381
Urho3D::RigidBody2D::GetAngularDamping
float GetAngularDamping() const
Return angular damping.
Definition: RigidBody2D.h:138
Urho3D::Scene::NodeTagAdded
void NodeTagAdded(Node *node, const String &tag)
Cache node by tag if tag not zero, no checking if already added. Used internaly in Node::AddTag.
Definition: Scene.cpp:969
Urho3D::String::Joined
static String Joined(const Vector< String > &subStrings, const String &glue)
Return a string by joining substrings with a 'glue' string.
Definition: Str.cpp:1066
Urho3D::Asin
T Asin(T x)
Return arc sine in degrees.
Definition: MathDefs.h:148
Urho3D::Graphics::SetWindowIcon
void SetWindowIcon(Image *windowIcon)
Set window icon.
Definition: Graphics.cpp:80
Urho3D::NavigationMesh::GetAgentRadius
float GetAgentRadius() const
Return navigation agent radius.
Definition: NavigationMesh.h:210
Urho3D::Zone::GetFogHeight
float GetFogHeight() const
Return fog height distance relative to the scene node's world position.
Definition: Zone.h:94
Urho3D::TileMapLayer2D::GetTile
Tile2D * GetTile(int x, int y) const
Return tile (for tile layer only).
Definition: TileMapLayer2D.cpp:284
Urho3D::Deserializer::ReadPackedQuaternion
Quaternion ReadPackedQuaternion()
Read a quaternion with each component packed in 16 bits.
Definition: Deserializer.cpp:203
Urho3D::ShaderProgram::parameterSources_
const void * parameterSources_[MAX_SHADER_PARAMETER_GROUPS]
Remembered shader parameter sources for individual uniform mode.
Definition: OGLShaderProgram.h:105
Urho3D::Spriter::SpriterInstance::SetEntity
bool SetEntity(int index)
Set current entity.
Definition: SpriterInstance2D.cpp:53
Urho3D::ListView::SetClearSelectionOnDefocus
void SetClearSelectionOnDefocus(bool enable)
Enable clearing of selection on defocus.
Definition: ListView.cpp:754
Urho3D::CollisionGeometryData
Base class for collision shape geometry data.
Definition: CollisionShape.h:67
Urho3D::WeakPtr::WeakPtr
WeakPtr(WeakPtr< T > &&rhs) noexcept
Move-construct from another weak pointer.
Definition: Ptr.h:289
Urho3D::StaticModel::GetLodGeometry
Geometry * GetLodGeometry(unsigned batchIndex, unsigned level) override
Return the geometry for a specific LOD level.
Definition: StaticModel.cpp:156
Urho3D::CustomGeometry::dynamic_
bool dynamic_
Vertex buffer dynamic flag.
Definition: CustomGeometry.h:178
Urho3D::Vector::Remove
bool Remove(const T &value)
Erase an element by value. Return true if was found and erased.
Definition: Vector.h:396
Urho3D::IKEffector::GetChainLength
unsigned GetChainLength() const
Returns the number of segments that will be affected by this effector. 0 Means all nodes between this...
Definition: IKEffector.cpp:152
Urho3D::XMLElement::xpathResultIndex_
unsigned xpathResultIndex_
Current XPath query result index (used internally to advance to subsequent query result).
Definition: XMLElement.h:315
Urho3D::PhysicsWorld2D::GetPositionIterations
int GetPositionIterations() const
Return position iterations.
Definition: PhysicsWorld2D.h:197
Urho3D::Terrain::spacing_
Vector3 spacing_
Vertex and height spacing.
Definition: Terrain.h:267
Urho3D::AnimatedModel::OnWorldBoundingBoxUpdate
void OnWorldBoundingBoxUpdate() override
Recalculate the world-space bounding box.
Definition: AnimatedModel.cpp:959
Urho3D::FontFaceBitmap::~FontFaceBitmap
~FontFaceBitmap() override
Destruct.
Urho3D::NodeImpl::owner_
Connection * owner_
Network owner connection.
Definition: Node.h:63
Urho3D::Input::GetToggleFullscreen
bool GetToggleFullscreen() const
Return whether fullscreen toggle is enabled.
Definition: Input.h:275
Urho3D::PODVector::PODVector
PODVector(const std::initializer_list< T > &list)
Aggregate initialization constructor.
Definition: Vector.h:723
Urho3D::Font::SetAbsoluteGlyphOffset
void SetAbsoluteGlyphOffset(const IntVector2 &offset)
Set absolute (in pixels) position adjustment for glyphs.
Definition: Font.cpp:129
Urho3D::AnimationController::SetAnimationsAttr
void SetAnimationsAttr(const VariantVector &value)
Set animation control structures attribute.
Definition: AnimationController.cpp:594
Urho3D::Matrix4::IsInf
bool IsInf() const
Return whether any element is Inf.
Definition: Matrix4.h:663
Urho3D::ShaderVariation::HasParameter
bool HasParameter(StringHash param) const
Return whether uses a parameter. Not applicable on OpenGL, where this information is contained in Sha...
Definition: ShaderVariation.h:114
Urho3D::List::Pop
void Pop()
Erase the last element.
Definition: List.h:317
Urho3D::List::Iterator::Iterator
Iterator(Node *ptr)
Construct with a node pointer.
Definition: List.h:64
Urho3D::Zone::fogEnd_
float fogEnd_
Fog end distance.
Definition: Zone.h:158
Urho3D::OcclusionBatch::indexSize_
unsigned indexSize_
Index size in bytes.
Definition: OcclusionBuffer.h:76
Urho3D::ProfilerBlock::totalCount_
unsigned totalCount_
Total accumulated calls.
Definition: Profiler.h:168
Urho3D::BorderImage::GetBatches
void GetBatches(PODVector< UIBatch > &batches, PODVector< float > &vertexData, const IntRect &currentScissor) override
Return UI rendering batches.
Definition: BorderImage.cpp:70
Urho3D::ScrollView::UpdateViewSize
void UpdateViewSize()
Recalculate view size, validate view position and update scrollbars.
Definition: ScrollView.cpp:458
Urho3D::TerrainPatch::ResetLod
void ResetLod()
Reset to LOD level 0.
Definition: TerrainPatch.cpp:243
Urho3D::Resource::ResetUseTimer
void ResetUseTimer()
Reset last used timer.
Definition: Resource.cpp:110
Urho3D::Octree::CancelUpdate
void CancelUpdate(Drawable *drawable)
Cancel drawable object's update.
Definition: Octree.cpp:564
Urho3D::TileMapObject2D::GetTileGid
unsigned GetTileGid() const
Return tile Gid.
Definition: TileMapDefs2D.h:191
Urho3D::RefCounted::WeakRefs
int WeakRefs() const
Return weak reference count.
Definition: RefCounted.cpp:73
Urho3D::Resource::SetName
void SetName(const String &name)
Set name.
Definition: Resource.cpp:99
Urho3D::Zone::SetPriority
void SetPriority(int priority)
Set zone priority. If an object or camera is inside several zones, the one with highest priority is u...
Definition: Zone.cpp:148
Urho3D::OctreeQueryResult
General octree query result. Used for Lua bindings only.
Definition: OctreeQuery.h:157
Urho3D::Context::RegisterFactory
void RegisterFactory()
Template version of registering an object factory.
Definition: Context.h:249
Urho3D::Button::GetPressedOffset
const IntVector2 & GetPressedOffset() const
Return pressed image offset.
Definition: Button.h:77
Urho3D::Color::MinRGB
float MinRGB() const
Return the smallest value of the RGB components.
Definition: Color.cpp:205
Urho3D::DbConnection::GetConnectionImpl
const nanodbc::connection * GetConnectionImpl() const
Return the underlying implementation connection object pointer. It is sqlite* when using SQLite3 or n...
Definition: ODBCConnection.h:53
Urho3D::Text::printToText_
PODVector< unsigned > printToText_
Mapping of printed form back to original char indices.
Definition: Text.h:257
Urho3D::Scene::SetAsyncLoadingMs
void SetAsyncLoadingMs(int ms)
Set maximum milliseconds per frame to spend on async scene loading.
Definition: Scene.cpp:667
Urho3D::RayOctreeQuery::ray_
Ray ray_
Ray.
Definition: OctreeQuery.h:246
Urho3D::Sound::dataSize_
unsigned dataSize_
Sound data size in bytes.
Definition: Sound.h:122
Urho3D::Text::GetSelectionLength
unsigned GetSelectionLength() const
Return selection length.
Definition: Text.h:154
Urho3D::Console::GetNumRows
unsigned GetNumRows() const
Return number of displayed rows.
Definition: Console.h:105
Urho3D::ScriptInstance::delayedCalls_
Vector< DelayedCall > delayedCalls_
Delayed method calls.
Definition: ScriptInstance.h:202
Urho3D::Log::quiet_
bool quiet_
Quiet mode flag.
Definition: Log.h:130
Urho3D::Context::~Context
~Context() override
Destruct.
Definition: Context.cpp:135
Urho3D::ConstraintWheel2D::GetAxis
const Vector2 & GetAxis() const
Return axis.
Definition: ConstraintWheel2D.h:62
Urho3D::FontGlyph::offsetX_
float offsetX_
Glyph X offset from origin.
Definition: FontFace.h:52
Urho3D::UIElement::CalculateLayoutParentSize
int CalculateLayoutParentSize(const PODVector< int > &sizes, int begin, int end, int spacing)
Calculate layout width for resizing the parent element.
Definition: UIElement.cpp:2077
Urho3D::Text::ClearSelection
void ClearSelection()
Clear selection.
Definition: Text.cpp:378
Urho3D::Input::GetJoystickByName
JoystickState * GetJoystickByName(const String &name)
Return joystick state by name, or null if does not exist.
Definition: Input.cpp:1463
Urho3D::ResourceRouter::ResourceRouter
ResourceRouter(Context *context)
Construct.
Definition: ResourceCache.h:73
Urho3D::SoundSource3D::rolloffFactor_
float rolloffFactor_
Rolloff power factor.
Definition: SoundSource3D.h:90
Urho3D::Script::scriptEngine_
asIScriptEngine * scriptEngine_
AngelScript engine.
Definition: Script.h:129
Urho3D::ParticleEffect::timeToLiveMax_
float timeToLiveMax_
Particle time to live maximum.
Definition: ParticleEffect.h:401
Urho3D::DirtyBits::data_
unsigned char data_[MAX_NETWORK_ATTRIBUTES/8]
Bit data.
Definition: ReplicationState.h:115
Urho3D::Engine
Urho3D engine. Creates the other subsystems.
Definition: Engine.h:35
Urho3D::Particle2D::emitRadiusDelta_
float emitRadiusDelta_
Emit radius delta.
Definition: ParticleEmitter2D.h:68
Urho3D::Node::RemoveChild
void RemoveChild(Node *node)
Remove a child scene node.
Definition: Node.cpp:866
Urho3D::Script
Scripting subsystem. Allows execution of AngelScript.
Definition: Script.h:56
Urho3D::Text::font_
SharedPtr< Font > font_
Font.
Definition: Text.h:219
Urho3D::RigidBody::SetNetAngularVelocityAttr
void SetNetAngularVelocityAttr(const PODVector< unsigned char > &value)
Set network angular velocity attribute.
Definition: RigidBody.cpp:848
Urho3D::NodeReplicationState
Per-user node network replication state.
Definition: ReplicationState.h:156
Urho3D::PODVector::Insert
void Insert(unsigned pos, const T &value)
Insert an element at position.
Definition: Vector.h:868
Urho3D::JSONValue::GetNumberType
JSONNumberType GetNumberType() const
Return number type.
Definition: JSONValue.cpp:171
Urho3D::Node::impl_
UniquePtr< NodeImpl > impl_
Pointer to implementation.
Definition: Node.h:703
Urho3D::Input::windowID_
unsigned windowID_
SDL window ID.
Definition: Input.h:398
Urho3D::LuaScriptInstance::SetScriptObjectType
void SetScriptObjectType(const String &scriptObjectType)
Set script object type.
Definition: LuaScriptInstance.cpp:408
Urho3D::AttributeHandle::networkAttributeInfo_
AttributeInfo * networkAttributeInfo_
Network attribute info.
Definition: Attribute.h:131
Urho3D::ScriptFile::GetScriptModule
asIScriptModule * GetScriptModule() const
Return script module.
Definition: ScriptFile.h:106
Urho3D::LuaScript::luaState_
lua_State * luaState_
Lua state.
Definition: LuaScript.h:119
Urho3D::Spriter::Ref
Ref.
Definition: SpriterData2D.h:178
Urho3D::ParticleEffect::GetUpdateInvisible
bool GetUpdateInvisible() const
Return whether to update when particles are not visible.
Definition: ParticleEffect.h:233
Urho3D::RefCount::weakRefs_
int weakRefs_
Weak reference count.
Definition: RefCounted.h:55
Urho3D::Sprite2D::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Sprite2D.cpp:54
Urho3D::List::Iterator::Iterator
Iterator()=default
Construct.
Urho3D::ScriptInstance::UpdateEventSubscription
void UpdateEventSubscription()
Subscribe/unsubscribe from scene updates as necessary.
Definition: ScriptInstance.cpp:763
Urho3D::FlagSet::FlagSet
FlagSet(const Enum value)
Construct from Enum value.
Definition: FlagSet.h:67
Urho3D::Frustum::IsInside
Intersection IsInside(const Sphere &sphere) const
Test if a sphere is inside, outside or intersects.
Definition: Frustum.h:95
Urho3D::Window::SetModal
void SetModal(bool modal)
Set modal flag. When the modal flag is set, the focused window needs to be dismissed first to allow o...
Definition: Window.cpp:280
Urho3D::Terrain::GetZoneMask
unsigned GetZoneMask() const
Return zone mask.
Definition: Terrain.h:178
Urho3D::Connection::SetIdentity
void SetIdentity(const VariantMap &identity)
Assign identity. Called by Network.
Definition: Connection.cpp:220
Urho3D::BoundingBox::IsInside
Intersection IsInside(const BoundingBox &box) const
Test if another bounding box is inside, outside or intersects.
Definition: BoundingBox.h:290
Urho3D::Octree::numLevels_
unsigned numLevels_
Subdivision level.
Definition: Octree.h:216
Urho3D::AttributeHandle::attributeInfo_
AttributeInfo * attributeInfo_
Attribute info.
Definition: Attribute.h:129
Urho3D::TypeInfo
Type info.
Definition: Object.h:38
Urho3D::UIElement::IsSelected
bool IsSelected() const
Return whether is selected. Actual meaning is element dependent.
Definition: UIElement.h:520
Urho3D::AnimatedModel::morphElementMask_
VertexMaskFlags morphElementMask_
Morph vertex element mask.
Definition: AnimatedModel.h:235
Urho3D::Color::Color
Color(const float *data) noexcept
Construct from a float array.
Definition: Color.h:93
Urho3D::FrameBufferObject
Cached state of a frame buffer object.
Definition: OGLGraphicsImpl.h:84
Urho3D::Connection::OnPackageDownloadFailed
void OnPackageDownloadFailed(const String &name)
Handle a package download failure on the client.
Definition: Connection.cpp:1585
Urho3D::Text::SetTextAttr
void SetTextAttr(const String &value)
Set text attribute.
Definition: Text.cpp:454
Urho3D::Round
T Round(T x)
Round value to nearest integer.
Definition: MathDefs.h:194
Urho3D::Log::GetTimeStamp
bool GetTimeStamp() const
Return whether log messages are timestamped.
Definition: Log.h:98
Urho3D::Variant::GetStringHash
StringHash GetStringHash() const
Return StringHash or zero on type mismatch.
Definition: Variant.h:1143
Urho3D::ResourceCache::GetReturnFailedResources
bool GetReturnFailedResources() const
Return whether resources that failed to load are returned.
Definition: ResourceCache.h:190
Urho3D::DebugRenderer::HasContent
bool HasContent() const
Return whether has something to render.
Definition: DebugRenderer.cpp:646
Urho3D::Console::historyPosition_
unsigned historyPosition_
Command history current position.
Definition: Console.h:170
Urho3D::Polyhedron::outFace_
PODVector< Vector3 > outFace_
Internal vector for the new face being constructed.
Definition: Polyhedron.h:118
Urho3D::IKSolver::JOINT_ROTATIONS
@ JOINT_ROTATIONS
Should be enabled if your model uses skinning or if you are generally interested in correct joint rot...
Definition: IKSolver.h:74
Urho3D::EventHandlerImpl::function_
HandlerFunctionPtr function_
Class-specific pointer to handler function.
Definition: Object.h:326
Urho3D::LineEdit::UpdateText
void UpdateText()
Update displayed text.
Definition: LineEdit.cpp:565
Urho3D::OffMeshConnection::OffMeshConnection
OffMeshConnection(Context *context)
Construct.
Definition: OffMeshConnection.cpp:41
Urho3D::Spline::AddKnot
void AddKnot(const Variant &knot)
Add a knot to the end of the spline.
Definition: Spline.cpp:118
Urho3D::ParticleEffect::GetRandomTimeToLive
float GetRandomTimeToLive() const
Return random timetolive.
Definition: ParticleEffect.cpp:806
Urho3D::Graphics::SetDepthStencil
void SetDepthStencil(RenderSurface *depthStencil)
Set depth-stencil surface.
Definition: OGLGraphics.cpp:1676
Urho3D::AttributeInfo::AttributeInfo
AttributeInfo(VariantType type, const char *name, const SharedPtr< AttributeAccessor > &accessor, const char **enumNames, const Variant &defaultValue, AttributeModeFlags mode)
Construct attribute.
Definition: Attribute.h:78
Urho3D::Component
Base class for components. Components can be created to scene nodes.
Definition: Component.h:47
Urho3D::PListValue::SetFloat
void SetFloat(float value)
Set float.
Definition: PListFile.cpp:146
Urho3D::PODVector::Compact
void Compact()
Reallocate so that no extra memory is used.
Definition: Vector.h:1090
Urho3D::OffMeshConnection::SetMask
void SetMask(unsigned newMask)
Set a user assigned mask.
Definition: OffMeshConnection.cpp:101
Urho3D::Variant::GetVariantVector
const VariantVector & GetVariantVector() const
Return a variant vector or empty on type mismatch.
Definition: Variant.h:1232
Urho3D::UIElement::SetSize
void SetSize(const IntVector2 &size)
Set size.
Definition: UIElement.cpp:548
Urho3D::IKEffector::SetWeight
void SetWeight(float weight)
Sets how much influence the effector has on the solution.
Definition: IKEffector.cpp:175
Urho3D::Variant::Variant
Variant(void *value)
Construct from a pointer.
Definition: Variant.h:433
Urho3D::ResourceCache
Resource cache subsystem. Loads resources on demand and stores them for later access.
Definition: ResourceCache.h:83
Urho3D::UIBatch::color_
unsigned color_
Current color. By default calculated from the element.
Definition: UIBatch.h:93
Urho3D::Drawable::DrawOcclusion
virtual bool DrawOcclusion(OcclusionBuffer *buffer)
Draw to occlusion buffer. Return true if did not run out of triangles.
Definition: Drawable.cpp:162
Urho3D::AnimatedSprite2D::animationName_
String animationName_
Animation name.
Definition: AnimatedSprite2D.h:134
Urho3D::Vector::Insert
void Insert(unsigned pos, const T &value)
Insert an element at position.
Definition: Vector.h:286
Urho3D::WeakPtr::operator=
WeakPtr< T > & operator=(const SharedPtr< T > &rhs)
Assign from a shared pointer.
Definition: Ptr.h:328
Urho3D::HttpRequestState
HttpRequestState
HTTP connection state.
Definition: HttpRequest.h:37
Urho3D::Connection::GetPort
unsigned short GetPort() const
Return remote port.
Definition: Connection.h:213
Urho3D::LuaFile::data_
SharedArrayPtr< char > data_
File data.
Definition: LuaFile.h:60
Urho3D::PhysicsWorld::ConvexCast
void ConvexCast(PhysicsRaycastResult &result, CollisionShape *shape, const Vector3 &startPos, const Quaternion &startRot, const Vector3 &endPos, const Quaternion &endRot, unsigned collisionMask=M_MAX_UNSIGNED)
Perform a physics world swept convex test using a user-supplied collision shape and return the first ...
Definition: PhysicsWorld.cpp:520
Urho3D::TileMapLayer2D::GetNumObjects
unsigned GetNumObjects() const
Return number of tile map objects (for object group only).
Definition: TileMapLayer2D.cpp:303
Urho3D::ScrollView::touchScrollSpeedMax_
Vector2 touchScrollSpeedMax_
Max touch scroll speed.
Definition: ScrollView.h:167
Urho3D::RaycastVehicle::SetMaxSuspensionTravel
void SetMaxSuspensionTravel(int wheel, float maxSuspensionTravel)
Set maximum suspension travel value.
Definition: RaycastVehicle.cpp:606
Urho3D::Constraint::highLimit_
Vector2 highLimit_
High limit.
Definition: Constraint.h:191
Urho3D::PhysicsWorld::physicsCollisionData_
VariantMap physicsCollisionData_
Preallocated event data map for physics collision events.
Definition: PhysicsWorld.h:334
Urho3D::ScriptFile::EndLoad
bool EndLoad() override
Finish resource loading. Always called from the main thread. Return true if successful.
Definition: ScriptFile.cpp:151
Urho3D::TileMap2D::SetTmxFile
void SetTmxFile(TmxFile2D *tmxFile)
Set tmx file.
Definition: TileMap2D.cpp:116
Urho3D::Renderer::GetHDRRendering
bool GetHDRRendering() const
Return whether HDR rendering is enabled.
Definition: Renderer.h:268
Urho3D::TextureCube::GetRenderSurface
RenderSurface * GetRenderSurface(CubeMapFace face) const
Return render surface for one face.
Definition: TextureCube.h:74
Urho3D::DecalSet::~DecalSet
~DecalSet() override
Destruct.
Urho3D::CrowdAgent::SetMaxSpeed
void SetMaxSpeed(float maxSpeed)
Set the agent's max velocity.
Definition: CrowdAgent.cpp:389
Urho3D::Graphics::window_
SDL_Window * window_
SDL window.
Definition: Graphics.h:712
Urho3D::AttributeInfo::metadata_
VariantMap metadata_
Attribute metadata.
Definition: Attribute.h:114
Urho3D::Console::SetNumBufferedRows
void SetNumBufferedRows(unsigned rows)
Set number of buffered rows.
Definition: Console.cpp:192
Urho3D::Context::GetGlobalVar
const Variant & GetGlobalVar(StringHash key) const
Return global variable based on key.
Definition: Context.cpp:363
Urho3D::FileSelector::GetDefaultStyle
XMLFile * GetDefaultStyle() const
Return the UI style file.
Definition: FileSelector.cpp:251
Urho3D::Scene::GetNode
Node * GetNode(unsigned id) const
Return node from the whole scene by ID, or null if not found.
Definition: Scene.cpp:706
Urho3D::ConstraintGear2D::ownerConstraint_
WeakPtr< Constraint2D > ownerConstraint_
Owner body constraint.
Definition: ConstraintGear2D.h:66
Urho3D::ParticleEffect::rotationSpeedMax_
float rotationSpeedMax_
Particle rotation speed maximum.
Definition: ParticleEffect.h:413
Urho3D::Renderer::LoadShaders
void LoadShaders()
Reload shaders.
Definition: Renderer.cpp:1616
Urho3D::Component::GetFixedUpdateSource
Component * GetFixedUpdateSource()
Return a component from the scene root that sends out fixed update events (either PhysicsWorld or Phy...
Definition: Component.cpp:290
Urho3D::Skeleton
Hierarchical collection of bones.
Definition: Skeleton.h:86
Urho3D::CollisionEdge2D::edgeShape_
b2EdgeShape edgeShape_
Edge shape.
Definition: CollisionEdge2D.h:63
Urho3D::Ray::direction_
Vector3 direction_
Ray direction.
Definition: Ray.h:112
Urho3D::Material::RefreshShaderParameterHash
void RefreshShaderParameterHash()
Recalculate shader parameter hash.
Definition: Material.cpp:1285
Urho3D::Text3D::SetEffectColor
void SetEffectColor(const Color &effectColor)
Set effect color.
Definition: Text3D.cpp:298
Urho3D::Menu::showPopup_
bool showPopup_
Show popup flag.
Definition: Menu.h:94
Urho3D::Slider::GetRepeatRate
float GetRepeatRate() const
Return paging minimum repeat rate (number of events per second).
Definition: Slider.h:91
Urho3D::ConstraintDistance2D::GetFrequencyHz
float GetFrequencyHz() const
Return frequency Hz.
Definition: ConstraintDistance2D.h:61
Urho3D::ParticleEffect2D::SetStartParticleSizeVariance
void SetStartParticleSizeVariance(float startParticleSizeVariance)
Set start particle size variance.
Definition: ParticleEffect2D.cpp:394
Urho3D::Constraint2D::physicsWorld_
WeakPtr< PhysicsWorld2D > physicsWorld_
Physics world.
Definition: Constraint2D.h:94
Urho3D::ProgressBar::GetValue
float GetValue() const
Return ProgressBar current value.
Definition: ProgressBar.h:69
Urho3D::IntVector2::IntVector2
IntVector2() noexcept
Construct a zero vector.
Definition: Vector2.h:36
Urho3D::RigidBody::SetCollisionLayer
void SetCollisionLayer(unsigned layer)
Set collision layer.
Definition: RigidBody.cpp:479
Urho3D::Texture2D::SetData
bool SetData(unsigned level, int x, int y, int width, int height, const void *data)
Set data either partially or fully on a mip level. Return true if successful.
Definition: OGLTexture2D.cpp:105
Urho3D::Navigable::Navigable
Navigable(Context *context)
Construct.
Definition: Navigable.cpp:35
Urho3D::DirtyBits
Dirty attribute bits structure for network replication.
Definition: ReplicationState.h:49
Urho3D::FileSelector::GetFileList
ListView * GetFileList() const
Return file list.
Definition: FileSelector.h:90
Urho3D::Node::scene_
Scene * scene_
Scene (root node).
Definition: Node.h:685
Urho3D::Color::CYAN
static const Color CYAN
Opaque cyan color.
Definition: Color.h:277
Urho3D::Vector3::Vector3
Vector3(float x, float y) noexcept
Construct from two-dimensional coordinates (for Urho2D).
Definition: Vector3.h:231
Urho3D::Graphics::windowTitle_
String windowTitle_
Window title.
Definition: Graphics.h:714
Urho3D::HashMap::EraseNode
Node * EraseNode(Node *node)
Erase a node from the list. Return pointer to the next element, or to the end if could not erase.
Definition: HashMap.h:720
Urho3D::Deserializer::~Deserializer
virtual ~Deserializer()
Destruct.
Urho3D::Input::lastMouseMode_
MouseMode lastMouseMode_
The last mouse mode set by SetMouseMode.
Definition: Input.h:412
Urho3D::Text::shadowOffset_
IntVector2 shadowOffset_
Text effect shadow offset.
Definition: Text.h:241
Urho3D::NodeReplicationState::dirtyAttributes_
DirtyBits dirtyAttributes_
Dirty attribute bits.
Definition: ReplicationState.h:163
Urho3D::NavigationMesh::GetTileBoundingBox
BoundingBox GetTileBoundingBox(const IntVector2 &tile) const
Return bounding box of the tile in the node space.
Definition: NavigationMesh.cpp:544
Urho3D::RaycastVehicle::SetWheelRadius
void SetWheelRadius(int wheel, float wheelRadius)
Set wheel radius.
Definition: RaycastVehicle.cpp:555
Urho3D::PhysicsWorld2D::IsUpdateEnabled
bool IsUpdateEnabled() const
Return whether physics world will automatically simulate during scene update.
Definition: PhysicsWorld2D.h:162
Urho3D::Constraint2D::attachedConstraint_
WeakPtr< Constraint2D > attachedConstraint_
Attached constraint.
Definition: Constraint2D.h:108
Urho3D::ConstantBuffer::shadowData_
SharedArrayPtr< unsigned char > shadowData_
Shadow data.
Definition: ConstantBuffer.h:66
Urho3D::Animation::BeginLoad
bool BeginLoad(Deserializer &source) override
Load resource from stream. May be called from a worker thread. Return true if successful.
Definition: Animation.cpp:127
Urho3D::CollisionPolygon2D::GetVerticesAttr
PODVector< unsigned char > GetVerticesAttr() const
Return vertices attribute.
Definition: CollisionPolygon2D.cpp:96
Urho3D::ScrollView::pageStep_
float pageStep_
Arrow key page step.
Definition: ScrollView.h:169
Urho3D::Renderer::SetMaxOccluderTriangles
void SetMaxOccluderTriangles(int triangles)
Set maximum number of occluder triangles.
Definition: Renderer.cpp:486